MAL-2026-6264

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/search-from-feed/MAL-2026-6264.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6264
Published
2026-06-22T16:27:22Z
Modified
2026-06-22T16:46:23.592168237Z
Summary
Malicious code in search-from-feed (npm)
Details

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

Source: amazon-inspector (c9291507e6e48bff8b92fcd9dd1f51345077f59aae2692f3d7ca84a8c0581b04)

search-from-feed@999.0.0 is a dependency-confusion attack package. package.json declares both preinstall and postinstall as node callback.js, so the payload fires automatically on every npm install. callback.js (lines 12-15 require https/http/os/childprocess) collects the installer's username, uid/gid, homedir, hostname, cwd, local IP and external IP (queried from https://api.ipify.org), along with CI environment variables (GITHUBTOKEN/GITHUBREPOSITORY/GITHUBACTOR, GITLAB_*, JENKINS, BUILDNUMBER, etc.), and POSTs the collected data to a hardcoded Discord webhook (https://discord.com/api/webhooks/1516163806559076442/...). It additionally probes for AWSACCESSKEYID, GITHUBTOKEN, NPMTOKEN and DOCKER_PASSWORD and reports the presence of these secrets to the same webhook, flagging which CI runners are worth pivoting into. The 999.0.0 version is the canonical dependency-confusion shape, designed to outrank an organization's internal package of the same name during public-registry resolution. The package's own source comments self-describe it as a 'Dependency Confusion PoC,' but the install-time beacon to an attacker-controlled webhook with CI-secret enumeration is an active supply-chain attack regardless of framing.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-007108",
            "sha256": "c9291507e6e48bff8b92fcd9dd1f51345077f59aae2692f3d7ca84a8c0581b04",
            "import_time": "2026-06-22T16:36:58.697573991Z",
            "modified_time": "2026-06-22T16:27:22Z",
            "source": "amazon-inspector",
            "versions": [
                "999.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / search-from-feed

Package

Affected ranges

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."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "search-from-feed-999.0.0.tgz",
            "hashes": {
                "sha1": "9d3e2081a3c3fa6a15eb3282d0ee8c0e90815107",
                "sha512_sri": "sha512-ncTIsh/wR/pVoYwI/el3Bx8XZaEQizTUKcV8nh2XArVxssnL7zpi6PQNOchmKelhopl6e2UJPM6qIXzVlhF+SA=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "4712d7a556b1561005e347902a0fa416327af1672756deb0bb9c43182fd0b3c93f2efa",
            "sha256": "2b8885a395ea80e415c7d5dcdecc357ba5ffc63758f00b98ef493ec11616964a",
            "path": "callback.js"
        },
        {
            "tlsh": "56e0c01458155f333ce0cfeb052262552420de07141c3e0d3b5b4198935efb756fb69e",
            "sha256": "568ef9bac99ab88e75fe45f8b7e4c65f756df94380804e6eb0081bf8e0721163",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/search-from-feed/MAL-2026-6264.json"