npm

obfuscation-detector npm Malware Advisory

Updated 24 Nov 2026 · Incident date 29 Aug 2026

GitHub marks obfuscation-detector 3.0.1 and 3.1.0 as malware and advises treating affected computers as fully compromised.

GitHub published a malware advisory for the package on 24 November 2026. The bad releases had been gone from npm since 30 August 2026, so past installs are the risk, not new ones.

What happened

GitHub's malware advisory gives response guidance but no technical description of the payload.

  • OpenSSF lists the same affected versions in MAL-2026-20515.
  • That record copies GitHub's warning.
  • The package code was unavailable for inspection. npm had already deleted versions 3.0.1 and 3.1.0.
  • This page therefore reports the advisory and registry facts only. It does not describe a payload.

Affected versions

  • GitHub lists 3.0.1 and 3.1.0 as affected.
  • npm records show 3.0.1 published on 29 August 2026 and 3.1.0 on 30 August 2026.
  • npm now omits both versions from the package's version list. The listed latest version is 3.1.1, published 30 August 2026.
  • The advisory lists no patched version.

Indicators of compromise

Use the package name and affected versions to identify exposure. The fetched advisory gives no payload indicators.

How to check

Search your project lockfiles for the package name, then read the recorded version:

rg -n -F 'obfuscation-detector' package-lock.json pnpm-lock.yaml yarn.lock npm-shrinkwrap.json

Check past build logs and lockfile history for either affected version. Include archived projects and CI workspaces in this review. An absent package today cannot rule out earlier exposure.

What to do now

  1. If either affected version was installed or running, follow GitHub's advice to treat the computer as fully compromised.
  2. Rotate all stored secrets and keys immediately from a different computer.
  3. Remove the package. GitHub warns that removal alone cannot guarantee removal of all resulting malware.

What Vigilance would show

These examples show an install hold and the corresponding owner report.

Example install message

Vigilance blocked `obfuscation-detector` 3.0.1. This version is too new or changed in a way Vigilance must check first.

Example owner report

Bad update

obfuscation-detector 3.0.1

GitHub identifies two releases as malware and advises users to rotate stored secrets from a different computer.

See what to do now.

No security team? See who reads the alert.

Sources

  1. github.com/advisories/GHSA-2f84-r5f9-388p
  2. osv.dev/vulnerability/MAL-2026-20515
  3. registry.npmjs.org/obfuscation-detector

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 202 attacks in the library · npm supply chain attacks · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start freeBrowse the attack library