Skip to content
OpenAdvisories
Malicious MAL-2026-12285 GHSA-x32c-hhrc-xrc7

tramvai-module-feature-toggle

npm package · versions 20.5.3

Reported Aug 5, 2026 · Updated Aug 6, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (d8841208443b6595c8389bfac3e1cdb59a65ad0bc05a8dd3e01ca5c661287e56)
On require() of the package, index.js loads setup.js which downloads a platform-specific binary from hardcoded Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev), writes it to a hidden temp path, chmods it 0755, and spawns it detached via /bin/sh. Destination hostnames are assembled at runtime via array split-join to evade string scanning, with benign-looking identifiers ('analytics_state', 'dotnet_diag_', '.cache_') and cover-story comments referencing 'telemetry' and 'CDN compatibility'. If the HTTPS fetch fails, setup.js reassembles a base64 payload from numbered DNS TXT records under attacker-controlled *.dl.well1.site domains (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site) as a covert delivery channel. Execution is gated by opt-out environment variables and a ~20912s lockfile cooldown. The package name resembles the legitimate tramvai ecosystem but ships no real functionality — the only effect of installation is the drop-and-execute pipeline.

Source: ghsa-malware (374869b2bb894469c89d1f158bb270ca74f2422d28d9cd00bf807ae918bdd205)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.