supply-chain-guard
Skill by davila7
Scans npm, Python and CI/CD projects for known software supply chain attack indicators and guides remediation. Built for developers and teams that audit dependencies or harden pipelines. Threat data is dated March 31, 2026.
Install supply-chain-guard
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/security/supply-chain-guard ~/.claude/skills/supply-chain-guardRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/security/supply-chain-guard ~/.gemini/antigravity-cli/skills/supply-chain-guardAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Supply Chain Guard is an agent skill for detecting and remediating software supply chain attacks. It includes three scanners, one each for npm, Python and CI/CD pipelines, plus a runner script that runs them all. Each scanner checks for known compromised packages, malicious versions, filesystem indicators, network indicators, CI/CD misconfigurations and credential exposure.
The skill reports findings as CRITICAL or WARNING and gives remediation steps, such as pinning GitHub Actions to full commit SHAs and rotating credentials. Its threat data is dated March 31, 2026, and it covers campaigns such as TeamPCP and the axios npm hijack. It is aimed at developers and teams that audit dependencies, investigate suspected compromises or harden CI/CD pipelines.
Written from the project's SKILL.md and checked against it.
What it can do
- Full audit runnerRuns all scanners against a project with scan-all.sh.
- npm scannerChecks Node.js projects with scan-npm.sh for known compromised and malicious packages.
- Python scannerChecks Python projects with scan-python.sh for known compromised and malicious packages.
- CI/CD scannerAudits pipelines with scan-ci.sh for unpinned actions, risky triggers and exposed secrets.
- Filesystem and network IOC checksLooks for attacker persistence mechanisms and C2 domains or IPs in source code.
- Credential exposure checksFlags npm tokens, PyPI credentials and .env files.
- Remediation guidanceGives step-by-step actions for compromised packages, filesystem IOCs and CI/CD issues.
- Hardening recommendationsSuggests lockfiles, hash verification, disabled install scripts and scoped tokens.
What you need
- Bash
- A project with npm, Python, Rust or CI/CD files to scan
Try asking
- Run a full supply chain audit on this project and summarize the findings.
- Check my GitHub workflows for unpinned actions and risky pull_request_target triggers.
- Am I exposed to the axios npm hijack? Scan my package.json and lockfiles.
Good to know
- The scanners only detect items in the IOC database, which is dated March 31, 2026.
- The source lists scanners for npm, Python and CI/CD only, with no dedicated crates.io scanner.
- The source warns to verify the scanner itself is not compromised, citing the Trivy incident.
- The IOC database must be updated manually when new attacks are reported.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/security/supply-chain-guard/SKILL.md, cli-tool/components/skills/security/supply-chain-guard/scripts/scan-all.sh, cli-tool/components/skills/security/supply-chain-guard/scripts/scan-ci.sh, cli-tool/components/skills/security/supply-chain-guard/scripts/scan-npm.sh, cli-tool/components/skills/security/supply-chain-guard/scripts/scan-python.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/ioc-database.md6 KB -
scripts/scan-all.sh5 KB -
scripts/scan-ci.sh10 KB -
scripts/scan-npm.sh12 KB
Show all 6 files
-
scripts/scan-python.sh11 KB
Alternatives to supply-chain-guard
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
supply-chain-guard: common questions
What does the scanner exit code mean?
Each scanner exits with the number of issues found, so 0 means clean. Issues are labeled CRITICAL for known malicious packages or active IOCs, and WARNING for concerns that may not be an active compromise.
Which attacks does the threat data cover?
The source covers the TeamPCP campaign, the axios npm hijack, malicious Rust crates on crates.io and the Shai-Hulud npm worm. The IOC database is referenced in references/ioc-database.md.
What should I do if filesystem IOCs are found?
The source says to treat the system as fully compromised, remove persistence mechanisms, rotate every credential on the system and consider reimaging the machine.
How do I install supply-chain-guard?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supply-chain-guard free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supply-chain-guard safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supply-chain-guard?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
