VYPR

npm · Malicious package advisory

Malware

test-brotli-testmetest

GHSA-r5cq-2h3p-f6qf

Malicious code in test-brotli-testmetest (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

test-brotli-testmetest 1.0.0 ships a rebuild of the data-pipeline-testmetest 2.0.1 credential stealer and runs it on `npm install`: its `install` script runs `node-gyp rebuild`, and the `binding.gyp` source `<!(env node index.js >/dev/null 2>&1; echo stub.c)` makes node-gyp run `index.js`, an obfuscated loader that decrypts a Brotli-compressed payload and pipes it into Bun. Published by npm account `testnewtestme2` on 2026-10-21.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d00528d10daab38eadcbc9a9c17890a17aa25e95/osv/malicious/npm/test-brotli-testmetest/MAL-2026-18181.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/d00528d10daab38eadcbc9a9c17890a17aa25e95/osv/malicious/npm/test-brotli-testmetest/MAL-2026-18181.json
- https://www.npmjs.com/package/test-brotli-testmetest/v/1.0.0
- https://github.com/ossf/malicious-packages/blob/f17c406fb7ee5243da902499814340765fd9b86a/osv/malicious/npm/test-brotli-testmetest/MAL-2026-18181.json
- https://github.com/advisories/GHSA-r5cq-2h3p-f6qf

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.