Features · Built-in safety check · since 1.0
A safety check for AI agent skills, plugins and MCP servers
Every skill, subagent, command and connection is checked before it reaches your agent. Plugins are checked right after their agent downloads them.
- Prompt injection
- Hidden text
- Download-and-run
- Credential theft
- Known malicious packages
- Tool poisoning
What does it look for?
Things that actually show up in agent add-ons: hidden instructions in invisible Unicode, prompt injection (“ignore all previous instructions”), scripts that download and run code, reverse shells, encoded payloads (including powershell -enc), reading credential files and sending data out, permission bypasses like --dangerously-skip-permissions, persistence and destructive commands.
Plugin hooks are checked one by one, because they run without asking. MCP tool descriptions the agent received are checked for injection, and their fingerprints are pinned, so a server that changes its tools after you started using it gets noticed.
Known malicious packages
Calyban downloads a signature list built from OpenSSF Malicious Packages: about 222,000 npm and 12,000 PyPI packages that are malicious in every version, plus the exact bad releases of about 2,400 real packages that were hijacked (the Shai-Hulud worm, for example). Launching one of those is flagged as high risk. Lookalike names, one typo away from a popular package, are flagged too.
Context matters
A download-and-run line in a skill’s instructions is dangerous. The same line quoted in a test file usually isn’t. Calyban weighs each finding by where it was found (instructions, hooks, code, docs, tests), which is how it stopped calling the Ponytail skill high risk without loosening any rule for files the agent actually reads or runs.
Reviewed, with a fingerprint
If you’ve looked at a finding and you’re fine with it, mark it Reviewed. The mark is tied to a fingerprint of exactly those files; change one byte and the flag comes back.
Where it runs
On your computer, before anything is written. Nothing is uploaded anywhere. Plugins are downloaded by Claude Code and Codex themselves, so Calyban checks them the moment they land, before your next session can load them.
Under the hood
- Rule engine: pattern rules run per line (long minified lines are scanned in 20,000-character chunks), then each finding is re-weighted by the file’s role: instructions, hook, code, docs, test or asset.
- Review marks are bound to a SHA-256 digest of the checked files or launch line, so a changed byte invalidates the mark.
- Rug-pull detection: tool descriptions are fingerprinted per server and pinned; a changed fingerprint raises a note.
- Typosquats: package names are compared with Damerau-Levenshtein distance 1 against popular catalog packages, after folding confusable characters.
- Signatures: OpenSSF Malicious Packages OSV records, split into whole-package entries and exact compromised versions. PyPI names are normalized per PEP 503. The feed is ETag-cached and works offline from the last good copy.
Questions
About Safety check
Does it replace my antivirus?
It works alongside it. Calyban's check is built for agent add-ons: 19 rules for the shapes attacks on agents take, plus about 234,000 known malicious npm and PyPI packages, with every finding explained in plain words. For anything that touches production or your keys, read it yourself too. That's good practice with any tool.
What happens when something is flagged as high risk?
The install stops and shows the reason and the file and line it came from. You can still choose Install anyway if you trust the author. That choice stays yours.
Does the safety check flag popular skills by mistake?
We downloaded and checked the 60 most-starred skills in the catalog: 50 came back clean, 10 had notes only, and none were flagged medium or high.
Further reading
From the dev blog
- What's new in Calyban's safety check in 1.3, and how we tested itCalyban 1.3 weighs findings by file role, checks plugin hooks and MCP tool descriptions, flags lookalike and known malicious packages. Plus the tests we ran.
- Tool poisoning and rug pulls in MCP servers, and how to catch themAn MCP server's tool descriptions go straight into your agent's context. How poisoned descriptions and changed-after-install tools work, and how Calyban checks for both.
- Typosquatted MCP packages: catching lookalike names before npx runs themA one-letter typo in an MCP launch line can run someone else's package with your permissions. How lookalike names work, and how Calyban flags them before install.
- Claude Code plugin hooks run without asking. Here is how to check themPlugin hooks run shell commands on events like every file edit, with no prompt. What a hook can do, how to read a plugin's hooks.json, and how Calyban checks each one.
- How Calyban checks MCP launch packages against known malwareMost MCP servers start with npx or uvx, which downloads and runs a package. How Calyban checks those packages against OpenSSF data, and how it avoids false alarms.
- Calyban vs. setting up AI agents by hand: what we measuredWe installed one MCP server into five agents, scanned the 60 most-starred skills and ran eight attack samples, with and without Calyban. The numbers.
- What Calyban's safety check looks for: all 19 rulesAll 19 rules Calyban's scanner checks before a skill, subagent or MCP server reaches your agent, how it decides to block, and how its layers fit together.
- Are Claude Code skills and plugins safe? How to check before you installSkills, plugins and MCP servers are instructions and code your agent trusts. The five real risks, what each looks like, and a five-minute check before you install.