MAL-2026-17759

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/button/MAL-2026-17759.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17759
Aliases
  • GHSA-55qj-2wwm-x5v6
Published
2026-10-11T13:51:41Z
Modified
2026-10-12T19:30:04Z
Summary
Malicious code in @coopeuch/button (npm)
Details

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

Source: amazon-inspector (ee1a3bb0818d46a9c83659ed32f8ab209477970658d5f6f8241a12c96d137c98)

The package's postinstall lifecycle script (postinstall.js) runs automatically on npm install and harvests installer host identifiers — hostname, username, uid/gid, home directory, non-internal network interfaces with MAC addresses and CIDRs, configured DNS servers, reverse-DNS internal FQDN, CPU/memory, the consumer package name/version/path, CI markers, npm_config_* values, and container runtime indicators — then POSTs the JSON report over HTTPS to the hardcoded host collector.oob.s4yhii.com at /_npm-poc/beacon and issues a DNS lookup for a label-prefixed subdomain of oob.s4yhii.com as an out-of-band beacon. The destination is not the installer's own infrastructure and is not caller-configurable. The @coopeuch scope combined with the 1.999.999 version has the shape of dependency-confusion targeting of a specific organization's internal namespace, in which npm install resolves this public package in place of an intended internal one and emits the fingerprint to the author's collector.

Source: ghsa-malware (2acd60fae59edef47c863b5bb4874afbdfc59b1360bb5feec23847efa2da477c)

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-021386",
            "import_time": "2026-10-11T14:18:01.403405383Z",
            "modified_time": "2026-10-11T13:51:41Z",
            "sha256": "ee1a3bb0818d46a9c83659ed32f8ab209477970658d5f6f8241a12c96d137c98",
            "source": "amazon-inspector",
            "versions": [
                "1.999.999"
            ]
        },
        {
            "id": "GHSA-55qj-2wwm-x5v6",
            "import_time": "2026-10-12T19:24:46.897577987Z",
            "modified_time": "2026-10-12T19:07:14Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "2acd60fae59edef47c863b5bb4874afbdfc59b1360bb5feec23847efa2da477c",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @coopeuch/button

Package

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

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": "c859191e9d7e04d59b5d2f566799feb31594a68573350bd17661be469e8663ef",
            "tlsh": "0ae1fa6a05fe1132226235f4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed"
        }
    ],
    "package_integrity": [
        {
            "filename": "button-1.999.999.tgz",
            "hashes": {
                "sha1": "61f39ae0da10a23d16e2de630ae0d5ce74568d47",
                "sha512_sri": "sha512-SCbYYuiCW0bOdd4UWw/wU3O5OQlXaFmEYuQTFJjW1n1JEATG2c8uoSp7nnBbrNteRPcxjtIJlrAlGR2O90WjAA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coopeuch/button/MAL-2026-17759.json"