Skip to content
Skill

Supply chain audit

Read-only scan of a developer machine for known npm and PyPI supply-chain malware

Supply chain audit is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
shell
Platforms
Claude Code, Codex, Cursor
GitHub stars
115
Last commit
License
MIT
Listing updated

Similar skills

About Supply chain audit

This skill runs a read-only forensic check of a developer machine for indicators of compromise from recent npm and PyPI supply-chain attacks. It looks for persistence artifacts such as LaunchAgents, systemd units, Windows Run keys and dropper files, searches for known payload filenames and hashes, and flags compromised package versions found in node_modules under the project roots the user chooses.

The scanner works in phases. Persistence and payload checks run first, followed by package version and lockfile inspection, a time-window check for files written during published attack periods, and a review of project repositories for planted artifacts and forged commit authors in git history. The IOC list is kept in a versioned JSON file so new campaigns can be added without changing the skill itself.

Results are reported as a PASS or FAIL verdict with an IOC checklist, an inventory of packages from affected scopes marked for review rather than failure, and a phase summary. When compromise signals appear, the output starts with a warning not to revoke access tokens until the user has checked token activity from a clean machine. When the host is clean, it recommends a minimum release age setting for package managers. Expects bash and standard Unix tools such as find, grep, jq, shasum and git.

When your agent uses it

Read-only audit of a developer machine for npm/PyPI supply-chain compromise. Checks for known IOCs from the 2025-2026 wave — Shai-Hulud 2.0 (Nov 2025), Mini Shai-Hulud / TeamPCP (May 2026), Axios DPRK (Mar 2026), Shai-Hulud 3.0 / keyv-cacheable (Aug 2026), and any future campaigns added to the IOC pack. Scans persistence artifacts (LaunchAgent / systemd unit / Windows Run key / gh-token-monitor / .claude and .vscode droppers), payload files (router_init.js, setup_bun.js, bun_environment.js, Math_Symbol.js, math_init.js), compromised package versions in every node_modules under the user's project roots, C2 / typosquat domain strings (git-tanstack.com, api.masscan.cloud, sfrclak.com, getsession.org, npm-cache.com), malicious commit hashes (79ac49ee), payload SHA256s, optionalDependencies pointing at git refs, and files written during the published attack windows. Produces a PASS/FAIL verdict, IOC checklist, at-risk package list, phase summary, and 48h bake-period remediation. Use this skill whenever the user as

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (57 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the stable plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add crafter-station/skills
/plugin install stable@crafter-station-skills

Or copy only this skill to ~/.claude/skills/supply-chain-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/supply-chain-audit &&
cp -R "$tmp/skills/supply-chain-audit" ~/.claude/skills/supply-chain-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/supply-chain-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/supply-chain-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/supply-chain-audit &&
cp -R "$tmp/skills/supply-chain-audit" ~/.agents/skills/supply-chain-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/supply-chain-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/supply-chain-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/supply-chain-audit &&
cp -R "$tmp/skills/supply-chain-audit" ~/.cursor/skills/supply-chain-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/supply-chain-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/crafter-station/skills.git --path skills/supply-chain-audit

Or copy the folder to ~/.gemini/skills/supply-chain-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/supply-chain-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/supply-chain-audit &&
cp -R "$tmp/skills/supply-chain-audit" ~/.copilot/skills/supply-chain-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/supply-chain-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/crafter-station/skills.git

Then copy skills/skills/supply-chain-audit into your agent's skills folder as supply-chain-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Persistence artifact checks
Looks for LaunchAgents, systemd units, Windows Run keys and dropper files that malware leaves to survive reboots.
Payload and hash matching
Searches for known payload filenames, SHA256 hashes, and command-and-control or typosquat domain strings.
Compromised package detection
Checks node_modules under project roots for known malicious package versions and git-ref optional dependencies.
Attack window timeline
Flags files written during published attack periods, which indicates whether the host was exposed.
Repository and git history review
Scans project repos for planted artifacts and commits authored by forged identities.
Remediation guidance
Produces a verdict with next steps, including token handling order and a 48-hour release-age setting.

Good for

  • Check whether my machine was affected by a recent npm supply-chain attack
  • Scan my project folders for compromised package versions
  • Verify a coworker's developer machine after a security disclosure
  • Review git history for commits from forged author identities
  • Set up a 48-hour minimum package release age after a clean scan

Supply chain audit FAQ

What does the skill need to run?

It runs a bash scanner script using standard tools such as find, grep, jq, shasum and git, and it does not modify files on the target machine.

Does Supply chain audit change anything on my machine?

No. The skill is read-only and writes only to a temporary workdir under /tmp, and it avoids reading credential files and running package installs.

Why does a package show as REVIEW instead of FAIL?

Having a package from an affected scope installed does not prove exposure. Only confirmed signals such as persistence artifacts, payload matches or time-window hits produce a FAIL.

How are new campaigns added?

New campaigns are appended to the iocs.json file, and the scanner picks them up without changes to the skill body.

How do I install Supply chain audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/supply-chain-audit to use it in all your projects, or to .claude/skills/supply-chain-audit in one project. Or install the stable plugin, which includes it: /plugin marketplace add crafter-station/skills, then /plugin install stable@crafter-station-skills.

Does Supply chain audit run scripts?

Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Supply chain audit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Supply chain audit?

The closest alternatives to Supply chain audit are Supply chain audit, Supply chain risk auditor, Skill scanner, Source code scanning and Dependency health triage.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from crafter-station/skills

  1. Audits an existing CLI for agent operability and human readability, reporting

    • Open source
    • 115 GitHub stars
    • Developer tools
  2. Guides an agent through building CLIs it can run safely and a human can supervise

    • Open source
    • 115 GitHub stars
    • Developer tools
  3. Generates OG social preview images and favicon sets from your brand colors

    • Open source
    • 115 GitHub stars
    • Design and media
  4. Builds hierarchical AGENTS.md context files so agents can navigate a codebase

    • Open source
    • 115 GitHub stars
    • Developer tools
  5. Guides a full Obsidian community plugin release from version bump to published tag

    • Open source
    • 115 GitHub stars
    • Developer tools
  6. Generates a draft Claude skill from documentation URLs via Firecrawl (deprecated)

    • Open source
    • 115 GitHub stars
    • Developer tools