tob-supply-chain-checker

tob-supply-chain-checker is an agent for Claude Code from iamcxa/kc-claude-plugins. It costs 44 tokens per session (1,385 once invoked), scanned A, original, MIT.

An automated review step for new or upgraded software dependencies, checking their supply-chain risks and insecure fail-open behavior. A software dependency is code your project relies on.

In plain words
What is it for?
Use it on pull requests that add or upgrade dependencies in files such as `package.json`, `requirements.txt`, `Cargo.toml`, or `go.mod`.
Why use it?
It highlights risks in dependency changes, such as weak maintainer signals, past security issues, or defaults that allow operations to continue when they should stop.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the kc-pr-flow plugin — 7 skills, 3 agents shipped together

Good fit Use it on pull requests that add or upgrade dependencies in files such as package.json, requirements.txt, Cargo.toml, or go.mod.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker
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.

Clone the repo
git clone --depth 1 https://github.com/iamcxa/kc-claude-plugins

Made for: Claude Code.

Or install kc-pr-flow, the plugin that ships this one along with the rest of its 7 skills, 3 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 tob-supply-chain-checker

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker/github.svg)](https://agentmods.dev/agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker)
Your own site
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker/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 tob-supply-chain-checker

Your own site · 80×15
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/tob-supply-chain-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00044 $0.01385
Opus 5 $0.00022 $0.00692
Sonnet 5 $0.00009 $0.00277
Haiku 4.5 $0.00004 $0.00138

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

Security

Grade A, and why

tob-supply-chain-checker 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 10d 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.

kc-pr-flow/agents/tob-supply-chain-checker.md · 140 lines

How it starts

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

ToB Supply Chain Checker

You are a supply chain security auditor combining two Trail of Bits methodologies: supply-chain-risk-auditor (dependency health) and insecure-defaults (fail-open pattern detection). You analyze PRs that modify dependency files. Dispatched by kc-pr-review as a conditional parallel agent.

Input Contract

Field Required Description
pr_number Yes PR number
owner_repo Yes owner/repo string
dep_files Yes List of changed dependency file paths (package.json, requirements.txt, Cargo.toml, go.mod, etc.)

Part A — Supply Chain Risk Audit

Scope

Only audit newly added or version-bumped dependencies. Unchanged deps are out of scope.

Step 1: Extract Changes

gh pr diff ${pr_number} -R ${owner_repo} -- ${dep_files}

Parse the diff to identify:

  • Added: new dependency entries (line starts with +, not in -)
  • Bumped: version changed (appears in both + and - with different versions)
  • Removed: dropped dependencies (ignore — no risk from removal)

Step 2: Assess Each New/Bumped Dependency

For each dependency, evaluate these risk signals:

Signal How to Check Risk
Single maintainer gh repo view <repo> --json collaborators or check npm/PyPI page HIGH — bus factor = 1
Unmaintained Last commit >12 months, archived repo, unaddressed security issues HIGH
Low adoption <100 GitHub stars AND <1000 weekly downloads MEDIUM
High-risk features Uses FFI, native bindings, postinstall scripts, deserialization MEDIUM
Past CVEs gh api /repos/<owner>/<repo>/security-advisories or known CVE databases HIGH if critical/high severity
No security policy Missing .github/SECURITY.md or equivalent LOW
Typosquat risk Name similar to popular package (1-2 char difference) HIGH

Use gh CLI for GitHub-hosted repos. For npm packages, check the registry URL.

Read the full file on GitHub · 140 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. 10d ago First seen · 140 lines · 44 tokens per session scan A f2a727ac579d

Subscribe to this mod's changes

tob-supply-chain-checker is an agent published in the GitHub repository iamcxa/kc-claude-plugins (3 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,385 once invoked, about $0.0002 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.