@tqm-mfe/main (npm) · Malicious Code
Affects @tqm-mfe/mainSource GCVE Database
Malicious package : remove @tqm-mfe/main and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10517
What to do
Remove @tqm-mfe/main from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@tqm-mfe/main | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package @tqm-mfe/main version 5.4.7 contains malicious code in its postinstall.js lifecycle script. This script is heavily obfuscated and executes automatically on npm install. It performs environment checks to evade sandbox detection, downloads a remote binary payload, decrypts it, writes it to a persistent app-data directory, marks it executable, and runs it detached from the installer process. Additionally, it sends system information to a remote server. The package metadata is deceptive, mimicking an internal corporate mirror but is actually a dependency-confusion lure. This behavior is unrelated to the package's advertised functionality.