Malicious code in tramvai-module-feature-toggle (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12285
Published--- _-= Per source details. Do not edit below this line.=-_ ## 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.
- Source published
- 5 Aug 2026 09:09:20 UTC
- Source modified
- 6 Aug 2026 01:21:39 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.