Skip to main content

Malicious code in test-brotli2-testmetest (npm)

0
High
Published: 10/21/2026 (10/21/2026, 18:00:00 UTC)
Source: GCVE Database
Product: test-brotli2-testmetest

Description

The npm package test-brotli2-testmetest version 1.0.0 contains malicious code that executes during installation. Its install script triggers node-gyp to run an obfuscated JavaScript loader (index.js) that decrypts and executes a Brotli-compressed payload. This payload acts as a credential stealer. The package was published by the npm account testnewtestme2 on 2026-10-21.

Affected software

npmghsa
test-brotli2-testmetest
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 17:41:36 UTC

Technical Analysis

The test-brotli2-testmetest 1.0.0 npm package includes a malicious install script that leverages node-gyp's build process to execute an obfuscated loader script (index.js). The binding.gyp file uses GYP command expansion to run index.js during the configure phase, despite declaring no actual build targets or source files. The loader script is a large Caesar-shifted character array that, when decoded, imports node:crypto to decrypt an AES-128-GCM encrypted payload. This decrypted payload is executed on the installer's machine and functions as a credential stealer. The package was published on 2026-10-21 by the npm user testnewtestme2. No readable logic or URLs are exposed in the source, making the payload opaque and malicious.

Potential Impact

Installing this package results in execution of a concealed malicious payload on the installer's machine, which steals credentials. This compromises the security and privacy of the affected system and any credentials stored or accessible during installation.

Mitigation Recommendations

No official patch or remediation is indicated. Users should avoid installing the test-brotli2-testmetest package version 1.0.0. Remove any installations of this package and audit systems for potential credential compromise. Monitor npm package sources and verify publisher authenticity before installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-18182
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ada450b4d27ba8daa6a5b51

Added to database: 10/22/2026, 17:16:59 UTC

Last enriched: 10/22/2026, 17:41:36 UTC

Last updated: 10/22/2026, 17:41:36 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses