tcb-web-header
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-v68w-vmp6-9p6v
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tcb-web-header (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (115bda849ee7aff33e1ccc649f492e892e31243bfb026eea8048c158c885bdf0)
On require() of tcb-web-header, _platform.js selects an OS/arch-specific endpoint, downloads a binary from Cloudflare workers.dev hosts whose names are reconstructed at runtime by joining split string fragments (e.g. oob-worker.cf99-9b.3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev), writes the payload to /var/tmp or %TEMP% under a deceptive name (dotnet_diag_<tag>.exe on Windows,.cache_<tag> on Unix), fs.chmodSync to 0o755, and spawns it detached via /bin/sh -c "<path> &" or cmd.exe /c start /b. A base64-encoded chunked DNS TXT retrieval channel over c.<domain>/N.<domain> under tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site serves as a covert fallback transport when HTTPS is blocked. The package's declared purpose is a web header helper and there is no build/native-addon rationale for downloading and executing an unverified binary at import time; destination hosts are attacker-controlled, string-reassembled to defeat static scanners, and a token-gated DISABLE_TELEMETRY flag is used as a cover story.
Source: ghsa-malware (77922987a2e7e78e43a4eda61cd08125e62f1bcb4d74fbe3c39abcb5c63be148)
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