Supply chain

From thejefflarson/soundcheck · View interactive version

Supply chain is an AI agent skill from the GitHub repository thejefflarson/soundcheck. Detects supply-chain risks in dependency manifests, lockfiles, install commands, and CI pipelines — missing lockfiles, absent vulnerability scanners, unverified installs, install hooks that pipe remote content to a shell, and AI-hallucinated package names. Use when writing package install commands,

How to use this skill

Skill file

Supply Chain Security Check (A03:2025)

What this checks

Most exploited supply-chain incidents come from not updating fast enough (sitting

on known-CVE versions) and from unverified installs (curl-to-shell, typosquats,

install hooks). Aggressive exact-pinning is no longer the right default — it traps

you on vulnerable releases. Lockfiles + scanners + auto-merge of patches is.

Auto-merging dependency-update PRs (Dependabot, Renovate) that clear CI — tests plus

a vulnerability scanner — is the recommended posture for patch and minor bumps, not a

finding. Do not report it as a risk. The reportable condition is the absence of that

automation, which leaves known-CVE versions sitting unmerged.

Vulnerable patterns

Fix immediately

Flag the issue, explain the risk, and suggest a fix. Translate to the package

manager and CI system of the audited file.

  1. Direct dependencies use a range that accepts patches and minors automatically (npm caret, Python ~=, Ruby ~>, Cargo's default caret). Patches are nearly always security fixes; an exact pin means a CVE sits in your build until someone clicks "bump." Exact pins only for documented known-incompatibility cases.
  2. A lockfile is committed that records resolved transitive versions with content hashes. Reproducibility lives here, not in the manifest.
  3. CI installs with a frozen-lockfile command that fails on lockfile-manifest drift.
  4. A dependency-update bot runs on a schedule (Renovate, Dependabot), opens PRs for patches and minors, and auto-merges after tests + scanner pass. This is how patches reach production fast enough to matter.
  5. A vulnerability scanner runs in CI and fails the build on high-severity findings. Advisory-only scanners do not gate.
  6. No install hook, build script, or CI step pipes remote content into a shell.
  7. AI-suggested or unrecognized package names are verified in the registry before install — slopsquatted typosquats are a growing vector in AI-generated manifests.

Verification

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.