Malicious code in @coopeuch/common (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (887c41c0805d7d223c499e702796cf46727b0be152b7c8a65607907afb3b5d59) @coopeuch/common@1.999.999 publishes to the public npm registry under a scope the publisher does not own, using an inflated version (1.999.999) consistent with the dependency-confusion technique that outranks internal-registry versions. The package's declared postinstall script (postinstall.js) runs automatically on npm install and collects installer-side host and network data — hostname, username, uid/gid, home directory, non-internal network interface addresses with MAC/CIDR, DNS resolver addresses, reverse-DNS internal FQDN, container markers, CI environment-variable presence, npm_config_registry, and the consuming project's package name/version/declared range — then POSTs it as JSON to the hardcoded author-controlled endpoint https://collector.oob.s4yhii.com/_npm-poc/beacon. A secondary DNS beacon is emitted via dns.lookup to a subdomain of oob.s4yhii.com. Any build that resolves @coopeuch/common from the public registry (including internal builds referencing the @coopeuch scope) will auto-exfiltrate internal hostnames, MAC addresses, usernames, internal registry URLs, and project identity to a third-party collector at install time. The package's README self-labels this as a coordinated-disclosure proof of concept; the harvesting and off-host upload nonetheless occur without installer opt-in. ## Source: ghsa-malware (7b
- Products
- @coopeuch/common
- Affected versions
- 1.999.999
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 08:49 UTC · Revision 1
Source evidence
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (887c41c0805d7d223c499e702796cf46727b0be152b7c8a65607907afb3b5d59) @coopeuch/common@1.999.999 publishes to the public npm registry under a scope the publisher does not own, using an inflated version (1.999.999) consistent with the dependency-confusion technique that outranks internal-registry versions. The package's declared postinstall script (postinstall.js) runs automatically on npm install and collects installer-side host and network data — hostname, username, uid/gid, home directory, non-internal network interface addresses with MAC/CIDR, DNS resolver addresses, reverse-DNS internal FQDN, container markers, CI environment-variable presence, npm_config_registry, and the consuming project's package name/version/declared range — then POSTs it as JSON to the hardcoded author-controlled endpoint https://collector.oob.s4yhii.com/_npm-poc/beacon. A secondary DNS beacon is emitted via dns.lookup to a subdomain of oob.s4yhii.com. Any build that resolves @coopeuch/common from the public registry (including internal builds referencing the @coopeuch scope) will auto-exfiltrate internal hostnames, MAC addresses, usernames, internal registry URLs, and project identity to a third-party collector at install time. The package's README self-labels this as a coordinated-disclosure proof of concept; the harvesting and off-host upload nonetheless occur without installer opt-in. ## Source: ghsa-malware (7b
osv:MAL-2026-17760
@coopeuch/common
Fixed versions: Not specified
Complete source record
{
"id": "df448f5f97d1bcb6bd1e54af96136c5a6fc64f6bad5e8934f7f74d1dc1a95d32",
"url": "https://osv.dev/vulnerability/MAL-2026-17760",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in @coopeuch/common (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (887c41c0805d7d223c499e702796cf46727b0be152b7c8a65607907afb3b5d59) @coopeuch/common@1.999.999 publishes to the public npm registry under a scope the publisher does not own, using an inflated version (1.999.999) consistent with the dependency-confusion technique that outranks internal-registry versions. The package's declared postinstall script (postinstall.js) runs automatically on npm install and collects installer-side host and network data — hostname, username, uid/gid, home directory, non-internal network interface addresses with MAC/CIDR, DNS resolver addresses, reverse-DNS internal FQDN, container markers, CI environment-variable presence, npm_config_registry, and the consuming project's package name/version/declared range — then POSTs it as JSON to the hardcoded author-controlled endpoint https://collector.oob.s4yhii.com/_npm-poc/beacon. A secondary DNS beacon is emitted via dns.lookup to a subdomain of oob.s4yhii.com. Any build that resolves @coopeuch/common from the public registry (including internal builds referencing the @coopeuch scope) will auto-exfiltrate internal hostnames, MAC addresses, usernames, internal registry URLs, and project identity to a third-party collector at install time. The package's README self-labels this as a coordinated-disclosure proof of concept; the harvesting and off-host upload nonetheless occur without installer opt-in. ## Source: ghsa-malware (7b",
"evidence": "osv:MAL-2026-17760",
"products": [
{
"name": {
"value": "@coopeuch/common",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.999.999",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17760",
"aliases": [
"GHSA-5h58-475h-6287",
"MAL-2026-17760"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@coopeuch/common",
"purl": "pkg:npm/%40coopeuch/common",
"ecosystem": "npm"
},
"versions": [
"1.999.999"
],
"database_specific": {
"cwes": [
{
"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."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/common/MAL-2026-17760.json",
"indicators": {
"evidence_files": [
{
"path": "postinstall.js",
"tlsh": "0ae1fa6a05fe1132226235f4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed",
"sha256": "c859191e9d7e04d59b5d2f566799feb31594a68573350bd17661be469e8663ef"
},
{
"path": "package.json",
"tlsh": "1ee02230c5314f33a4d829a90d37264660aa296387083c2863eb426c4bdc77b88ff32d",
"sha256": "0460202496c4e21d871ff51598019aeb1d27b5083ebf22611dc5456a64d0dbaa"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "f1278ee12b8adc385a28b5847ebbaef5f4e41be7",
"sha512_sri": "sha512-aVYGJ0N6KMZH6QKeZwlw88VVV1+9Nh1lLGmbI/R7fCWJvnLnoiBRe7op2ptvfDIokoyiyPKyCuvJmvfs33mT0Q=="
},
"filename": "common-1.999.999.tgz"
}
]
}
}
}
],
"modified": "2026-10-12T19:30:04.557403547Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/@coopeuch/common/v/1.999.999",
"https://github.com/advisories/GHSA-5h58-475h-6287"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021433",
"sha256": "887c41c0805d7d223c499e702796cf46727b0be152b7c8a65607907afb3b5d59",
"source": "amazon-inspector",
"versions": [
"1.999.999"
],
"import_time": "2026-10-11T14:18:05.240602486Z",
"modified_time": "2026-10-11T13:58:48Z"
},
{
"id": "GHSA-5h58-475h-6287",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"sha256": "7bb4ede3c2c6108558588512db3e190f0255516a40707bd801219d684b0aaff9",
"source": "ghsa-malware",
"import_time": "2026-10-12T19:24:46.899886577Z",
"modified_time": "2026-10-12T19:07:14Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 306737,
"published_at": "2026-10-11T13:58:48+00:00"
}