Malicious code in @coopeuch/config (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0c9b2c76aac3e901d6585717a7e1f9729699bf3a4e280eb20a68bcef4d507d0d) The package publishes to the @coopeuch npm scope at version 1.999.999 with a stub index.js, a shape designed to win resolution over an internal scope registry when an organization's scope-to-registry mapping is missing. On npm install, scripts.postinstall executes postinstall.js, which collects host identity (hostname, username, uid/gid, homedir, non-internal network interface addresses and MAC addresses, DNS servers, reverse-DNS internal FQDN), CI/orchestration markers, npm context, container detection via /proc/1/cgroup, and the consuming parent package's name, version, and declared version range, then POSTs the aggregated JSON over HTTPS to the hardcoded author endpoint collector.oob.s4yhii.com/_npm-poc/beacon alongside a DNS beacon under *.oob.s4yhii.com. The behavior fires automatically at install time without consent and reveals internal infrastructure details and private project identifiers of any organization whose build resolves this package from the public registry. ## Source: ghsa-malware (7f05545d655ec4766414a523d3cf4dc6671cf72c67aefe8dd832dd59081bd23b) Any 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 compute
- Products
- @coopeuch/config
- 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 (0c9b2c76aac3e901d6585717a7e1f9729699bf3a4e280eb20a68bcef4d507d0d) The package publishes to the @coopeuch npm scope at version 1.999.999 with a stub index.js, a shape designed to win resolution over an internal scope registry when an organization's scope-to-registry mapping is missing. On npm install, scripts.postinstall executes postinstall.js, which collects host identity (hostname, username, uid/gid, homedir, non-internal network interface addresses and MAC addresses, DNS servers, reverse-DNS internal FQDN), CI/orchestration markers, npm context, container detection via /proc/1/cgroup, and the consuming parent package's name, version, and declared version range, then POSTs the aggregated JSON over HTTPS to the hardcoded author endpoint collector.oob.s4yhii.com/_npm-poc/beacon alongside a DNS beacon under *.oob.s4yhii.com. The behavior fires automatically at install time without consent and reveals internal infrastructure details and private project identifiers of any organization whose build resolves this package from the public registry. ## Source: ghsa-malware (7f05545d655ec4766414a523d3cf4dc6671cf72c67aefe8dd832dd59081bd23b) Any 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 compute
osv:MAL-2026-17762
@coopeuch/config
Fixed versions: Not specified
Complete source record
{
"id": "46f5f072d56951fca1a824530b30a826ed7d879964e2f3833f58f2c734d3d8ac",
"url": "https://osv.dev/vulnerability/MAL-2026-17762",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in @coopeuch/config (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0c9b2c76aac3e901d6585717a7e1f9729699bf3a4e280eb20a68bcef4d507d0d) The package publishes to the @coopeuch npm scope at version 1.999.999 with a stub index.js, a shape designed to win resolution over an internal scope registry when an organization's scope-to-registry mapping is missing. On npm install, scripts.postinstall executes postinstall.js, which collects host identity (hostname, username, uid/gid, homedir, non-internal network interface addresses and MAC addresses, DNS servers, reverse-DNS internal FQDN), CI/orchestration markers, npm context, container detection via /proc/1/cgroup, and the consuming parent package's name, version, and declared version range, then POSTs the aggregated JSON over HTTPS to the hardcoded author endpoint collector.oob.s4yhii.com/_npm-poc/beacon alongside a DNS beacon under *.oob.s4yhii.com. The behavior fires automatically at install time without consent and reveals internal infrastructure details and private project identifiers of any organization whose build resolves this package from the public registry. ## Source: ghsa-malware (7f05545d655ec4766414a523d3cf4dc6671cf72c67aefe8dd832dd59081bd23b) Any 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 compute",
"evidence": "osv:MAL-2026-17762",
"products": [
{
"name": {
"value": "@coopeuch/config",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.999.999",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17762",
"aliases": [
"GHSA-5w9x-2gg7-px58",
"MAL-2026-17762"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@coopeuch/config",
"purl": "pkg:npm/%40coopeuch/config",
"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/config/MAL-2026-17762.json",
"indicators": {
"evidence_files": [
{
"path": "postinstall.js",
"tlsh": "0ae1fa6a05fe1132226235f4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed",
"sha256": "c859191e9d7e04d59b5d2f566799feb31594a68573350bd17661be469e8663ef"
},
{
"path": "package.json",
"tlsh": "6be0e53085214f33a4d419a90d372545509a295347083c1463e7426c4b9c77a88ff32d",
"sha256": "4ca94fd65701e7bf32fc00c7c1fdd1336b139f8c2dc66d249be83cf3877df659"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "79c25e547363f0f616d9a572cc246b0df84be318",
"sha512_sri": "sha512-LjhqpLTjaqIy40i0+L42YJ4LrS7TmGITT0w7PTj0eN3f1pGv00MhnEZ0dMzmAjoMTzOhaizWzCsKy3JoXFPPvw=="
},
"filename": "config-1.999.999.tgz"
}
]
}
}
}
],
"modified": "2026-10-12T19:30:04.552523687Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/@coopeuch/config/v/1.999.999",
"https://github.com/advisories/GHSA-5w9x-2gg7-px58"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021382",
"sha256": "0c9b2c76aac3e901d6585717a7e1f9729699bf3a4e280eb20a68bcef4d507d0d",
"source": "amazon-inspector",
"versions": [
"1.999.999"
],
"import_time": "2026-10-11T14:18:01.035704786Z",
"modified_time": "2026-10-11T13:51:00Z"
},
{
"id": "GHSA-5w9x-2gg7-px58",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"sha256": "7f05545d655ec4766414a523d3cf4dc6671cf72c67aefe8dd832dd59081bd23b",
"source": "ghsa-malware",
"import_time": "2026-10-12T19:24:46.902055438Z",
"modified_time": "2026-10-12T19:07:20Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 306736,
"published_at": "2026-10-11T13:51:00+00:00"
}