dependency-supply-chain

dependency-supply-chain is a skill for Claude Code, Codex from GoldenWing-360/claude-security-skills. It costs 81 tokens per session (2,405 once invoked), scanned A, original, MIT.

A guide for checking software dependencies—packages your project uses—for malicious or unsafe behavior in ecosystems such as npm, PyPI, RubyGems, Maven, and Go modules.

In plain words
What is it for?
Use it when adding dependencies, reviewing lockfiles and package manifests, investigating a security incident, or performing a periodic supply-chain audit.
Why use it?
It helps identify risks such as typosquatted packages, harmful installation scripts, compromised packages, and dependencies that access files or send data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding dependencies, reviewing lockfiles and package manifests, investigating a security incident, or performing a periodic supply-chain audit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldenwing-360/claude-security-skills/dependency-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 GoldenWing-360/claude-security-skills --skill dependency-supply-chain
Clone the repo
git clone --depth 1 https://github.com/GoldenWing-360/claude-security-skills

Made for: Claude Code, Codex.

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 dependency-supply-chain

README.md
[![agentmods](https://agentmods.dev/badge/skills/goldenwing-360/claude-security-skills/dependency-supply-chain/github.svg)](https://agentmods.dev/skills/goldenwing-360/claude-security-skills/dependency-supply-chain)
Your own site
<a href="https://agentmods.dev/skills/goldenwing-360/claude-security-skills/dependency-supply-chain"><img src="https://agentmods.dev/badge/skills/goldenwing-360/claude-security-skills/dependency-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 dependency-supply-chain

Your own site · 80×15
<a href="https://agentmods.dev/skills/goldenwing-360/claude-security-skills/dependency-supply-chain"><img src="https://agentmods.dev/badge/skills/goldenwing-360/claude-security-skills/dependency-supply-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00081 $0.02405
Opus 5 $0.00041 $0.01203
Sonnet 5 $0.00016 $0.00481
Haiku 4.5 $0.00008 $0.00241

Measured 12d ago against content hash b30070a69281, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dependency-supply-chain scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

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

curl -s "https://api.npmjs.org/downloads/point/last-week/<pkg>" | jq
dependency-supply-chain/SKILL.md · 217 lines

How it starts

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

Dependency / Supply-Chain Security

The supply chain is the part of your stack you trust by default and rarely review. npm, PyPI, RubyGems, Maven, Go modules — they have all hosted malicious packages, typosquats, and compromised maintainer accounts at scale.

This skill is the working developer's defense — pragmatic checks that fit in a normal workflow, not a software bill-of-materials regulatory program.

When to invoke

  • Adding a new dependency to a project (especially a small / new / single-maintainer one)
  • After a publicized supply-chain incident affecting your ecosystem
  • Quarterly audit of package.json / requirements.txt / go.mod
  • Inheriting a project with a large node_modules and no obvious hygiene
  • CI/CD just leaked a secret — start here to find which dep grabbed it

The threat model

What can a malicious dependency actually do?

  • Read environment variables / files during install (postinstall script)
  • Read environment variables / files at runtime (any code path)
  • Exfiltrate via outbound HTTPS to any host
  • Modify other dependencies (link-stage tampering, build-script monkey-patching)
  • Hide payloads in transitive deps so your package.json looks clean

You cannot inspect every line of every dependency. You can raise the cost of attacks and detect them when they happen.

Lockfile hygiene

A lockfile is the only thing standing between "I added one dep" and "my install grabbed 1,200 transitive deps any of which can be swapped tomorrow".

  • Commit the lockfile. Always: package-lock.json, pnpm-lock.yaml, yarn.lock, poetry.lock, Pipfile.lock, go.sum. No exceptions.
  • npm ci (or pnpm install --frozen-lockfile) in CI, not npm install. install can mutate the lockfile silently; ci errors if the lockfile and package.json disagree.
  • Lockfile drift alerts. A PR that touches package-lock.json but not package.json, or vice versa, deserves a review comment. Add a CI check.
  • Pin direct dependencies tightly when the dep is small / new / sketchy. "left-pad": "1.3.0" rather than "left-pad": "^1.3.0". The caret invites unattended updates.

Read the full file on GitHub · 217 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. 12d ago First seen · 217 lines · 81 tokens per session scan A b30070a69281

Subscribe to this mod's changes

dependency-supply-chain is a skill published in the GitHub repository GoldenWing-360/claude-security-skills (17 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 2,405 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cloud-browser-automation

Use cloud browser services (Browserbase) for Cloudflare bypass, JavaScript rendering, and stealth scraping when local tools fail.

kevinnft/ai-agent-skills · 29 tokens

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

K-Dense-AI/scientific-agent-skills · 151 tokens

pennylane

Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…

K-Dense-AI/scientific-agent-skills · 98 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens

phx-deps-audit

Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.

oliver-kriska/claude-elixir-phoenix · 58 tokens