VYPR

npm · Malicious package advisory

Malware

@s4yhiitestpoc/r3-https

GHSA-m7mp-74j7-2w45

Malicious code in @s4yhiitestpoc/r3-https (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: amazon-inspector (b2638f8970897121676d5dc3ed7c002ab9d9ccc3e400283e165297a95e3c1423)
On npm install, postinstall.js automatically collects host identity (hostname, username, uid/gid, homedir, platform, release), enumerates network interfaces (addresses, MACs, CIDRs), reads DNS servers and internal reverse-DNS names, captures npm/CI environment markers and container/runtime indicators, and walks up to eight parent directories to locate the consuming project's package.json and extract its name, version, declaring dependency field, and declared version range. The collected data is POSTed over HTTPS to the hardcoded endpoint collector.oob.s4yhii.com at path /_npm-poc/beacon, and a parallel DNS lookup to a labeled subdomain under *.oob.s4yhii.com is issued as an out-of-band beacon. The consumer manifest harvesting discloses the installer's private project identity and internal package naming to a third-party host and is the characteristic reconnaissance signal of a dependency-confusion targeting pipeline. The endpoint is not caller-configurable and there is no opt-out.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/@s4yhiitestpoc/r3-https/MAL-2026-17765.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/@s4yhiitestpoc/r3-https/MAL-2026-17765.json
- https://www.npmjs.com/package/@s4yhiitestpoc/r3-https/v/1.0.0
- https://github.com/advisories/GHSA-m7mp-74j7-2w45

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.