Browser extension (for everyone)
Marks look-alike, unregistered and newborn links in mail, messages and any page, and AI-invented packages in ChatGPT, Claude and Gemini answers. Stops the click or the copy with the real site or package.
1. Download https://github.com/Jeonsubb/banshee
2. chrome://extensions → Developer mode
3. Load unpacked → select the extension/ folder
extension/ on GitHub · only domain and package names leave your browser.
Kiro Power
Kiro → Powers → Add Custom Power → Import power from GitHub:
https://github.com/Jeonsubb/banshee/tree/main/power/banshee
Adds the inspect_packages / scan_text MCP tools and a dependency-safety skill. Activates when you talk about installs, dependencies, npm or pip.
Hook: .kiro/hooks/banshee-guard.json
{
"version": "v1",
"hooks": [
{ "name": "Banshee guard: shell installs",
"trigger": "PreToolUse", "matcher": "shell", "timeout": 30,
"action": { "type": "command",
"command": "npx -y github:Jeonsubb/banshee#v0.4.0 hook" } },
{ "name": "Banshee guard: manifest edits",
"trigger": "PreToolUse", "matcher": "write", "timeout": 30,
"action": { "type": "command",
"command": "npx -y github:Jeonsubb/banshee#v0.4.0 hook" } }
]
}
Exit code 2 blocks the tool call; the agent receives the reason and the real package.
MCP (any agent)
{
"mcpServers": {
"banshee": {
"command": "npx",
"args": ["-y", "github:Jeonsubb/banshee#v0.4.0", "mcp"]
}
}
}
CLI
npx -y github:Jeonsubb/banshee check "pip install huggingface-cli"
npx -y github:Jeonsubb/banshee scan package.json
npx -y github:Jeonsubb/banshee watch # → http://127.0.0.1:4666
How it decides
Verdicts come from registry responses and public datasets, never from an LLM. The guard cannot hallucinate.
- ALIVE
- On the registry and established (top 15,000 PyPI / 17,338 npm, or clean signals). Allowed silently.
- RESTLESS
- Exists, but one weak signal: new, obscure, deprecated, or a lookalike. Allowed with a warning.
- UNKNOWN
- Registry unreachable or private index. Fails open by default and says so.
- POSSESSED
- Exists, but it is a known slopsquat, a placeholder, or a new obscure lookalike. Blocked, with the real package.
- PHANTOM
- The registry returns 404. The name was invented. Blocked, with the closest real package.
Evidence
- 19.7% of 2.23M package references in 576,000 generated code samples pointed to packages that do not exist; 205,474 unique invented names. Spracklen et al., USENIX Security 2025
- 3.6–5.0% of package mentions are still invented by 2026 frontier models. arXiv 2605.17062
- 35.2% of installs of registered hallucinated npm names came from developers; the whole campaign cost about $496. ACM TOSEM 2026
- 30,000+ downloads in three months for an empty package named
huggingface-cli, a name LLMs kept inventing; an Alibaba README told users to install it. Lasso Security
- 237 repositories picked up the invented
react-codeshift through AI-generated agent skills; agents installed it themselves. Cloud Security Alliance