security-supply-chain

security-supply-chain is a skill for Claude Code from oborchers/fractional-cto. It costs 113 tokens per session (2,166 once invoked), scanned A, original, MIT.

A guide to protecting Python package publishing and dependencies, including trusted publishing, signed build records, vulnerability scanning, and security checks. It covers tools and services used to reduce risks in the software supply chain.

In plain words
What is it for?
Use it when publishing to PyPI, setting up OIDC or Sigstore, writing security policies, scanning dependencies, or configuring automated security tools.
Why use it?
It helps prevent stolen publishing credentials, malicious package releases, and known vulnerable dependencies from reaching users. It replaces informal release security with checks and verifiable publishing steps.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the python-package plugin — 13 skills, 2 commands, 1 agent shipped together

Good fit Use it when publishing to PyPI, setting up OIDC or Sigstore, writing security policies, scanning dependencies, or configuring automated security tools.

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

Made for: Claude Code.

Or install python-package, the plugin that ships this one along with the rest of its 13 skills, 2 commands, 1 agent.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oborchers/fractional-cto/security-supply-chain"><img src="https://agentmods.dev/badge/skills/oborchers/fractional-cto/security-supply-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,166 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.00113 $0.02166
Opus 5.5 $0.00045 $0.00866
Sonnet 5.5 $0.00023 $0.00433
Haiku 4.5 $0.00011 $0.00217

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

Security

Grade A, and why

security-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.

python-package/skills/security-supply-chain/SKILL.md · 216 lines

How it starts

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

Eliminate Secrets, Sign Everything, Scan Continuously

Supply chain attacks are the fastest-growing threat to open source. A single leaked PyPI API token can push a malicious release to millions of users. Trusted publishing eliminates long-lived tokens entirely. Sigstore attestations give users cryptographic proof of provenance. pip-audit catches known vulnerabilities before they ship. These are not optional hardening steps -- they are baseline requirements for any published package.

Trusted Publishing (OIDC)

Trusted publishing is the single most important security improvement a package maintainer can make. It replaces long-lived API tokens with short-lived OIDC tokens that prove the publish request originated from a specific CI workflow.

Aspect API Tokens Trusted Publishing
Lifetime Long-lived (until revoked) Seconds (per-job)
Scope Can upload any version Tied to specific workflow + repo
Storage Must be stored as a secret No secret to store
Rotation Manual, often neglected Automatic (every run)
Compromise impact Attacker pushes malicious release No credential to steal

Setup Steps

  1. Configure PyPI at pypi.org/manage/project/YOUR-PACKAGE/settings/publishing/ -- add GitHub Actions as a trusted publisher with owner, repo, workflow filename, and environment name
  2. Create a GitHub Environment named release with required reviewers and deployment branch restrictions (main or v* tags)
  3. Configure the publish workflow with permissions: id-token: write and environment: release

For new packages, use a "pending publisher" at pypi.org/manage/account/publishing/ to claim the name before the first release.

Delete all existing PyPI API tokens after migrating. There is no reason to keep them.

Sigstore Attestations (PEP 740)

Enable with one flag in the publish action:

- uses: pypa/gh-action-pypi-publish@release/v1
  with:
    attestations: true

Read the full file on GitHub · 216 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 · 216 lines · 113 tokens per session scan A c71a73690be6

Subscribe to this mod's changes

security-supply-chain is a skill published in the GitHub repository oborchers/fractional-cto (32 stars, last pushed 3d ago), licensed MIT. It adds 113 tokens to every session and 2,166 once invoked, about $0.0005 per session on Opus 5.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-10-13.

Related

Other skills, from other repositories

mirrord-prev-env

Help users create and manage mirrord preview environments — running a modified service as an isolated pod in a shared Kubernetes cluster, scoped by an environment key and HTTP/queue traffic filtering, so teams can validate and review changes against real traffic without affecting live services. Use when a developer…

metalbear-co/mirrord · 122 tokens

mirrord-chaos

Help users chaos test their app with mirrord: inject artificial latency or connection errors into a mirrord session's outgoing traffic via per-session chaos rules managed with the mirrord chaos CLI. Use when a user wants to add latency or delay to outgoing connections or a dependency (e.g. a slow database), simulate…

metalbear-co/mirrord · 119 tokens

atmos-hooks

Atmos hooks: lifecycle events, hook kinds, command/store/git/security hooks, step/steps hooks, when: conditions, scoping and overrides, toolchain integration, --skip-hooks, and Atmos Pro/local output.

cloudposse/atmos · 46 tokens

atmos-modernization

Atmos Modernization: migrate deprecated or legacy Atmos patterns to current names, Native CI, Atmos Pro drift detection, dependencies.components, nametemplate, and declared secrets.

cloudposse/atmos · 36 tokens

atmos-pro

Atmos Pro setup and workflows: settings.pro, GitHub OIDC, affected and inventory uploads, stack locks, pro commit, workflow dispatch, merge queues, and drift detection.

cloudposse/atmos · 38 tokens

atmos-sbom

Atmos SBOM provenance: CycloneDX and SPDX generation from vendor and Terraform evidence, coverage diagnostics, NTIA validation, and native CI workflow-artifact publication.

cloudposse/atmos · 36 tokens