tramvai-module-feature-toggle
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-x32c-hhrc-xrc7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tramvai-module-feature-toggle (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None 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