MAL-2026-7003

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/searchresults/MAL-2026-7003.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-7003
Aliases
  • GHSA-cpff-p65h-24c4
Published
2026-07-08T16:27:26Z
Modified
2026-07-10T03:31:48.739653741Z
Summary
Malicious code in searchresults (npm)
Details

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

Source: amazon-inspector (c7d5453a0b1576ed8880071cda901607e79f25378700d3f999ab2c9715e00635)

searchresults@999.0.0 is a high-version dependency-confusion squat on the generic name 'searchresults'. package.json declares preinstall and postinstall = 'node callback.js', so on npm install callback.js executes automatically and collects installer identity (username, uid/gid, homedir, shell, os.hostname(), platform, cwd, local IP, external IP fetched from api.ipify.org) plus CI context (GITHUBREPOSITORY, GITHUBACTOR, JENKINSURL, BUILDNUMBER) and POSTs it to a hardcoded Discord webhook and a callback URL. It additionally fingerprints which installers hold monetizable CI credentials by probing for presence of AWSACCESSKEYID, GITHUBTOKEN, NPMTOKEN, and DOCKERPASSWORD in the environment and reporting the result to the same webhook. A DNS-based fallback channel base64-encodes the collected info and issues a DNS lookup of that value as a subdomain of the callback host, bypassing HTTP egress filtering. The 999.0.0 version and generic name are engineered to win npm semver resolution against internally-named private packages, giving install-time code execution on arbitrary organizations. Self-labeling as 'security research PoC' does not constitute installer consent.

Source: ghsa-malware (c2bf6ed6443578713721cde803bd5f2376cd93913392387e3b342796878e53ff)

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": [
        {
            "import_time": "2026-07-08T17:01:31.936093349Z",
            "sha256": "c7d5453a0b1576ed8880071cda901607e79f25378700d3f999ab2c9715e00635",
            "modified_time": "2026-07-08T16:27:26Z",
            "versions": [
                "999.0.0"
            ],
            "id": "IN-MAL-2026-008118",
            "source": "amazon-inspector"
        },
        {
            "id": "GHSA-cpff-p65h-24c4",
            "sha256": "c2bf6ed6443578713721cde803bd5f2376cd93913392387e3b342796878e53ff",
            "modified_time": "2026-07-10T03:00:48Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-07-10T03:23:39.55199788Z"
        }
    ]
}
References
Credits

Affected packages

npm / searchresults

Package

Affected ranges

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

Affected versions

999.*
999.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "searchresults-999.0.0.tgz",
            "hashes": {
                "sha1": "d60ab9105ba55cd647753402da58b57f1e762d09",
                "sha512_sri": "sha512-uKLLbHJJs/XO16BQN2IHYNdT7qqdN7HHN1Zg2Sb7JAawNlHueymSXlM3yIvG/u9tpZ9H0wDC4sMCph9q7XiMIQ=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "8c12d7a516b1521005e347942a0fa016237af06b2756ddb0fbdc43592fd0b3ca3f2eba",
            "sha256": "62033b091c29ce67c88b6494cddbb313dc2c6bbc063f984a4ed5171ac7f7397a",
            "path": "callback.js"
        },
        {
            "tlsh": "9ce068145c2559333ce0caeb042a631a2021ed0b541c3c0c7b6b0188939efb75aba29e",
            "sha256": "9e15e7c5aa74c2be96ab38b68e0164e787779fc1d70883ce428c29f894ad86d7",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/searchresults/MAL-2026-7003.json"