← All skills
detecting-malicious-npm-packages
77 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By adriannoes/awesome-agentic-ai (GitHub) · coding · 99 stars · scanned at commit e797ed5
Triage npm packages for install-script malware, exfiltration, and worming behavior.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 4 places.
Show 1 more
Runs commands on your computer
The author does not mention this. Expected for a coding skill.
Found in 16 places.
Show 13 more
- cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 97
guarddog npm scan express - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 110
guarddog npm verify /path/to/repo/package.json - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 116
guarddog npm scan some-pkg \ - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 129
guarddog npm scan some-pkg --output-format=json > guarddog.json - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 137
jq '.scripts' package/package.json - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 140
grep -rEn "child_process|exec\(|spawn|eval\(|Buffer\.from\(.*base64|process\.env|https?://" package/ \ - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 148
jq -r '.packages | to_entries[] | select(.key|startswith("node_modules/")) | "\(.key|ltrimstr("node_modules/"))@\(.value.version)"' package-lock.json - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 158
npm install ./some-pkg.tgz # scripts WILL run — sandbox only - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 166
grep -rhoE "https?://[a-zA-Z0-9./?=_%:-]+" package/ | sort -u > urls.txt - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/SKILL.md, line 173
python scripts/agent.py --package some-pkg --version 1.2.3 --output verdict.json - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/scripts/agent.py, line 25
r"child_process|\bexec\s*\(|\bspawn\b|\beval\s*\(|Buffer\.from\([^)]*base64|process\.env", - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/scripts/agent.py, line 41
p = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout) - cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages/scripts/agent.py, line 45
except subprocess.SubprocessError as exc:
Connects to the internet
This is disclosed by the author in the skill's SKILL.md or README.
Found in 3 places.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
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/adriannoes/awesome-agentic-ai' "$d" && git -C "$d" checkout --quiet 'e797ed58cfe6dd6453fe7632f89d7226d203f6f6' -- 'cursor-claude-codex/skills/anthropic-cybersecurity-skills/skills/detecting-malicious-npm-packages' && mkdir -p ~/.agents/skills && cp -R "$d"/'cursor-claude-codex/skills/anthropic-cybersecurity-skills/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
The badge for adriannoes/awesome-agentic-ai shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/adriannoes/awesome-agentic-ai/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | e797ed5 | 100 |