MAL-2026-17765Malicious code in @s4yhiitestpoc/r3-https (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @s4yhiitestpoc/r3-https | 0.0.0-stage |
| npm | @s4yhiitestpoc/r3-https | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-17765","published":"2026-10-11T13:58:31Z","modified":"2026-10-13T23:35:10.397182202Z","aliases":["GHSA-798w-mj69-gc2x"],"summary":"Malicious code in @s4yhiitestpoc/r3-https (npm)","details":"Dependency-confusion proof-of-concept package. A postinstall script runs automatically on installation and sends host and user identifiers (hostname, username, home directory, network interface addresses, platform details and npm configuration) to collector.oob.s4yhii.com, with a secondary DNS lookup under oob.s4yhii.com. It also performs a reverse DNS lookup of the host's own address and records the name and path of the project that installed it. The script states it is bug-bounty research and does not read secrets or file contents. Any machine that installed this package disclosed the listed host information to a third party.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b2638f8970897121676d5dc3ed7c002ab9d9ccc3e400283e165297a95e3c1423)\nOn 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.\n\n## Source: ghsa-malware (ff183ad61b543f94eaae7b4408fed43c924470b6a672090d0500b4836ff36bba)\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","affected":[{"package":{"name":"@s4yhiitestpoc/r3-https","ecosystem":"npm"},"versions":["1.0.0","0.0.0-stage"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"cd0d3b55a0161d658c6efcdf4bc172c2a5eccf86e67b380a801662f35fa552fb","tlsh":"aae1f86a05fe113222623af4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed"}],"package_integrity":[{"filename":"r3-https-1.0.0.tgz","hashes":{"sha1":"a8c089e4e2420b847c2eda403438548f3628df51","sha512_sri":"sha512-8eSPg8kwnyi7318K28Gv5HqSHeAz3faWIDW997zmoMmNeUAxcrUOzIAh0x5WB/ljIublvzYqLqhMPnPaxlyCoQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@s4yhiitestpoc/r3-https/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-798w-mj69-gc2x"}],"database_specific":{"iocs":{"domains":["collector.oob.s4yhii.com","oob.s4yhii.com"],"files":[{"digests":{"sha256":"cd0d3b55a0161d658c6efcdf4bc172c2a5eccf86e67b380a801662f35fa552fb"},"paths":["package/postinstall.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://collector.oob.s4yhii.com/_npm-poc/beacon"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021431","import_time":"2026-10-11T14:18:05.039301185Z","modified_time":"2026-10-11T13:58:31Z","sha256":"b2638f8970897121676d5dc3ed7c002ab9d9ccc3e400283e165297a95e3c1423","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-798w-mj69-gc2x","import_time":"2026-10-12T19:24:46.905348583Z","modified_time":"2026-10-12T18:56:10Z","sha256":"ff183ad61b543f94eaae7b4408fed43c924470b6a672090d0500b4836ff36bba","source":"ghsa-malware","versions":["1.0.0","0.0.0-stage"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SecOpsAI Research","contact":["https://secopsai.dev","https://blog.secopsai.dev/advisories/"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0