Malicious code in @coopeuch/components (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (042f083be94ae23751c73b5a73c0f11e4e9ecafd9ee9f1caa8c05b367ac71de8) The package declares a `postinstall` script (postinstall.js) that runs automatically on `npm install` and collects a broad set of installer-side identifiers: hostname, username, uid/gid, home directory, platform, non-internal network interfaces with MAC addresses and CIDRs, configured DNS servers, internal reverse-DNS name, container runtime indicators, `npm_*` environment variables including the configured registry and scoped registry settings, CI marker variables, and the consuming project's package.json name, version, and declared dependency range for this package. The collected payload is POSTed as JSON to `https://collector.oob.s4yhii.com/_npm-poc/beacon`, and a DNS lookup beacon is issued against a subdomain of `*.oob.s4yhii.com` that encodes the package name as a label. The package is published under the `@coopeuch` scope at an implausibly high version `1.999.999` and specifically introspects the consumer manifest's declared dependency range and the installer's configured registry — a shape consistent with a dependency-confusion squat against an internal scope. Framing the behavior as a 'coordinated disclosure PoC' in author-controlled text does not change what the code does: installers that resolve this package in place of their internal `@coopeuch/*` package involuntarily disclose host, network, CI, and internal pr
- Products
- @coopeuch/components
- 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
Malicious code in @coopeuch/components (npm)
core-osv · Original sourcePublished 11 Oct 2026, 14:00 UTC
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (042f083be94ae23751c73b5a73c0f11e4e9ecafd9ee9f1caa8c05b367ac71de8) The package declares a `postinstall` script (postinstall.js) that runs automatically on `npm install` and collects a broad set of installer-side identifiers: hostname, username, uid/gid, home directory, platform, non-internal network interfaces with MAC addresses and CIDRs, configured DNS servers, internal reverse-DNS name, container runtime indicators, `npm_*` environment variables including the configured registry and scoped registry settings, CI marker variables, and the consuming project's package.json name, version, and declared dependency range for this package. The collected payload is POSTed as JSON to `https://collector.oob.s4yhii.com/_npm-poc/beacon`, and a DNS lookup beacon is issued against a subdomain of `*.oob.s4yhii.com` that encodes the package name as a label. The package is published under the `@coopeuch` scope at an implausibly high version `1.999.999` and specifically introspects the consumer manifest's declared dependency range and the installer's configured registry — a shape consistent with a dependency-confusion squat against an internal scope. Framing the behavior as a 'coordinated disclosure PoC' in author-controlled text does not change what the code does: installers that resolve this package in place of their internal `@coopeuch/*` package involuntarily disclose host, network, CI, and internal pr
osv:MAL-2026-17761
@coopeuch/components
Fixed versions: Not specified
Complete source record
{
"id": "44c026772485d099d8251131c670630891c8ce7207b12e31f43209bce981e24c",
"url": "https://osv.dev/vulnerability/MAL-2026-17761",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in @coopeuch/components (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (042f083be94ae23751c73b5a73c0f11e4e9ecafd9ee9f1caa8c05b367ac71de8) The package declares a `postinstall` script (postinstall.js) that runs automatically on `npm install` and collects a broad set of installer-side identifiers: hostname, username, uid/gid, home directory, platform, non-internal network interfaces with MAC addresses and CIDRs, configured DNS servers, internal reverse-DNS name, container runtime indicators, `npm_*` environment variables including the configured registry and scoped registry settings, CI marker variables, and the consuming project's package.json name, version, and declared dependency range for this package. The collected payload is POSTed as JSON to `https://collector.oob.s4yhii.com/_npm-poc/beacon`, and a DNS lookup beacon is issued against a subdomain of `*.oob.s4yhii.com` that encodes the package name as a label. The package is published under the `@coopeuch` scope at an implausibly high version `1.999.999` and specifically introspects the consumer manifest's declared dependency range and the installer's configured registry — a shape consistent with a dependency-confusion squat against an internal scope. Framing the behavior as a 'coordinated disclosure PoC' in author-controlled text does not change what the code does: installers that resolve this package in place of their internal `@coopeuch/*` package involuntarily disclose host, network, CI, and internal pr",
"evidence": "osv:MAL-2026-17761",
"products": [
{
"name": {
"value": "@coopeuch/components",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.999.999",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17761",
"aliases": [
"GHSA-8m68-7f2m-4825",
"MAL-2026-17761"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@coopeuch/components",
"purl": "pkg:npm/%40coopeuch/components",
"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/components/MAL-2026-17761.json",
"indicators": {
"evidence_files": [
{
"path": "postinstall.js",
"tlsh": "0ae1fa6a05fe1132226235f4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed",
"sha256": "c859191e9d7e04d59b5d2f566799feb31594a68573350bd17661be469e8663ef"
},
{
"path": "package.json",
"tlsh": "f9e09b30c5314f33a5d459a90d37654651d6285787183d1863e7426c4bdd77b88ff32d",
"sha256": "f332f11dfad6a86ce4c8ecff5575cc421be92809f06fa0014c677060eeff3c3d"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "61fd6778893b8e0451cda30842609ab44aa0d4ad",
"sha512_sri": "sha512-ICou6OWE8bzhbyzDxcZ876+dt5El89qPEyYoKIbrNTqpIifnNuhmCxi3CFoeJxUyQOKKxoNYHLJ3NFkk/3IdFQ=="
},
"filename": "components-1.999.999.tgz"
}
]
}
}
}
],
"modified": "2026-10-12T19:30:04.558302961Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/@coopeuch/components/v/1.999.999",
"https://github.com/advisories/GHSA-8m68-7f2m-4825"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021445",
"sha256": "042f083be94ae23751c73b5a73c0f11e4e9ecafd9ee9f1caa8c05b367ac71de8",
"source": "amazon-inspector",
"versions": [
"1.999.999"
],
"import_time": "2026-10-11T14:18:06.670881463Z",
"modified_time": "2026-10-11T14:00:55Z"
},
{
"id": "GHSA-8m68-7f2m-4825",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"sha256": "503b3cc9f30e91ab272eb6a09bbeacdafddc5eb3c82011753c15bac75d493697",
"source": "ghsa-malware",
"import_time": "2026-10-12T19:24:46.910305012Z",
"modified_time": "2026-10-12T19:07:15Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 306738,
"published_at": "2026-10-11T14:00:55+00:00"
}