SkillGuard is used to detect malicious code before installing third-party Claude Code skills, plugins, or MCP servers. It only performs static analysis: it pulls code via git clone (with hooks disabled) and reads files, never runs npm install, never executes build/postinstall scripts, and never runs the target code, so scanning a malicious package will not harm the local machine.
The common payloads it mainly detects include: exfiltration of environment variables or secrets (such as ANTHROPIC_API_KEY, AWS_SECRET_ACCESS_KEY, ~/.env being sent to a webhook); install-time shell hooks (postinstall) executing code during npm install; prompt injection in tool descriptions or SKILL.md (such as "ignore previous instructions", "do not tell the user", "always auto-approve"); submitted binaries and obfuscated eval(atob(...)) or curl | bash payloads; and configurations that auto-approve everything or skip permissions.
Usage: it runs with a single command, with no installation and no account required. Exit code 0 means clean, 2 means suspicious, and 3 means dangerous, and it can be used for CI gating. It can also be used as a GitHub Action to gate skill/MCP supply chain security in CI. It can also be used as an MCP server, exposing a tool scan_skill(target), where target is a local path or a git/GitHub URL, allowing the agent to review it itself before installation. If the scan result is clean, a Markdown badge can be generated to paste into the README.
Pricing: the CLI is free and MIT-licensed, and can be run freely. There is also a one-time deep audit ($29) and a monitoring mode ($12/month), the latter of which rescans and alerts on every upstream release of the dependent skills and MCP servers.
Limitations: heuristic rules can only catch known bad patterns, and carefully crafted novel attacks may bypass any static scanner. SkillGuard is a fast first line of defense, not a guarantee, and code from untrusted authors should still be reviewed.