Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Supply Chain Advisory

  • 77 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Supply Chain Advisory is an agent skill that guides triage and containment when Python dependencies may be compromised in a supply-chain attack.

About

Supply Chain Advisory is an agent skill for responding to and preventing dependency supply-chain incidents, especially compromised Python packages on PyPI. It ships structured metadata on known bad versions alongside a triage checklist to search lockfiles and virtualenvs, identify malicious file indicators, and contain credential-exfiltration risk without destroying forensic evidence. Solo builders using agents that install packages rapidly benefit because one poisoned dependency can harvest environment variables, SSH keys, cloud tokens, and database passwords. Invoke it when news breaks about a maintainer compromise, when auditing installs after a security bulletin, or when wiring proactive checks at session start. The skill complements generic code review by focusing on package integrity, containment order, and documented severity rather than feature work.

  • Curated compromised package version metadata (e.g. litellm 1.82.7–1.82.8) with severity and sources
  • Five-minute scope checklist: lockfiles, installed METADATA, malicious artifact search
  • Containment playbook: stop processes, preserve venv for forensics, env snapshot
  • Indicators such as litellm_init.pth and modified proxy_server.py called out explicitly
  • SessionStart hook integration for ongoing advisory awareness

Supply Chain Advisory by the numbers

  • 77 all-time installs (skills.sh)
  • Ranked #1,122 of 2,203 Security skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill supply-chain-advisory

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs77
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Triage suspected PyPI or dependency supply-chain compromises with lockfile scans, containment steps, and documented compromised versions.

Who is it for?

Best when you manage uv/pip lockfiles locally and need a fast, repeatable incident checklist when advisories drop.

Skip if: Organizations wanting full SOC playbooks, non-Python ecosystems only, or greenfield projects with zero third-party dependencies.

When should I use this skill?

Supply chain compromise reported, SessionStart hook runs, or user needs to assess PyPI package versions against known compromised metadata and respond.

What you get

You complete scoped lockfile and artifact checks, contain active risk, preserve evidence, and align actions to documented compromised versions and indicators.

  • Scoped list of affected packages/versions in lockfiles and venvs
  • Containment actions with forensic preservation notes
  • Environment snapshot command guidance for incident records

By the numbers

  • Scope assessment triage checklist targets roughly 5 minutes
  • Documented critical litellm compromised versions 1.82.7 and 1.82.8 (March 2026 advisory)

Files

SKILL.mdMarkdownGitHub ↗

Overview

Supply chain attacks bypass traditional code review by compromising upstream dependencies. This skill provides patterns for detecting, preventing, and responding to compromised packages in Python ecosystems.

When To Use

  • After a supply chain advisory is published
  • When auditing dependencies for a new or existing project
  • During incident response for a suspected compromise
  • When adding the SessionStart hook to a project

When NOT To Use

  • General CVE triage unrelated to dependency supply chain
  • Application-level vulnerability scanning (use a SAST tool)
  • License compliance audits (different concern)

Known-Bad Versions Blocklist

The blocklist is at ${CLAUDE_SKILL_DIR}/known-bad-versions.json. It is consumed by:

1. SessionStart hook: warns per-session when compromised versions detected 2. `make supply-chain-scan`: CI/local scanning target 3. This skill: manual audit guidance

Blocklist Format

{
  "package_name": [{
    "versions": ["x.y.z"],
    "date": "YYYY-MM-DD",
    "description": "What the attack did",
    "indicators": ["files or patterns to search for"],
    "source": "advisory URL",
    "severity": "critical|high|medium"
  }]
}

Adding a New Entry

1. Add the entry to ${CLAUDE_SKILL_DIR}/known-bad-versions.json 2. Add version exclusions (!=x.y.z) to affected pyproject.toml files 3. Document in docs/dependency-audit.md under Supply Chain Incidents 4. Run make supply-chain-scan to verify detection works

Quick Scan Commands

Check all lockfiles on machine for known-bad versions

# Scan uv.lock files for a specific compromised version
grep -r "package_name.*version" --include="uv.lock" /path/to/projects

# Search for malicious artifacts
find /path/to/projects -name "suspicious_file.pth" 2>/dev/null

# Check installed versions in virtualenvs
find /path/to/projects -path "*/.venv/lib/*/PACKAGE*/METADATA" \
  -exec grep "^Version:" {} +

Verify lockfile hash integrity

uv.lock includes SHA256 hashes for every package. If a package is re-published with different content under the same version, uv sync will fail with a hash mismatch. This is your strongest automatic defense.

Defense Layers

LayerToolCatches
Lockfile hashesuv.lock SHA256Tampered re-published versions
Version exclusionspyproject.toml !=Known-bad versions on fresh resolve
SessionStart hooksanctum hookPer-session warning for compromised deps
CI scanningOSV, SafetyCVE database, and advisory matching
Artifact scanningmake supply-chain-scanMalicious files (.pth, scripts)

Limitations

  • Zero-day supply chain attacks have no prior advisory: lockfile hashes

are the only automatic defense during the attack window

  • Safety/CVE databases lag behind real-world compromises
  • OSV provides broader coverage but is still reactive

Related skills

How it compares

Use as a focused dependency-incident skill, not as a substitute for full SAST/DAST or platform-wide SIEM operations.

FAQ

Who is supply-chain-advisory for?

Developers who install Python dependencies via agents or CI and need structured steps when package compromises are reported.

When should I use supply-chain-advisory?

During Ship before releasing or after a security bulletin, and in Operate when monitoring running services that might have pulled a bad version.

Is supply-chain-advisory safe to install?

It references real incidents and may trigger filesystem searches; review the Security Audits panel on this Prism page and validate commands before running them on production machines.

Securityappseccompliancesecrets

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.