Security audit
Run a Windows supply-chain security audit across npm, pip, pnpm, and editor extensions. Use when the user asks for a supply-chain audit of npm, pip, pnpm packages or editor extensions on Windows.From its SKILL.md
npx -y skills add VJDiPaola/skill-forge --skill security-auditAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, 800 tokens by cl100k_base, as published. Nobody here has run it
Perform a comprehensive supply chain security audit on this Windows machine. Work through all phases and produce a severity-ranked markdown report saved to ~/security-audit-YYYY-MM-DD.md (using today's date).
Phase 1: Software Inventory
Collect and list:
- Globally installed npm packages:
npm ls -g --depth=0 - pip packages:
pip list - pnpm globals:
pnpm ls -g --depth=0 - yarn globals:
yarn global list(if installed) - VS Code extensions:
code --list-extensions - Cursor extensions:
cursor --list-extensions - Node, Python, npm, pnpm, pip versions
Phase 1b: Vulnerability Scanning
Run automated vulnerability scanners and include results in the report:
npm audit signatures— verify provenance of installed npm packagesnpm audit— check for known vulnerabilities in global packagespip-audit— scan pip packages for known CVEs (install withpip install pip-auditif missing)gh auth status— verify GitHub token scopes are minimal (flag ifadmin:org,delete_repo, or other overly broad scopes are present)
Phase 2: Known-Bad Package Check
Search the web for current IOC lists and cross-reference installed packages against:
- Shai-Hulud npm worm and its variants (check Datadog IOC repo, CISA alerts)
- Recent PyPI supply chain attacks (TeamPCP/litellm, typosquats)
- Compromised VS Code/Cursor extensions
- Axios supply chain attack versions
- Typosquat patterns for popular packages
Check specifically for:
setup_bun.jsorbun_environment.jsin npm global node_modules (Shai-Hulud IOC)- Suspicious preinstall/postinstall scripts in global packages
- TeamPCP persistence files:
~/.config/sysmon/sysmon.py,~/.config/systemd/user/sysmon.service,tpcp.tar.gz - Malicious
.pthfiles in Python site-packages (inspect contents for obfuscated code)
Phase 3: Secret Exposure
Check for credential files (report existence only, NEVER print secret values):
~/.npmrc(check for auth tokens)~/.aws/credentials~/.git-credentials~/.env.envfiles in project directories under~/Project_Codespaces(max depth 3)
For each .env found:
- List the key names (not values)
- Check if the file is in
.gitignore - Check if it was ever committed to git history:
git log --all --diff-filter=A --name-only --format="" -- .env
Check git config:
git config --global --listfor suspicious entriesgit config --global core.hooksPathfor custom hook paths
Phase 4: Persistence Mechanisms
Enumerate and assess:
- Scheduled tasks:
Get-ScheduledTask— flag any non-Microsoft, non-standard-vendor tasks - Startup entries:
Get-CimInstance Win32_StartupCommand - Recently modified files (last 90 days) in
%APPDATA%\npmand%LOCALAPPDATA%\Programs
Phase 5: Report Generation
Compile all findings into a markdown report at ~/security-audit-YYYY-MM-DD.md:
- Executive summary (1-2 sentences)
- Severity-ranked findings: Critical / High / Medium / Info
- For each Critical or High finding, provide the exact remediation command
- Software inventory table
- Secret exposure summary table
- Persistence assessment table
- Threat intelligence references with links to sources consulted
- Recommendations summary ranked by priority
What ships with it: 1 file
241 B alongside SKILL.md
- catalog.yaml241 B