Skip to main content

Malicious code in net-codec-testmetest (npm)

0
High
Published: 10/22/2026 (10/22/2026, 06:11:48 UTC)
Source: GCVE Database
Product: net-codec-testmetest

Description

The net-codec-testmetest npm package version 1.0.1 contains malicious code that abuses the node-gyp build process to execute an obfuscated payload during installation. This payload decrypts and decompresses an embedded binary, which is then executed under the Bun runtime. The package serves as a dropper with no legitimate functionality, designed to stealthily execute arbitrary code on the host system.

Affected software

npmghsa
net-codec-testmetest
Affected versions
=1.0.1

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:42:55 UTC

Technical Analysis

The net-codec-testmetest package (version 1.0.1) includes a binding.gyp file with no native source files but uses GYP command expansion to run an obfuscated JavaScript file (index.js) during the node-gyp rebuild step invoked by npm. This script decrypts an AES-128-GCM encrypted data blob using hardcoded keys, decompresses it with Brotli, and executes the resulting binary under the Bun runtime dependency. This technique leverages install-time execution to smuggle and run a malicious payload, effectively acting as a packed dropper with no legitimate utility.

Potential Impact

This malicious package can execute arbitrary code on the system during installation, potentially leading to full system compromise or further payload delivery. Because the payload is encrypted and executed under an alternate runtime, detection and analysis are complicated, increasing the risk of stealthy persistence or additional malicious activity.

Mitigation Recommendations

No official patch or remediation is currently documented. Users and organizations should avoid installing or using net-codec-testmetest version 1.0.1. Employing package integrity verification, restricting installation of untrusted packages, and monitoring supply chain sources are recommended until an official fix or advisory is released. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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-18186
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ada450d4d27ba8daa6a5b6c

Added to database: 10/22/2026, 17:17:01 UTC

Last enriched: 10/22/2026, 17:42:55 UTC

Last updated: 10/22/2026, 17:42:55 UTC

Views: 4

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