@s4yhiitestpoc/r2-https (npm) · Malicious Code
Affects @s4yhiitestpoc/r2-httpsSource GCVE Database
Malicious package : remove @s4yhiitestpoc/r2-https and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:43 UTC
Malicious package
Published to npm · OSV MAL-2026-17764
What to do
Remove @s4yhiitestpoc/r2-https 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@s4yhiitestpoc/r2-https | 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 @s4yhiitestpoc/r2-https version 1.0.0 contains malicious code in its postinstall script that collects detailed host environment data and sends it to a hardcoded external server without user consent. This includes sensitive information such as hostname, username, home directory, platform details, network interfaces, and npm configuration values that may reveal internal registry URLs. The script also performs an out-of-band DNS lookup to confirm execution, enabling covert data exfiltration during package installation.