Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in testingsmthb1g (npm)

0
High
Published: 08/18/2026 (08/18/2026, 23:26:01 UTC)
Source: GCVE Database
Product: testingsmthb1g

Description

The npm package 'testingsmthb1g' version 1.0.0 contains malicious post-installation code that downloads and executes a payload from a personal GitHub repository. The postinstall.js script uses XOR obfuscation to decode a URL and a PowerShell command, which it uses to fetch and run a Windows executable, including escaping from WSL/Linux environments to the Windows host. It also sends platform information to a hardcoded IP address. This behavior constitutes a malicious package with install-time code execution.

Affected software

npmghsa
testingsmthb1g
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: 08/19/2026, 14:53:55 UTC

Technical Analysis

The 'testingsmthb1g' npm package version 1.0.0 includes a postinstall.js script that runs during npm install. This script decodes an XOR-obfuscated URL pointing to a Windows executable hosted on a personal GitHub repository unrelated to the package publisher. On Windows, it downloads and executes this binary detached from the install process. On WSL or virtualized Linux, it detects the environment and executes an XOR-decoded PowerShell command to run the same payload on the Windows host, effectively escaping the Linux sandbox. Concurrently, it sends a platform label to a hardcoded IP address using an obfuscated hostname. The payload delivery and command execution are obfuscated using XOR-encoded integer arrays reconstructed at runtime.

Potential Impact

This malicious package enables arbitrary code execution on the host system during installation, potentially allowing an attacker to run unauthorized binaries and commands. The payload is downloaded from an untrusted source and executed with the privileges of the installing user. The script also leaks platform information to a remote IP address, which could aid in further targeted attacks or tracking. The sandbox escape technique on WSL/Linux increases the attack surface by compromising the Windows host from a Linux environment.

Defensive Guidance

No official patch or remediation is indicated in the provided data. Users should avoid installing version 1.0.0 of the 'testingsmthb1g' npm package. Since this is a malicious package, the best mitigation is to remove it from any systems where it was installed and audit for any unauthorized activity. Monitor for similar malicious packages and rely on trusted sources for npm packages. Patch status is not yet confirmed — check the vendor advisory or npm security advisories 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-14142
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4cbacd9273b49252eaa

Added to database: 08/19/2026, 13:51:07 UTC

Last enriched: 08/19/2026, 14:53:55 UTC

Last updated: 08/20/2026, 00:27:08 UTC

Views: 6

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