# io.github.Baneado98/import-guardian

> Use this tool when you need to detect and prevent AI-hallucinated npm imports in generated code. It solves the problem of slopsquatted dependencies by catching them before running npm install, ensuring code integrity and security. This tool takes generated code as input and outputs a report of potential hallucinated imports, helping developers identify and fix issues early in the development process.

Canonical page: https://skillsregistry.net/skills/io-github-baneado98-import-guardian  
JSON: https://api.skillsregistry.net/v1/skills/io-github-baneado98-import-guardian

## Description

Catch AI-hallucinated (slopsquatted) npm imports in generated code before npm install.

## Trust

- **Trust score (0–1):** 0.30
- **Verification tier:** unverified
- **Last scanned:** 2026-09-03

## Facts

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

## Source

- **Source listing:** [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/io.github.Baneado98%2Fimport-guardian)
- **Repository:** <https://github.com/Baneado98/import-guardian>

## 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": "io-github-baneado98-import-guardian"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/io-github-baneado98-import-guardian` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/io-github-baneado98-import-guardian/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
