auditing-supply-chain

auditing-supply-chain is a skill for Claude Code from trilwu/secskills. It costs 74 tokens per session (3,160 once invoked), scanned B, original, MIT.

A guide for checking risks in the software a project depends on and in the systems that build and release it. This includes third-party packages, transitive dependencies brought in indirectly, lockfiles, software bills of materials, and CI/CD pipelines such as GitHub Actions.

In plain words
What is it for?
Use it to review dependencies, investigate suspicious packages, assess build and release automation, create or inspect an SBOM, improve artifact origin tracking, and respond to an upstream compromise.
Why use it?
It helps find ways that untrusted package code or an unsafe build step could reach released software, signing keys, or deployment credentials. It also keeps known vulnerable packages separate from deliberately malicious ones.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the secskills-core plugin — 30 skills shipped together

Good fit Use it to review dependencies, investigate suspicious packages, assess build and release automation, create or inspect an SBOM, improve artifact origin tracking, and respond to an upstream compromise.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trilwu/secskills/auditing-supply-chain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add trilwu/secskills --skill auditing-supply-chain
Clone the repo
git clone --depth 1 https://github.com/trilwu/secskills

Made for: Claude Code.

Or install secskills-core, the plugin that ships this one along with the rest of its 30 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auditing-supply-chain

README.md
[![agentmods](https://agentmods.dev/badge/skills/trilwu/secskills/auditing-supply-chain/github.svg)](https://agentmods.dev/skills/trilwu/secskills/auditing-supply-chain)
Your own site
<a href="https://agentmods.dev/skills/trilwu/secskills/auditing-supply-chain"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/auditing-supply-chain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auditing-supply-chain

Your own site · 80×15
<a href="https://agentmods.dev/skills/trilwu/secskills/auditing-supply-chain"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/auditing-supply-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,160 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 80
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 105
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 80
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Prompt Injection · line 242
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.03160
Opus 5.5 $0.00030 $0.01264
Sonnet 5.5 $0.00015 $0.00632
Haiku 4.5 $0.00007 $0.00316

Measured 3mo ago against content hash 7cf8db36764d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

auditing-supply-chain scanned grade B with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

| Environment and credential access | Reads of `~/.aws`, `.npmrc`, `.git-credentials`, `process.env` dumps |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

rg -n 'os\.system|subprocess|urllib|requests|__import__|exec\(' <pkg>/setup.py

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

npm pack <pkg> && tar -xzf <pkg>.tgz && rg -n 'child_process|eval\(|Buffer\.from\(.*base64|https?://' package/
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

secskills-core/skills/auditing-supply-chain/SKILL.md · 301 lines

How it starts

The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auditing Supply Chain

Your build pipeline runs more untrusted code than your application does. A single unpinned action, a postinstall script, or a workflow with a writable token is a path from a stranger's commit to your production artifacts and your signing keys.

When to Use

  • Assessing risk from third-party dependencies in an application
  • Reviewing CI/CD pipelines, GitHub Actions, and release automation
  • Investigating a suspicious or malicious package
  • Producing or reviewing an SBOM
  • Hardening build provenance and artifact signing
  • Responding to a disclosed upstream compromise

When NOT to Use

  • Vulnerabilities in first-party code — use auditing-code-for-vulnerabilities
  • Model and dataset provenance — use securing-ai-systems
  • Cloud infrastructure posture generally — use exploiting-cloud-platforms for offensive assessment
  • An in-progress compromise — use responding-to-incidents
  • Prioritizing which of many dependency CVEs to fix first — use managing-vulnerabilities; reachability analysis here feeds its ranking

Two Different Risks

Keep them separate; they need different responses.

Known-vulnerable dependency Malicious dependency
Detection CVE databases, npm audit, osv-scanner Behavioural review, install scripts, publisher anomalies
Signal Loud and well-tooled Quiet; scanners usually miss it
Response Patch, or justify the risk Incident — assume credentials on the build host are burned
Time pressure Days to weeks Hours

Most programs handle the first and are blind to the second. Give the second explicit attention.

Dependency Review

# Known vulnerabilities, ecosystem-agnostic
osv-scanner --lockfile=package-lock.json --lockfile=go.sum --lockfile=Cargo.lock
trivy fs --scanners vuln,secret,misconfig .
grype dir:.

# Ecosystem-native
npm audit --omit=dev && npm ls --all --depth=99 | wc -l   # count transitives
pip-audit -r requirements.txt
cargo audit
govulncheck ./...    # reachability-aware: only reports vulns you actually call
mvn dependency-check:check

Read the full file on GitHub · 301 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 301 lines · 74 tokens per session scan B 7cf8db36764d

Subscribe to this mod's changes

auditing-supply-chain is a skill published in the GitHub repository trilwu/secskills (211 stars, last pushed 2mo ago), licensed MIT. It adds 74 tokens to every session and 3,160 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 3 findings (reaches for credential files, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

auditing-supply-chain compared with skills from other repositories

auditing-supply-chain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditing-supply-chaintrilwu/secskillsSkill2112mo agoMITB74Claude Code
ci-cd-and-automationaddyosmani/agent-skillsSkill121k6d agoMITA45Claude Code
google-cloud-slo-alert-configurationgoogle/skillsSkill25ktodayApache-2.0A65Claude Code, Codex
google-cicd-pipeline-designgoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.6k14d agoMITA69Claude Code
afrexai-performance-engineeringLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA71Claude Code, Codex
schedule-recipemohitagw15856/pm-claude-skillsSkill1.6kyesterdayMITA94Claude Code