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 1mo 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 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.

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. 1mo 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 (39 stars, last pushed 1mo 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

security-supply-chain compared with skills from other repositories

security-supply-chain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-supply-chainoborchers/fractional-ctoSkill391mo agoMITA113Claude Code
aws-cicd-authatretyak1985/swarmerySkill92d agoApache-2.0A50Claude Code
github-actions-cicdatretyak1985/swarmerySkill92d agoApache-2.0A78Claude Code
gcp-cicd-authatretyak1985/swarmerySkill92d agoApache-2.0A57Claude Code
06-部署和运维xcodethink/open-claude-code-skillsSkill23mo agoMITA215Codex
infrastructure-planninglukaskellerstein/claude-my-marketplaceSkill311d agononeA64Claude Code
deploymentwewpellex21/code-senseiSkill31mo agoMITA37Claude Code, Codex