MAL-2026-17763

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/core/MAL-2026-17763.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17763
Aliases
  • GHSA-8jgp-jmwc-7fxg
Published
2026-10-11T14:01:05Z
Modified
2026-10-12T19:30:04Z
Summary
Malicious code in @coopeuch/core (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (35a2aead44a4adb850635cf457613400d143b9e4f047767b111058b881cfbb3f)

On 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.

Source: ghsa-malware (dcdb8aa4aa86e6df56632983e84987917541e27a5ab6a6619450d062a650cfe0)

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 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.

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"
        }
    ]
}
References
Credits

Affected packages

npm / @coopeuch/core

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

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"
    },
    {
        "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=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/core/MAL-2026-17763.json"