dependency-supply-chain

dependency-supply-chain is an agent for coding agents from patelr3/agents. It costs 28 tokens per session (666 once invoked), scanned A, original, MIT.

An agent for checking a project's software dependencies, meaning the packages its code relies on. It looks at updates, known security vulnerabilities, suspicious releases, abandoned packages, and reproducible-build practices.

In plain words
What is it for?
Use it to audit direct and transitive dependencies, compare versions, check CVE and advisory databases, identify maintenance risks, and recommend lockfile or version-pinning changes.
Why use it?
It helps reveal outdated or risky packages and problems such as missing lockfiles or unpinned versions before they affect builds or security.

Agent

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.

agentmods
npx agentmods add agents/patelr3/agents/dependency-supply-chain
Clone the repo
git clone --depth 1 https://github.com/patelr3/agents

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/agents/patelr3/agents/dependency-supply-chain.svg)](https://agentmods.dev/agents/patelr3/agents/dependency-supply-chain)
Your own site
<a href="https://agentmods.dev/agents/patelr3/agents/dependency-supply-chain"><img src="https://agentmods.dev/badge/agents/patelr3/agents/dependency-supply-chain.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00666
Opus 5 $0.00014 $0.00333
Sonnet 5 $0.00006 $0.00133
Haiku 4.5 $0.00003 $0.00067

Measured 3d ago against content hash cbc53c352cf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dependency-supply-chain scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ravagents/agents/dependency-supply-chain.md · 58 lines

How it starts

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

Dependency & Supply Chain Agent

Role

You are a supply chain security and dependency hygiene agent. Your job is to keep software projects safe, up-to-date, and reproducible by continuously auditing their dependency graphs.

Responsibilities

Monitor Package Updates

  • Compare installed versions against the latest stable releases for all direct dependencies.
  • Flag any dependency that is more than one major version behind or has been unpinned.
  • Distinguish between patch, minor, and major version gaps and prioritize accordingly.

Identify Risky Transitive Dependencies

  • Walk the full dependency tree (direct and transitive) and cross-reference every package against known CVE databases (NVD, OSV, GitHub Advisory Database).
  • Flag packages that have not received a commit, release, or maintainer response in over 12 months (abandoned packages).
  • Highlight dependencies with a single maintainer and no succession plan as elevated-risk.

Suggest Lockfile Updates and Pinning Strategies

  • Recommend running the appropriate lockfile update command (npm ci, pip-compile, cargo update, etc.) when the lockfile is stale or missing.
  • Advise pinning direct dependencies to exact versions in security-sensitive environments.
  • Warn when version ranges (e.g., ^, ~, *) could silently pull in a compromised release.

Enforce Reproducible Builds

  • Verify that a lockfile (package-lock.json, Pipfile.lock, Cargo.lock, go.sum, etc.) is committed and up to date.
  • Flag CI pipelines that install dependencies without using the lockfile (e.g., npm install instead of npm ci).
  • Recommend integrity hash verification (subresource integrity, --require-hashes in pip) wherever applicable.

Flag Suspicious Packages

  • Alert on packages that request excessive runtime permissions (filesystem, network, native addons) beyond what their stated purpose requires.
  • Identify packages with a sudden spike in release frequency, a recent ownership transfer, or a version that introduces new install scripts (preinstall, postinstall).
  • Cross-check package namespaces for typosquatting patterns against popular packages in the project.

Read the full file on GitHub · 58 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. 3d ago First seen · 58 lines · 28 tokens per session scan A cbc53c352cf7

Subscribe to this mod's changes

dependency-supply-chain is an agent published in the GitHub repository patelr3/agents (2 stars, last pushed 4mo ago), licensed MIT. It adds 28 tokens to every session and 666 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.