More screenshots

    Works with the AI Agents you already use

    npm & PyPI Worm Check: Find Hijacked Packages in a Minute

    by ELVOR STUDIO

    1

    Was your project hit by the latest npm or PyPI worm? Your agent checks every installed version, shows the evidence and tells you exactly which keys to rotate.

    $9

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    What it does

    • Checks every package version in your lockfiles against the OpenSSF malicious-packages data
    • Finds worm traces: credential-stealing install scripts and CI workflows that leak secrets
    • Gives a plain verdict: compromised, exposed, suspicious or clean
    • Builds a rotation checklist from your project, npm and GitHub tokens first
    • Cleans up and hardens installs with your go-ahead, then re-scans to prove it is fixed
    • Adds an optional CI gate that runs on every pull request and daily

    Who it's for

    JavaScript teams after a new worm wave

    Know in a minute whether you are affected, instead of reading advisories all afternoon.

    Try asking: “The chalk and debug packages were hijacked. Are we affected?”

    Agencies and freelancers with many client repos

    Scan each client repo and get one clear verdict per project.

    Try asking: “Scan every project in ~/clients for hijacked npm packages.”

    Python teams on pip, Poetry or uv

    The same check for PyPI lockfiles and virtual environments.

    Try asking: “Check this repo for the litellm compromise.”

    npm & PyPI Worm Check: Find Hijacked Packages in a Minute

    npm & PyPI Worm Check: Find Hijacked Packages in a Minute

    Example session with this skill installed

    The chalk and debug packages got hijacked. Are we affected? Check this repo.

    • Read your context and instructions
    • Compiled the npm & pypi

    Verdict: EXPOSED. Three hijacked versions are pinned in package-lock.json, so their install scripts have probably run on any machine that installed them. Rotate before you clean up.

    #SeverityFinding
    SC-001Criticalansi-styles@6.2.2 is a known malicious version
    SC-002Criticalchalk@5.6.1 is a known malicious version
    SC-003Criticaldebug@4.4.2 is a known malicious version
    SC-004MediumCI uses npm install instead of npm ci
    SC-005LowInstall scripts run automatically on install

    7 package versions checked.

    Rotate first

    5 items, built from this project: the npm and GitHub tokens first, because the worm uses them to spread, then the CI secrets your workflows use. Names only: no secret values were read.

    Clean up and harden

    With your go-ahead I removed the three versions, regenerated the lockfile with install scripts off, switched CI to npm ci and turned install scripts off by default.

    Re-scan

    Verdict: CLEAN. Gate passed. Since the last scan: 5 fixed, 0 new, 0 still open.

    Next steps

    • "Add the CI gate so this runs on every pull request"
    • "Scan our other repos"
    • "Walk me through rotating the npm token"
    $9/mo

    Subscription · always the latest version

    • Secure checkout via Stripe
    • Cancel anytime
    • Delivered live via MCP

    About this skill

    Every few weeks a worm hijacks packages that millions of projects depend on: chalk and debug, Shai-Hulud, keyv and cacheable, litellm on PyPI. Each wave raises the same two questions: are we affected, and which keys do we rotate? Answering by hand means reading advisories and searching lockfiles, and it still does not tell you what was exposed.

    This skill answers both in about a minute, with evidence, and hands you the rotation list.

    How it works

    • Check: every package version in your lockfiles and installed folders is checked against the OpenSSF malicious-packages data (OSV.dev, free, no key). An installed bad version means its install script has probably run.
    • Look for traces: install scripts that harvest credentials, CI workflows that dump or post secrets, self-hosted runner tricks, workflows added in the last 45 days.
    • Verdict and rotation list: compromised, exposed, suspicious or clean, with a checklist built from your project. It lists secret names, never values.
    • Clean up and harden with your go-ahead: remove the bad versions, npm ci, install scripts off, release-age cooldowns.
    • Re-scan to show what is fixed, new and still open. Optional CI gate on every pull request and daily.

    New wave not listed yet? Give your agent the advisory's exact versions and it scans for them, offline if needed.

    Proof

    On a demo project with the hijacked chalk, debug and ansi-styles versions, the first scan returned EXPOSED with 3 critical findings. After cleanup the re-scan returned CLEAN: 5 fixed, 0 new, 0 still open.

    Who it is for

    • JavaScript and Python teams the day a new wave hits
    • Agencies and freelancers who look after many client repos
    • Anyone who wants a CI check that blocks the next hijacked version before it installs

    How it is built

    npm, Yarn (v1 and Berry), pnpm, Bun, pip, Poetry, uv, PDM and Pipenv. Only public package names and versions are sent to OSV.dev. Zero dependencies, Node 18+, MIT licence, tested on Windows and Linux.

    It finds versions listed in the OpenSSF malicious-packages data or that you add as indicators, so a brand-new attack needs the advisory's exact versions. A clean result cannot prove nothing was stolen before you scanned. Rotating the secrets stays your job; the checklist tells you which ones.

    Node 18+ ESM script (scripts/scguard.mjs) with no dependencies. Queries OSV.dev /v1/querybatch in chunks of 500; MAL- ids are malware, GHSA ids are ordinary vulnerabilities (listed with --vulns). Writes .scguard/report.md and report.json (with its own .gitignore), compares with the previous scan, supports .scguard-ignore.json (fingerprints with reasons) and .scguard-iocs.json (your own indicators, works offline with --offline). Options: --fail-on, --private-scope, --baseline, --quiet. Exit codes 0 pass, 1 fail, 2 usage. install-ci copies the scanner to tools/scguard and adds .github/workflows/supply-chain-check.yml (pull requests, pushes and a daily cron; prints only the verdict on public repos). Tests run against throwaway projects and a fake OSV server.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Node.js 18+

    Only public package names and versions are sent to OSV.dev. Private and workspace packages are never sent, and secret values are never read.

    Permissions

    Read Files
    Write Files
    Network Access
    Terminal / Shell
    Listedtoday

    What's inside

    Frequently Asked Questions

    npm audit reports advisories for npm packages. This checks npm and PyPI lockfiles and installed folders against the OpenSSF malicious-packages data, looks for the traces a worm leaves in install scripts and CI workflows, and tells you exactly which credentials to rotate, then re-scans to prove the clean-up worked.

    The skill produces a verdict report in your project folder that labels your status as COMPROMISED, EXPOSED, SUSPICIOUS, or CLEAN. It also provides a specific list of credentials you should rotate, such as GitHub tokens or cloud keys, and highlights exactly which files or code lines look dangerous.

    The scanner works with npm and PyPI ecosystems, specifically looking at package lockfiles and CI workflows. It checks these against the OSV.dev malicious package database to identify threats.

    The skill only detects threats that are already listed in public databases. It cannot find brand new attacks that have not been reported yet, nor can it identify custom malicious code that you wrote yourself.

    You can ask your agent to scan a specific folder for malicious packages or check if you were affected by a specific recent software worm. You can also ask it to harden your settings or add a security check to your GitHub workflow.

    You just need a project folder and Node 18 or later. The skill makes a network call to fetch threat data but only sends public package names and versions, keeping your private code and local package names private.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.