Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/catpilotai/catpilot-ai-guardrailsnpx agentmods add skills/catpilotai/catpilot-ai-guardrails/supply-chainWrote 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.
[](https://agentmods.dev/skills/catpilotai/catpilot-ai-guardrails/supply-chain)<a href="https://agentmods.dev/skills/catpilotai/catpilot-ai-guardrails/supply-chain"><img src="https://agentmods.dev/badge/skills/catpilotai/catpilot-ai-guardrails/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.
<a href="https://agentmods.dev/skills/catpilotai/catpilot-ai-guardrails/supply-chain"><img src="https://agentmods.dev/badge/skills/catpilotai/catpilot-ai-guardrails/supply-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.05072 |
| Opus 5.5 | $0.00040 | $0.02029 |
| Sonnet 5.5 | $0.00020 | $0.01014 |
| Haiku 4.5 | $0.00010 | $0.00507 |
Grade C, and why
supply-chain scanned grade C with 2 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 1mo 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
description: Block typosquats, unpinned dependencies, floating GitHub Actions tags, `curl | bash` installs, unverified agent skills/MCP servers, and post-install scripts from unknown publishers before they reach a develo Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: Block typosquats, unpinned dependencies, floating GitHub Actions tags, `curl | bash` installs, unverified agent skills/MCP servers, and post-install scripts from unknown publishers before they reach a develo How it starts
The opening of the file, as written. The whole thing — 503 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Baseline
Applies when: Adding a dependency to a manifest or running an install command, referencing a third-party CI action, building a Dockerfile/compose that pulls images or binaries, piping curl/wget output into a shell, or installing an agent skill, MCP server, or IDE extension.
Always:
- Install from a lockfile (
npm ci,pip install --require-hashes,poetry install --no-update,bundle install --frozen,cargo build --locked), never a bare install that re-resolves. - Pin third-party CI references (actions, orbs, plugins, reusable workflows) to a full commit SHA, not a mutable tag.
- Before adding a dependency, verify its spelling against the canonical upstream name, its publisher/namespace, its provenance/attestation, and its download/maintenance history.
- Replace
curl | bash-style pipe-to-shell installs with download, hash-verify, inspect, then run; prefer the project's package-manager distribution. - Review a package's install/build-hook scripts before installing; refuse ones that download external artifacts or touch
~/.ssh,~/.aws, or similar credential paths. - Vet any third-party agent skill, MCP server, or IDE extension as code: read the source, check the permission scope, and reject obfuscated or "ClickFix" install instructions.
Never:
npm install/yarn add/pip install <pkg>(unpinned, no lockfile) in CI.- A GitHub Actions third-party reference pinned to a tag or branch (
@main,@v1) instead of a commit SHA. - Silently substituting a similar-looking package when a typosquat or namespace check fails.
curl ... | bash,wget -qO- ... | sh, oriwr ... | iexpiped installs.- Installing an agent skill or extension with a "ClickFix" instruction, an obfuscated/base64 payload, or a typosquatted publisher name.
Open the full component before acting: it has the examples, the remediation steps, and the detection patterns.
Why
Modern applications execute orders of magnitude more code from
external publishers than from the developer who wrote the project.
A typical Node service pulls in 1,000+ transitive npm packages on
first install; a typical Python service depends on a wheel built
by a maintainer the developer has never met; a typical CI pipeline
executes third-party GitHub Actions that have access to repository
secrets and GITHUB_TOKEN.
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.
- 1mo ago Changed · +24 lines d6022b176174
- 2mo ago First seen · 479 lines · 99 tokens per session scan C 0be65223b610
supply-chain is a skill published in the GitHub repository catpilotai/catpilot-ai-guardrails (2 stars, last pushed 8d ago), licensed MIT. It adds 99 tokens to every session and 5,072 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
supply-chain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| supply-chaincatpilotai/catpilot-ai-guardrails | Skill | 2 | 8d ago | MIT | C | 99 | Claude Code |
| dcf-modelNousResearch/hermes-agent | Skill | 262k | today | MIT | A | 14 | Claude Code, Codex |
| baoyu-article-illustratorNousResearch/hermes-agent | Skill | 262k | today | MIT | A | 18 | Claude Code, Codex |
| flash-attentionNousResearch/hermes-agent | Skill | 262k | today | MIT | A | 14 | Claude Code, Codex |
| subagent-driven-developmentNousResearch/hermes-agent | Skill | 262k | today | MIT | A | 17 | Claude Code, Codex |
| mcporterNousResearch/hermes-agent | Skill | 262k | today | MIT | A | 16 | Claude Code, Codex |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 69k | yesterday | Apache-2.0 | A | 146 | Claude Code, Codex |