MITupdated 2mo ago
Static security analysis for Claude Code plugins and package trees. This is a supporting tool for preliminary checks — it does not guarantee safety; always review source manually before installing untrusted plugins.
What can you do with Plugin Security Checker?
name: plugin-security-checker description: Use this skill to scan a Claude Code plugin (or any npm/PyPI package tree) for security issues before installation. Detects dangerous functions, code obfuscation, hardcoded credentials, schema problems, and known 2024-2026 supply-chain attack IOCs (Shai-Hulud, Nx s1ngularity, chalk/debug clipper, Axios RAT, litellm/.pth), mapped to MITRE ATT&CK/ATLAS, CVE, and OWASP. license: MIT
Plugin Security Checker Skill
Static security analysis for Claude Code plugins and package trees. This is a supporting tool for preliminary checks — it does not guarantee safety; always review source manually before installing untrusted plugins.
Usage
# Scan a single plugin (the documented entry point)
python3 scripts/scan_plugin.py /path/to/plugin
# JSON output
python3 scripts/scan_plugin.py /path/to/plugin --output scan.json --format json
# Generate a report from results
python3 scripts/generate_report.py scan.json --format markdown --output report.md
What it checks
- Dangerous functions — Python (
eval/exec/os.system/subprocess shell=True) and JavaScript (eval/Function/innerHTML), from the canonicalreferences/dangerous_functions_expanded.json(63 Python + 18 JS patterns). - Obfuscation & credentials — base64/hex/char-code chains; hardcoded API keys/tokens.
- Schema & permissions —
plugin.jsonstructure, hooks, MCP server config. - Supply-chain IOCs — named 2024-2026 npm/PyPI campaigns from
references/supply_chain_iocs.json(verified against primary sources).
See agents/plugin-security-checker.md for the full
workflow and the IntelligentOrchestrator (consensus-voting) entry points.
Install
Add Plugin Security Checker to your client. Pick the one you use.
npx skills add diegocconsolini/ClaudeSkillCollectionInstalls every skill in the repository, then prompts for which to keep.
/plugin marketplace add diegocconsolini/ClaudeSkillCollectionAdds the repository as a plugin marketplace; install individual plugins with `/plugin install`.
git clone https://github.com/diegocconsolini/ClaudeSkillCollection
cp -r plugin-security-checker ~/.claude/skills/A skill is a plain directory. Copy it into `.claude/skills/` in a project or in your home directory.
Score
73 / 100
Good