# npmguard

> Use this tool when you need to protect your project from malicious npm packages and ensure safe installation. npmguard acts as a pre-install risk gate, preventing AI coding agents from running harmful or lifecycle scripts. It provides a secure interface for package installation, taking in package inputs and outputting verified, safe-to-use packages.

Canonical page: https://skillsregistry.net/skills/ayoubtadlaoui-npmguard  
JSON: https://api.skillsregistry.net/v1/skills/ayoubtadlaoui-npmguard

## Description

Pre-install risk gate for npm packages.
Stops AI coding agents from running malicious or lifecycle scripts run.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/vf37wvzw9l)
- **Repository:** <https://github.com/AyoubTadlaoui/npmguard>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ayoubtadlaoui-npmguard"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ayoubtadlaoui-npmguard` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ayoubtadlaoui-npmguard/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
