supply-chain-lord

supply-chain-lord is a skill for Claude Code, Codex from m3taz-ahmed/ai-globals. It costs 33 tokens per session (1,468 once invoked), scanned A, original, MIT.

A set of rules for securing the software supply chain, meaning the external packages, container images, and automated workflows a project depends on. It focuses on checking dependencies added by AI-generated code.

In plain words
What is it for?
Checking new imports against project manifests, detecting possible typosquatting, protecting lockfiles, and requiring fixed identifiers for images and GitHub Actions.
Why use it?
It helps catch undeclared or misspelled packages before they enter a project, including packages that may be malicious lookalikes.

Skill for Claude CodeCodex

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

Good fit Checking new imports against project manifests, detecting possible typosquatting, protecting lockfiles, and requiring fixed identifiers for images and GitHub Actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/m3taz-ahmed/ai-globals/supply-chain-lord
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 m3taz-ahmed/ai-globals --skill supply-chain-lord
Clone the repo
git clone --depth 1 https://github.com/m3taz-ahmed/ai-globals

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/m3taz-ahmed/ai-globals/supply-chain-lord/github.svg)](https://agentmods.dev/skills/m3taz-ahmed/ai-globals/supply-chain-lord)
Your own site
<a href="https://agentmods.dev/skills/m3taz-ahmed/ai-globals/supply-chain-lord"><img src="https://agentmods.dev/badge/skills/m3taz-ahmed/ai-globals/supply-chain-lord/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 supply-chain-lord

Your own site · 80×15
<a href="https://agentmods.dev/skills/m3taz-ahmed/ai-globals/supply-chain-lord"><img src="https://agentmods.dev/badge/skills/m3taz-ahmed/ai-globals/supply-chain-lord.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 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.00033 $0.01468
Opus 5 $0.00016 $0.00734
Sonnet 5 $0.00007 $0.00294
Haiku 4.5 $0.00003 $0.00147

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

Security

Grade A, and why

supply-chain-lord 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 6d 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.

skills/supply-chain-lord/SKILL.md · 76 lines

How it starts

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

Supply Chain Lord

[OBJ] Supply-chain security for AI-generated code. AI agents add imports faster than humans can review them.

Problem

AI agents commonly add imports of external packages not declared in the project manifest. This is a supply-chain attack vector: a hallucinated package name may match a malicious typosquatted package. SAST/DAST catch this downstream — by then the code is committed.

Rules

  1. [REQ] Dependency guard at diff time. Every diff with new imports MUST pass through runtime/supply_chain_guard.py. Undeclared import = WARN (strict mode = BLOCK).
  2. [REQ] Lockfile as source of truth. Declared dependencies come from pyproject.toml/requirements.txt (Python), package.json/package-lock.json (Node), composer.json/composer.lock (PHP), go.mod (Go). Never trust import statements as the dependency list.
  3. [REQ] Typosquat detection. New import names within edit distance ≤ 2 of a declared dependency = WARN (e.g., reqeusts vs requests). Use Levenshtein distance.
  4. [REQ] Pin SHAs. Container images and GitHub Actions pinned by SHA, not tag. Tags are mutable; SHAs are immutable. uses: actions/checkout@v4 = reject; uses: actions/checkout@<sha> = accept.
  5. [REQ] SBOM generation. Every release artifact ships with an SBOM (CycloneDX or SPDX). aizee sbom generate before release. No SBOM = no release.
  6. [REQ] Cosign signing. Container images signed with Cosign (keyless OIDC). Unsigned image = BLOCK deploy. Verify signature on pull.
  7. [REQ] Minimum release age. New dependency versions must be published ≥ 7 days before adoption. Brand-new releases have not been vetted; a non-trivial fraction of supply-chain attacks are caught and yanked within the first few days.
  8. [REQ] No floating ranges. Prohibit latest, *, unbounded >= in manifests. These auto-resolve to brand-new releases. Pin to exact versions or bounded ranges.
  9. [REQ] Audit dependencies. pip-audit / npm audit / composer audit before every release. Critical CVE = BLOCK.
  10. [REQ] No downgrade for type errors. Never downgrade a dependency to fix a type error. Fix the code or upgrade. Downgrading = security regression.
  11. [REQ] Provenance verification. Verify dependency provenance (e.g., pip --require-hashes, npm ci with lockfile, composer install with lock). No pip install without hash checking in CI.
  12. [REQ] MCP server provenance. MCP servers registered as securables (runtime/mcp_securable.py) with verified endpoints. No ungoverned MCP server in the supply chain.
  13. [REQ] Diff scope. A diff that adds a new dependency MUST also update the lockfile in the same diff. Dependency without lockfile update = BLOCK.
  14. [REQ] License compliance. Every declared dependency has a license in the allowlist (MIT, Apache-2.0, BSD, ISC). GPL/AGPL in a commercial project = BLOCK (require LEGAL persona review).
  15. [PROHIBIT] git add . / git add -A — stage only files you modified.
  16. [PROHIBIT] Installing a dependency published < 7 days ago.
  17. [PROHIBIT] Floating version ranges (latest, *, unbounded >=).
  18. [PROHIBIT] Unsigned container images in production.
  19. [PROHIBIT] A new import without a corresponding lockfile/manifest update in the same diff.
  20. [REQ] MCP tool poisoning defense. Hash-pin or sign allowed MCP tool definitions. Re-validate on every list refresh. CVE-2025-54136 (CVSS 8.8) showed tool definitions can change server-side after initial review.
  21. [REQ] Model weight provenance. Verify model weights have provenance metadata. Unsafe serialization (pickle) must be rejected. Use safe formats (safetensors, GGUF). AI/ML SBOMs required for all model deployments.
  22. [REQ] MCP CVE tracking. Monitor and patch: CVE-2026-52869 (Python SDK session-ID injection), CVE-2026-52870 (cross-client task access), CVE-2026-59950 (WebSocket origin bypass), CVE-2026-25536 (TypeScript SDK data leak), CVE-2026-27896 (Go SDK key parsing). Pin SDK versions above fix releases.
  23. [REQ] Deadbugz campaign awareness. Malicious MCP servers may activate payloads after a call-count threshold, evading initial review. Monitor for behavioral changes in MCP servers over time.
  24. [REQ] Confused-deputy prevention. MCP proxies with static client_id and DCR can let malicious clients hijack consent cookies. Use CIMD (Client ID Metadata Documents) instead of DCR. Validate issuer per RFC 9207.
  25. [REQ] AI/ML SBOM. Every AI/ML release artifact ships with an AI-specific SBOM (model weights, training data provenance, serialization format, dependencies). CycloneDX AI extension or SPDX 3.0 AI profile.
  26. [PROHIBIT] Using MCP servers without hash-pinned tool definitions and CVE compliance verification.

Read the full file on GitHub · 76 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. 6d ago Changed · +7 lines 4813ba381c90
  2. 9d ago First seen · 69 lines · 33 tokens per session scan A 643465a7a71b

Subscribe to this mod's changes

supply-chain-lord is a skill published in the GitHub repository m3taz-ahmed/ai-globals (5 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,468 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-09-03.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens