MAL-2026-17761

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/components/MAL-2026-17761.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17761
Published
2026-10-11T14:00:55Z
Modified
2026-10-11T14:30:06Z
Summary
Malicious code in @coopeuch/components (npm)
Details

-= 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 project metadata to a third-party endpoint.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-021445",
            "import_time": "2026-10-11T14:18:06.670881463Z",
            "modified_time": "2026-10-11T14:00:55Z",
            "sha256": "042f083be94ae23751c73b5a73c0f11e4e9ecafd9ee9f1caa8c05b367ac71de8",
            "source": "amazon-inspector",
            "versions": [
                "1.999.999"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @coopeuch/components

Package

Name
@coopeuch/components
View open source insights on deps.dev
Purl
pkg:npm/%40coopeuch/components

Affected ranges

Affected versions

1.*
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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "c859191e9d7e04d59b5d2f566799feb31594a68573350bd17661be469e8663ef",
            "tlsh": "0ae1fa6a05fe1132226235f4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed"
        },
        {
            "path": "package.json",
            "sha256": "f332f11dfad6a86ce4c8ecff5575cc421be92809f06fa0014c677060eeff3c3d",
            "tlsh": "f9e09b30c5314f33a5d459a90d37654651d6285787183d1863e7426c4bdd77b88ff32d"
        }
    ],
    "package_integrity": [
        {
            "filename": "components-1.999.999.tgz",
            "hashes": {
                "sha1": "61fd6778893b8e0451cda30842609ab44aa0d4ad",
                "sha512_sri": "sha512-ICou6OWE8bzhbyzDxcZ876+dt5El89qPEyYoKIbrNTqpIifnNuhmCxi3CFoeJxUyQOKKxoNYHLJ3NFkk/3IdFQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/components/MAL-2026-17761.json"