MAL-2026-17763Malicious code in @coopeuch/core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @coopeuch/core | * |
| npm | @coopeuch/core | 1.999.999 |
{"schema_version":"1.7.4","id":"MAL-2026-17763","published":"2026-10-11T14:01:05Z","modified":"2026-10-12T19:26:34.629468228Z","aliases":["GHSA-8jgp-jmwc-7fxg"],"summary":"Malicious code in @coopeuch/core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (35a2aead44a4adb850635cf457613400d143b9e4f047767b111058b881cfbb3f)\nOn npm install, postinstall.js automatically executes and collects a detailed host and environment report — hostname, username, uid/gid, home directory, platform/arch/release, CPU and memory, DNS servers, non-internal network interfaces (name, address, MAC, CIDR), reverse-DNS internal FQDN, container/orchestrator detection, selected npm_* environment variables including scoped registry configuration, CI markers, current working directory, and the parent consuming project's package.json name, version, and declared dependency range. The JSON report is POSTed to https://collector.oob.s4yhii.com/_npm-poc/beacon and a DNS lookup is issued against a subdomain of oob.s4yhii.com as a secondary out-of-band channel. The package is published publicly as @coopeuch/core at version 1.999.999, a version-number shape designed to win resolution against an internal @coopeuch scope — the canonical dependency-confusion attack shape, confirmed by the beacon specifically reporting the consumer's scoped registry env var and internal manifest coordinates. The installer did not consent to disclosing host identity, internal network topology, or the identity of their private project to a third-party host; a self-described proof-of-concept or coordinated-disclosure framing in the package does not change that the code runs unprompted on install and ships installer-identifying data off-host.\n\n## Source: ghsa-malware (dcdb8aa4aa86e6df56632983e84987917541e27a5ab6a6619450d062a650cfe0)\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":"@coopeuch/core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.999.999"],"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"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"cd0d3b55a0161d658c6efcdf4bc172c2a5eccf86e67b380a801662f35fa552fb","tlsh":"aae1f86a05fe113222623af4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed"},{"path":"package.json","sha256":"123cc2876c995a3bb6ef90611c18d20c258f83d0142930dd58d9c4ac0715ce80","tlsh":"23e06820c5204f2364c96a591c136049a4a2190743083c2433e710ac0b9c33b88bf32d"}],"package_integrity":[{"filename":"core-1.999.999.tgz","hashes":{"sha1":"a694e1871548449c2454cc9817ee53654e06dd04","sha512_sri":"sha512-MPSsqrm4iVLssounj3qMhYm+NvTT8qeJ8ZeRNEij1cai2IgKTTRm8zNH14TBeygrtPz90t+sb2FMi/CfdGqghQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@coopeuch/core/v/1.999.999"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8jgp-jmwc-7fxg"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021446","import_time":"2026-10-11T14:18:06.805459793Z","modified_time":"2026-10-11T14:01:05Z","sha256":"35a2aead44a4adb850635cf457613400d143b9e4f047767b111058b881cfbb3f","source":"amazon-inspector","versions":["1.999.999"]},{"id":"GHSA-8jgp-jmwc-7fxg","import_time":"2026-10-12T19:24:46.909314168Z","modified_time":"2026-10-12T19:07:14Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"dcdb8aa4aa86e6df56632983e84987917541e27a5ab6a6619450d062a650cfe0","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0