testingsmthb1g
Affected
- Versions:
1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in testingsmthb1g (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (04fa6b8b5826315448e5d4f27036ab31ef115621027c040897e200894c43dfa3)
scripts/postinstall.js runs at npm install and performs an install-time dropper chain. A URL stored as an integer array is XOR-decoded (key 'stf2026') to https://github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe — a personal GitHub account unrelated to the package publisher, at a random-named repository with a mutable 'null' release tag. On Windows, the script downloads this binary to the TEMP directory and spawns it detached with stdio ignored. On WSL/virtualized Linux, the script detects the environment via /proc/version and WSL_DISTRO_NAME, assembles an XOR-decoded PowerShell command line, and executes it via exec() to fetch and run the same payload on the Windows host, escaping the Linux sandbox. In parallel, the script POSTs a platform label to a hardcoded bare-IP endpoint http://193.70.34.101:20099/vote whose hostname is constructed via split-join to evade string matching. The destination URL, PowerShell command, and shell fragments are all XOR-obfuscated integer arrays reconstructed at runtime.
Not rated by the source.
1.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0