Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

test-brotli2-testmetestnpm

Advisory published Updated

test-brotli2-testmetest is a confirmed malicious npm package (MAL-2026-18182) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in test-brotli2-testmetest (npm)

MAL-2026-18182
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall test-brotli2-testmetest

What this malware does

test-brotli2-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.

The package's scripts.install runs node-gyp rebuild, and binding.gyp uses GYP command-expansion (<!(env node index.js...; echo stub.c)) in its sources list to invoke index.js during the configure phase. The binding.gyp declares target type 'none' and ships no C/C++ sources, so there is nothing to actually build — the file exists solely to trigger execution of index.js at install. index.js is a ~586 KB Caesar-shifted (+5) character-code array passed to eval; the decoded program imports node:crypto and uses createDecipheriv('aes-128-gcm',...) to decrypt further hex ciphertext blobs and execute the plaintext. No readable logic, URLs, or purpose is exposed in source. Installing this package on a default npm install runs this opaque encrypted payload on the installer's machine. CWE-506.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

191cc40d7896b393d37ba01dd32b1087b769c9fc7dd7b2debb32ba4ef34de11d

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for test-brotli2-testmetest (version 1.0.0).

  2. If you installed it — respond

    test-brotli2-testmetest is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If test-brotli2-testmetest was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. test-brotli2-testmetest on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-021575

References

Credits

  • Amazon Inspector · finder
  • Robin Frehner, Protet · finder

Detect & block this

O3 blocks test-brotli2-testmetest-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore