detecting-malicious-npm-packages
77 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a security skill usually runs scanners and checks websites.
Triage npm packages and lockfiles for install-script malware, credential exfiltration, and worming behavior using GuardDog, manual tarball inspection, and dynamic detonation with network/filesystem monitoring. Use when vetting a new dependency, reviewing a package.json/package-lock.json during code review, checking lockfiles against a supply-chain advisory's known-bad versions, or investigating a host suspected of installing a trojanized package.
What this skill can do
Downloads and installs other software
Runs commands on your computer
Connects to the internet
Safer alternatives
- 85 Low riskmalicious-skill-supply-chain
- 95 Low risknpm-vulnerability-scanning
- 95 Low risknpm-dependency-audit
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'detecting-malicious-npm-packages' ] || [ -L ~/.agents/skills/'detecting-malicious-npm-packages' ]; then echo 'A skill folder named detecting-malicious-npm-packages already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/mukul975/Anthropic-Cybersecurity-Skills' "$d" && git -C "$d" checkout --quiet '54a798831d2266a3ca61ce68a7acb80b81160d57' -- 'skills/detecting-malicious-npm-packages' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/detecting-malicious-npm-packages' ~/.agents/skills/'detecting-malicious-npm-packages' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'detecting-malicious-npm-packages' ~/.claude/skills/'detecting-malicious-npm-packages' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/mukul975/Anthropic-Cybersecurity-Skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 54a7988 | 77 |
| 2026-11-07 | 54a7988 | 67 |