Safeguard
Supply Chain Security•

npm Malware Today: Packages Flagged on 25 Nov 2026 and How to Check

The npm malware advisories published on 24 and 25 November 2026, what each one says, the patterns behind them, and the commands to check your lockfiles today.

Safeguard Security Team
19 min read

Yes, there is npm malware today, and there is some every day. On 25 November 2026 the GitHub Advisory Database published 58 new malware advisories for npm packages between 00:35 and 17:38 UTC, and the OpenSSF malicious-packages project kept adding MAL- records through the afternoon. To see the live list, open the GitHub Advisory Database filtered to malware, the OSV.dev npm list (IDs that start with MAL-), or the ossf/malicious-packages repository. Then check your lockfiles with the commands below.

This page is a dated snapshot plus a runbook. For background on how npm malware works and the named campaigns of the past year, read our explainer npm malware today: threats and defenses.

Key takeaways

  • Volume: our pull of the GitHub advisories API at 18:10 UTC on 25 November 2026 returned 100 npm malware advisories published in the previous 28 hours, 58 of them on 25 November.
  • A real project release was hit. @wppconnect/server 2.10.82 and @wppconnect-team/wppconnect 2.4.1, a WhatsApp automation server and library, shipped a module that uploads environment variables, .env files and WhatsApp session tokens to a Telegram bot, per OSV records MAL-2026-20043 and MAL-2026-20044.
  • Typosquats are still the bulk. 27 of the 100 advisories cover one scope, @prime0, holding misspellings of ajv, glob, minipass, source-map, type-fest and other popular names.
  • Some malware runs on require(), not on install. Several advisories describe native addons that drop and launch a hidden binary when the package is imported, and skip CI runners and containers on purpose. Turning off install scripts does not stop those.
  • Advisory date is not publish date. The @prime0 packages were published to npm on 15 September 2026 according to their advisory text. The GitHub advisories appeared on 25 November.

Where to see npm malware today, live

GitHub Advisory Database, malware type. IDs like GHSA-xxxx-xxxx-xxxx, summaries such as Malware in <package>. The REST endpoint https://api.github.com/advisories?type=malware&ecosystem=npm returns JSON you can script against (API docs). Unauthenticated calls are rate limited, so use a token for anything regular.

OpenSSF malicious-packages. OSV-format reports, one JSON file per package under osv/malicious/npm/<name>/. Reports arrive through automated ingest commits, then a bot assigns permanent MAL- IDs.

OSV.dev. The aggregator that serves both through one API. A POST https://api.osv.dev/v1/query with a package name and ecosystem returns every MAL- and GHSA record for that package. This is also what osv-scanner queries.

Many advisories carry only generic text. In our pull, 59 of the 100 GitHub records said just that "any computer that has this package installed or running should be considered fully compromised" and that secrets should be rotated from a different computer. The detail, when there is any, sits in the matching OSV record.

What we saw on 25 November 2026

Method, so you can repeat it: at 18:10 UTC (23:40 IST) we called the GitHub advisories API for type=malware&ecosystem=npm, 100 results per page. The page covered advisories published from 14:21 UTC on 24 November to 17:38 UTC on 25 November. We then queried OSV.dev for the MAL- record behind each advisory below. Descriptions paraphrase or quote the advisory text and go no further.

Package names are plain text on purpose. Do not install any of them to take a look.

PackageGitHub advisoryOSV IDWhat the advisory says
@wppconnect/server 2.10.82GHSA-h4r5-vmch-5qghMAL-2026-20043Release loads a module at server start that uploads env vars, config files and WhatsApp session tokens to a Telegram bot
@wppconnect-team/wppconnect 2.4.1GHSA-cxc9-87g6-qrj9MAL-2026-20044Same module, runs when the library is imported
@prime0/surce-map and 26 siblingse.g. GHSA-65xp-6j7g-2j52e.g. MAL-2026-20544Typosquats; postinstall sends a host fingerprint, main module polls for commands and runs them
ts-input-utilsGHSA-2774-9v94-pwx8MAL-2026-20548Postinstall requests cloud service account tokens from the metadata server and posts them out
onlinegdbGHSA-78c6-r6qr-m6xfMAL-2026-20549Postinstall runs env, ps, id and network commands and uploads the output
fast-url-utilsGHSA-4m8h-gfgm-v3gxMAL-2026-20556Native addon loaded on import drops and runs a packed payload, skips CI and containers
array-native-utilsGHSA-jr78-r329-8ghfMAL-2026-20555Same native dropper pattern
qs-parse-native, qs-native-parseGHSA-j25q-wgrg-778v, GHSA-6f6g-jx4v-ff5qMAL-2026-20558, MAL-2026-20557Querystring parsers that load a dropper addon
jikaya-parser, hijiko-parserGHSA-hch9-mv55-x2c9, GHSA-3mx6-q75j-9h3pMAL-2026-20551, MAL-2026-20550Only dependency is a plain HTTP tarball URL off the registry
use-sync-external-store-shimGHSA-2x3h-q46j-64j2MAL-2024-3805Look-alike of a React shim; postinstall beacons hostname and working directory to a webhook
@zhengliyoux/baileysGHSA-p3c5-pqp5-rw66MAL-2026-19115Fork of the Baileys WhatsApp library that auto-follows a hardcoded WhatsApp channel on connect

A real project release, not a look-alike

The entry that matters most for working teams is @wppconnect/server 2.10.82. It is not a typosquat. It is a release of a real open source REST server for WhatsApp automation.

The OSV record MAL-2026-20043 says 2.10.82 ships dist/util/diagnostics.js, loaded unconditionally on server start, and that 2.10.81 does not load it. The module collects every environment variable, the files .env, .env.local, .env.production, config.js, config.json and ormconfig.json from the working directory, and the WhatsApp session token files under tokens/ and wppconnect_tokens/. It looks up the public IP and uploads the bundle to the Telegram Bot API. It waits a random 30 to 240 seconds, sends at most once per 24 hours per machine, and does nothing on hosts it identifies as CI or a sandbox.

Per the record, 2.10.82 was published on 16 November 2026 at 03:09 UTC through the project's release workflow. The source line was added in a commit at 02:43 UTC and removed by a pull request at 03:44 UTC, yet the record says 2.10.82 was still served by npm when it was written. The same module reaches the server through @wppconnect-team/wppconnect 2.4.1, which runs it on import (MAL-2026-20044, GHSA-cxc9-87g6-qrj9). The project tracks it in issue 2734.

Two details are worth reading twice. The OSV record dates from 16 November, but the GitHub advisory GHSA-h4r5-vmch-5qgh was published on 25 November. Watch only one feed and you could learn about this nine days later than necessary. And the module avoids CI on purpose, so a clean build log tells you nothing. The machines that matter are the servers that started 2.10.82 and the laptops that ran it.

The record's advice is direct: anyone who installed or started 2.10.82 should treat that machine's environment variables, those files and its WhatsApp sessions as exposed, rotate the credentials and log the sessions out.

A typosquat batch flagged ten weeks late

Twenty-seven advisories belong to the @prime0 scope. Names like @prime0/surce-map, @prime0/ajjv, @prime0/gglob and @prime0/tye-fest sit a keystroke or two from source-map, ajv, glob and type-fest.

The advisory text (MAL-2026-20544 and siblings) says the batch was published on 15 September 2026. A postinstall.js hook posts a host fingerprint (hostname, username, working directory, platform, IP addresses, uptime) to a hardcoded server. The main module, which calls itself a "stealth agent", sends the same fingerprint when required, then polls every 30 seconds for a command, runs it with child_process.exec and posts the output back. The packages have since been removed from npm, the advisory says.

Nobody types @prime0/ by accident, so these depend on copy-paste or a bad suggestion from a coding assistant. The date gap is the lesson: some malware sits in the registry for weeks before anyone files it.

Droppers that wake up on require() and avoid CI

Five advisories published on 25 November, four of them at 09:30 UTC, describe the same build. fast-url-utils, array-native-utils, qs-parse-native, qs-native-parse and native-stream-parser present as small pure JavaScript helpers. Per the advisories, each loads a platform-specific native addon from index.js at import time. The addon reads an opaque bundled blob, writes it to a temp path, marks it executable and launches it as a detached process.

The advisories list the checks the addons run first: CI variables such as GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL and BUILDKITE, container hints in /proc/1/cgroup, and debugger presence. If any are found, the dropper does nothing. The advisory for array-native-utils states the intent: run "only on real developer or production hosts".

That matters for defence. ignore-scripts only stops lifecycle hooks during install. A dropper that runs on require() fires the first time your app or test suite imports it, and its CI checks mean sandbox runs come back clean.

Install scripts that go after cloud credentials

ts-input-utils is presented as form-input validators. The advisory says its postinstall hook keys on a cloud build sandbox, asks the Google Cloud metadata server for the project ID, requests OAuth access tokens for the default service account and a Workload Identity service account, and posts the raw tokens to an outside server.

onlinegdb is blunter. Its postinstall runs ps aux, id, ip addr show, ss -antp, env and df -h, then uploads the output. That sends the full environment of the installing host, secrets included.

use-sync-external-store-shim imitates the real use-sync-external-store React shim while describing itself as "a utility for managing SVG buckets", and its postinstall sends the hostname and working directory to a webhook. Its OSV ID is MAL-2024-3805: the record is older than the GitHub advisory that surfaced today.

Dependencies that skip the registry

jikaya-parser and hijiko-parser ship an inert index.js. Their only dependency is a plain HTTP tarball URL on a third-party host instead of a version range. The advisories spell out the result: npm fetches whatever bytes the URL returns at install time, with no version pin, no integrity hash and no TLS, and runs any lifecycle scripts inside. ticket-symbol-stream-native (MAL-2026-20520) does the same with a URL on a serverless Workers subdomain. This is easy to search for in your own lockfiles, shown below.

AI tooling names, bot forks and internal-looking names

@apexfdn/copilot-mcp and zevairouter-cli carry only the generic text. @guangnao/claude-cli has an older record, MAL-2026-13209, which says the bundled CLI hides a hub endpoint behind a custom decoder and adds it by default on start. Nothing in these records ties them to the vendors whose product names they borrow.

Three trojanized forks of the Baileys WhatsApp library also arrived. We covered that family in Baileys npm malware forks.

Names like devplatform-hooks and checkout-public-tokens read like packages from a private registry, the shape of a dependency confusion attempt, but most carry only generic text. Another run of film streaming names is search spam the database also classifies as malware.

How to check your projects today

Run these from the repository root. They are read-only.

1. Compare your lockfile to today's malware names.

# names from the latest 100 npm malware advisories (use a token for more pages)
curl -s -H "Accept: application/vnd.github+json" \
  "https://api.github.com/advisories?type=malware&ecosystem=npm&per_page=100" \
  | jq -r '.[].vulnerabilities[].package.name' | sort -u > malware-names.txt

# names resolved in package-lock.json (npm v7 and later)
jq -r '.packages | keys[]' package-lock.json \
  | sed -E 's#.*node_modules/##' | grep -v '^$' | sort -u > our-names.txt

comm -12 our-names.txt malware-names.txt

Any output line is a name you resolve that has a malware advisory. Then compare the version, because some records name a single version (@wppconnect/server lists only 2.10.82). For pnpm and Yarn lockfiles, a fixed-string search is a fair first pass: grep -F -f malware-names.txt pnpm-lock.yaml yarn.lock.

2. Find where a name comes from.

npm ls @wppconnect/server --all
pnpm why @wppconnect/server
yarn why @wppconnect/server

npm ls prints every path to the package and the installed version, which tells you which direct dependency to remove or pin.

3. Scan lockfiles against OSV. OSV-Scanner reads lockfiles and queries OSV.dev, which carries MAL- records next to ordinary vulnerabilities, so an exact version match on a malicious release shows up in the same report.

osv-scanner scan source -L package-lock.json
osv-scanner scan -r .

4. Look for dependencies resolved outside your registry. This catches the jikaya-parser pattern and any tarball or git URL you did not mean to allow.

jq -r '.packages[] | .resolved // empty' package-lock.json \
  | grep -vE '^https://registry\.npmjs\.org/' | sort -u

If you use a private registry or mirror, swap in its host. Anything left over deserves a look.

5. Verify signatures, and know what that proves. npm audit signatures verifies registry signatures and provenance attestations of downloaded packages. That confirms you have what the registry published. It does not judge what the author published, so a malicious package with a valid signature still passes.

6. Check machines, not only the repo. Search developer laptops, build caches and container images for the same names. Our guide on checking whether a package name appears in a malware advisory covers the registry side in more depth.

What to do if you installed one

Malware advisories have no fixed version, so upgrading is not the answer. Our post on what to do when a malware advisory has no fixed version goes step by step. The short form:

  1. Isolate the host. Take the laptop, server or runner off the network, or at least out of production paths, before cleaning.
  2. Rotate from a different machine. Every credential the host could read is suspect: npm tokens, cloud keys, Git and SSH credentials, .env contents, database passwords, messaging session tokens. Rotating from the infected machine hands the new secret to the same malware.
  3. Rebuild, do not patch in place. Restore a known-good lockfile from before the bad version entered, delete node_modules, clear the package manager cache, and reinstall on a clean machine.
  4. Check CI and build caches. Self-hosted runners keep state between jobs. Rebuild any image built while the bad version was in the tree.
  5. Read the specific record. Some payloads persist through a scheduled task, an SSH key or a launch agent. The OSV record or upstream issue tells you where to look.
  6. Check what the stolen credentials touched. Cloud audit logs, registry publish history and Git push history for the exposure window.

How to stop the next one

Turn off install scripts by default. In .npmrc, ignore-scripts=true stops npm running preinstall, install and postinstall scripts (npm config docs). The pnpm supply chain security page says pnpm does not run dependency build scripts unless a package is listed in allowBuilds, and strictDepBuilds fails the install when an unlisted package has one. Yarn has enableScripts in .yarnrc.yml. This blocks the @prime0, ts-input-utils and onlinegdb routes. It does not block droppers that run on require().

Add a release-age gate. npm's min-release-age sets how many days a version must have been available before npm resolves it, with min-release-age-exclude for your own packages. pnpm's minimumReleaseAge is in minutes and its docs say it defaults to 1440 (one day). Yarn's equivalent is npmMinimalAgeGate. A seven-day gate would have kept @wppconnect/server 2.10.82 out of fresh installs for its first week, and its OSV record appeared about an hour after release. It would not have helped against the @prime0 batch, which waited ten weeks.

# .npmrc
ignore-scripts=true
min-release-age=7
min-release-age-exclude[]=@yourco/*
@yourco:registry=https://npm.internal.example.com/

Pin scopes to your registry. A scope mapping like @yourco:registry=... sends every @yourco/ package to your private registry, so a public package with the same name never wins. Register the scope on the public registry too, and move unscoped internal names under it.

Block exotic sources. pnpm's blockExoticSubdeps, on by default per its docs, stops transitive dependencies resolving to git repositories or direct tarball URLs. With npm, allow-git=none or allow-git=root limits git dependencies, and check 4 above catches tarball URLs in review.

Keep CI credentials short-lived. Payloads read whatever the process can see. Job-scoped OIDC cloud credentials and no long-lived publish tokens on runners shrink what an install script can take.

How Safeguard helps

Package Firewall sits on the install path. Per the Safeguard docs, it runs as an install-time proxy in front of npm and pip, so every fetch, transitive ones included, is evaluated before the package reaches a laptop or build. It can block known-malicious packages, typosquats of well-known names and dependency confusion packages, with allow, warn and block outcomes and an audit mode to measure impact before you enforce. Every decision goes to an audit trail.

Software composition analysis and SBOMs give you the inventory the checks above depend on: which repositories, services and images contain a given package name and version. When a new advisory lands, "do we have it anywhere" becomes a search instead of a week of grep. Continuous re-scanning and policy gates keep that inventory current as advisory data changes and can stop a merge that adds a dependency your policy does not allow.

Why malware needs different handling from CVEs is covered in why CVE-based scanning misses malicious packages. For the browser side of the same problem, compromised third-party scripts and skimmers, see JavaScript malware today. If you suspect a machine is already compromised, start with am I hacked today.

A malicious package has no fixed version, so the steps above are how you handle one. The rest of your JavaScript dependency tree still carries ordinary vulnerabilities, and that is where the next section applies.

Fix it without waiting for upstream

Whatever the vulnerability, most of the risk sits in two gaps. The first is the time between a fix being published and that fix actually running in your production builds. The second, and worse, is the time before any fix exists at all, while a maintainer works out a patch and a release schedule. Waiting through both gaps is a habit, not a requirement. Safeguard gives teams three ways to close them.

1. Autonomous remediation: pull requests, not tickets

When a fixed version exists, Griffin, Safeguard's security model, opens a policy gated pull request that moves the affected dependency to the safe version, and your own CI runs your tests on it before anyone merges. You can run it on one repository or in bulk across every project that carries the vulnerable version. Remediation categories include dependencies, licenses, security posture and findings, and each one is set separately. Reachability analysis ranks the vulnerable code paths your application actually calls first, so the first pull requests you merge are the ones that matter most. Auto-merge is a separate switch and stays off by default, so your team decides what merges on its own and what still needs a human approval.

2. Gold Open Source: the safe version in seconds, free

gold.safeguard.sh is free and needs no login. Search any CVE or package to see affected and fixed versions, CVSS, EPSS, CISA KEV status and a recommended safe version, or use the "Am I affected?" checker. The same data is available through a free read API, README status badges and RSS threat feeds.

3. Gold Registry: start from components that are already fixed

Safeguard Gold rebuilds patched versions of open-source packages and images from source, signs each build, attaches an SBOM, SLSA provenance and VEX, and serves them from registry.safeguard.sh to your organization. Every Gold artifact is held continuously to zero exploitable critical or high CVEs and a completed license check, with signed build provenance (signed with Safeguard's key and verifiable with cosign, SLSA Build Level 3 as the design target) and a public evidence page you can hand to an auditor. An artifact loses its Gold badge if it regresses. Teams can point their own package directory at the registry so hardened equivalents resolve without changing how developers install anything.

When upstream has no fix yet, or will not ship one, Safeguard first works to get the fix accepted upstream. If the issue is severe or upstream will not move, Safeguard builds a fork, fixes the vulnerability there and publishes a hardened Gold build, so you are not stuck on a maintainer's release schedule. You can also request a hardened build of a specific package. Ask which packages it covers before you plan around it.

Your situationWhat to use
A fixed version existsAutonomous remediation opens the upgrade pull request; Gold Open Source confirms the safe version
You need to know today whether you are affectedGold Open Source lookup and "Am I affected?" checker, free and without login
You want vulnerable versions to stop shippingSafeguard policies and gates in CI
Upstream has no fix yet, or will not ship oneA custom Gold request; fork and patch
You want to start clean on new projectsPull hardened components and images from Gold Registry

One honest limit: when the vulnerable code lives in a vendor appliance, a hosted service or an operating system runtime you do not build yourself, the fix still has to come from that vendor or distribution. The steps above apply to the open source dependencies and container images you build and ship, which is where most teams carry the largest and least tracked share of their exposure.

FAQ

Is there npm malware today?

Yes. On 25 November 2026 GitHub published 58 npm malware advisories by 17:38 UTC, and OSV added more. New malicious packages are reported every day, so check a live feed rather than a static list.

How do I check if I installed a malicious npm package?

Intersect the names in your lockfile with the GitHub malware feed, run osv-scanner on your lockfiles, and use npm ls with the package name to find the path for anything that matches. Then check developer machines and images, not only the repository.

Does npm audit find malware?

npm audit reports vulnerabilities from the registry's advisory data, and npm audit signatures checks integrity and provenance. Neither is a dedicated malware check, so query the malware feeds or OSV directly.

Does ignore-scripts protect me?

Partly. It stops install-time hooks, which several of today's packages used. It does not stop code that runs when a module is imported, which is how the native dropper family and the WhatsApp server module worked.

Last reviewed: 25 November 2026.

Sources

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

We email you a link to confirm, and only then add you to the list. Unsubscribe in one click. Privacy

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.