Read-only forensics scanner for npm/PyPI supply-chain compromise. Checks persistence artifacts, payload files, compromised package versions, C2 domains, and malicious commit hashes from known 2025-2026 campaigns. Produces PASS/FAIL verdict with IOC checklist.
Ships in deprecated. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A read-only forensics scanner for npm / PyPI supply-chain compromise. Runs three IOC phases against the local machine and produces a clean PASS/FAIL verdict.
The user asked about supply-chain risk, a recently disclosed npm/PyPI compromise, whether their machine is affected, or wants to share this check with coworkers. Triggers reliably for both technical phrasing ("scan for IOCs", "audit my host") and casual phrasing ("am I cooked?", "is this safe?", "ya me hackearon?").
The IOC pack lives in iocs.json — a versioned list of campaigns, each with its persistence paths, payload filenames, payload hashes, C2/typosquat strings, optional-dependency markers, repo-artifact hashes, forged-commit authors, compromised package scopes, and attack windows. The scanner script scripts/scan.sh reads that file and runs four phases:
~/.local/bin shims, dropper files in ~/.claude/setup.mjs / ~/.vscode/setup.mjs, named lock files).node_modules under the configured project roots, payload filenames anywhere on disk, malicious commit hashes / typosquat domains / payload SHA256s in lockfiles and source, optionalDependencies entries that resolve to a GitHub git ref (the TeamPCP smuggling pattern).node_modules during a campaign's published attack window. A clean Phase C is the strongest single signal a host avoided exposure..vscode/tasks.json, .claude/settings.json, setup.mjs — names too generic for a presence check, so FAIL only on exact SHA256 match against repo_artifact_hashes), and commits authored by forged identities from forged_commit_authors (the Shai-Hulud 3.0 pattern: claude <[email protected]>) in any git repo under the roots.Every check is find / grep / jq / stat / shasum / git log. The scanner builds shared filesystem inventories once (one walk per artifact class, not one per IOC) and never writes to the target machine outside its /tmp/supply-chain-audit-* workdir.
iocs.json to understand the current campaign list. If --list is requested, summarize the campaigns and stop.$HOME, but prefer narrower paths the user mentions (e.g. ~/Clerk, ~/Programming). Ask once if ambiguous and >50GB of code is in scope.bash scripts/scan.sh [root1 root2 ...]. The script emits a structured markdown report to stdout. Capture it.@tanstack/query-core in your tree") are emitted as REVIEW and do not flip the verdict — having @tanstack/* installed in February 2026 says nothing about whether you got the May 2026 malicious versions. Phase C answers that. If FAIL_COUNT > 0 → POTENTIALLY COMPROMISED. Otherwise CLEAN, even if REVIEW > 0.ALWAYS use this exact structure:
# Supply-chain audit — <hostname> — <timestamp>
## Verdict: CLEAN (or POTENTIALLY COMPROMISED)
## IOC checklist
| Campaign | Check | Result |
|----------|-------|--------|
| ... | ... | PASS/FAIL/REVIEW/skipped |
## Inventory — packages from compromised scopes (REVIEW, not FAIL)
(only if Phase B found compromised scopes installed; list `name@version`, install date, path)
## Phase summary
- Phase A (persistence): N fail(s)
- Phase B (code & cache): N fail(s), M review(s)
- Phase C (time window): N fail(s) — authoritative exposure signal
- Phase D (repo artifacts & git history): N fail(s)
- Total: P PASS / F FAIL / R REVIEW / S skipped
## Next steps
<remediation block — see references/remediation.md>
When summarizing REVIEW rows to the user, cross-check the install timestamp against the campaign's attack window from iocs.json. If install date is outside the window AND Phase C is clean → these packages are safe, mention briefly. If install date overlaps the window → escalate the row to "needs manual version check against the disclosed malicious version list."
If verdict is POTENTIALLY COMPROMISED, the Next steps block MUST lead with:
Do NOT revoke any GitHub PAT yet. The Mini Shai-Hulud / TeamPCP payload installs a dead-man's-switch that watches the stolen token and runs
rm -rf ~/the moment it sees a 401 fromapi.github.com. First audit token activity at https://github.com/settings/tokens (look for unfamiliar IPs and User-Agents in the last 72h). Then rotate from a separate clean machine: npm publish tokens, cloud creds (AWS/GCP), SSH keys, Vault tokens. Only revoke the suspect PAT after you've moved off the suspect host.
If verdict is CLEAN, the Next steps block recommends the 48h bake period:
npm config set min-release-age 2 # npm 11+
pnpm config set minimumReleaseAge 2880 # minutes
echo -e "[install]\nminimumReleaseAge = 172800" >> ~/.bunfig.toml # seconds
yarn config set npmMinimalAgeGate 48h
Full remediation prose lives in references/remediation.md. Read that file when the user asks for more detail.
When a new campaign is disclosed, append a new entry to iocs.json following the schema. The scanner picks it up automatically — no edits to the skill body needed. Schema reference: see the top of iocs.json itself. Bump the version field to today's date.
If the user is reporting a brand-new campaign that isn't in the IOC pack, offer to add it. Ask for: campaign name, disclosure date, affected scopes/packages, payload filenames, payload hashes (SHA256), C2 / typosquat domains, persistence paths, attack window (UTC). Then write the new entry and re-run the scan.
reg query if available, otherwise marked skipped rather than pass.find, grep, jq, stat, ls, shasum, awk, sed -n (print-only), git log (local history reads only, never fetch/pull), reg query (Windows). Forbidden: any redirect that writes outside /tmp/supply-chain-audit-* workdir, any package-manager command that resolves dependencies (npm install, pnpm install, bun install), any network call to api.github.com or registries.~/.npmrc, ~/.ssh/, ~/.aws/, or environment variables containing token-like strings. The point is to detect malware, not exfiltrate the user's own secrets while doing so.~/.iocs.json — versioned IOC pack, the single source of truth.references/campaigns.md — narrative descriptions of each campaign, attribution, technique chains.references/remediation.md — full bake-period setup, post-compromise playbook, credential-rotation order.scripts/scan.sh — the scanner itself. Read it if you need to extend coverage.What SKILL.md sets; muted values are Claude Code's defaults
/crafter-station-deprecated:supply-chain-auditfrom deprecated
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: owner: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
9 skills in this plugin
/cli-auditAudit an existing CLI against cli-build: how well an agent can operate it and how well a human can read it. Use when the user wants to audit a CLI, check whether a tool is agent-first, find out what a published CLI got wrong, grade a CLI's human output, verify that named safety features are actually wired, or prepare a patch list before improving an existing command-line tool. Reports findings with evidence; it does not patch./cli-buildDesign and build a CLI that an AI agent can operate safely and a human can supervise. Use when the user wants to build a CLI, wrap an API in a command-line tool, build a CRUD or local-first tool over a database or filesystem the user already owns, add --json or --dry-run to an existing CLI, design a trust ladder or approval gate for risky commands, wrap an async API so agents do not write their own poll loop, or decide how to distribute a CLI (npm, native binary, source). Runs on its own when the contract is yours to define; follows a surface-recon report when the target is someone else's service./generate-brand-assetsGenerate OG images and favicon based on project branding. Use when: (1) user needs
social media preview images for their project, (2) user wants to generate a favicon,
(3) user is setting up branding assets for a website or app, (4) user has brand colors
and wants professional-looking Open Graph images. Automatically generates correctly
sized images optimized for social platforms (Twitter, LinkedIn, Facebook) and favicon
formats.
/intent-layerSet up hierarchical Intent Layer (AGENTS.md files) for codebases. Use when initializing a new project, adding context infrastructure to an existing repo, user asks to set up AGENTS.md, add intent layer, make agents understand the codebase, or scaffolding AI-friendly project documentation.
/obsidian-plugin-releaseRelease a new version of an Obsidian community plugin without forgetting steps.
Use when: (1) user says "release the plugin", "bump <plugin> to X.Y.Z", "ship a
new Obsidian release", "tag a new plugin version", "publish to the obsidian
directory", (2) the working directory contains manifest.json + main.js +
versions.json (Obsidian plugin signature), (3) user wants to scaffold the
release workflow into an existing plugin (`scaffold-workflow` arg).
Handles version bump across manifest.json + package.json + versions.json,
build, lint, conventional commit, signed annotated tag, push, and lets the
GitHub Actions workflow publish the release with build-provenance attestation.
Idempotent and dry-run-safe.
/skill-genDeprecated. Auto-generate Claude skills from documentation URLs using Firecrawl agent. Use when user wants to create a skill from docs, API references, or tool homepages. Asks up to 3 clarifying questions before deep extraction. Supports topic focus (e.g., "only auth endpoints") and outputs to local .claude/skills/ by default. No longer recommended: the generated output needed enough rewriting that authoring the SKILL.md by hand was faster.Other plugins' skills for the same job