{"id":"MAL-2026-17808","revision":"fd30ccd661de4a8b9454f15bf68fcf2a","records":[{"revision":"fd30ccd661de4a8b9454f15bf68fcf2a","observedAt":"2026-10-26T01:38:07.03+00:00","statement":{"source":"osv","id":"MAL-2026-17808","aliases":["GHSA-h99w-8693-g33v"],"title":"Malicious code in @s4yhiitestpoc/r2-https-b (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e89449bafb4f816bd8605f45cedf0fec8ec0cff9088007a7a38aaea0a9db91ec)\nOn npm install, postinstall.js automatically collects installer-side identifying data — hostname, username, home directory, non-internal network interface addresses, DNS servers, current working directory, install directory, and the value of npm_config_registry (which discloses the installer's internal/private npm registry URL) — and POSTs it as JSON over HTTPS to the hardcoded author endpoint collector.oob.s4yhii.com at path /_npm-poc/beacon. In parallel, the script performs a DNS lookup against a unique per-run subdomain under oob.s4yhii.com (dns.lookup of <label>.db03o8lag74hsugsg2j091t8mfcf437h3.oob.s4yhii.com), providing an out-of-band DNS confirmation channel that works even when outbound HTTPS is blocked. The dual-channel beacon, the capture of internal registry configuration, and the fully automated install-time trigger match the fingerprint of a dependency-confusion probe. The package's self-description as a proof-of-concept does not change the behavior: installer-side host and internal-infrastructure data leaves the host to an attacker-controlled destination without opt-in.\n\n## Source: ghsa-malware (22badb2560ce7881cad79c0be7435548630e83a8b00925b9212637fa4b704828)\nAny 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.\n","state":0,"publishedAt":"2026-10-12T05:27:26+00:00","modifiedAt":"2026-10-26T01:15:03.6186232+00:00","affected":[{"ecosystem":"npm","name":"@s4yhiitestpoc/r2-https-b","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@s4yhiitestpoc/r2-https-b/v/1.0.0","https://github.com/advisories/GHSA-h99w-8693-g33v"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17808","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17808","identifiers":["MAL-2026-17808","GHSA-h99w-8693-g33v"]},"retained":false,"historicalAffected":[]}],"coverage":[]}