MAL-2026-6251

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zomato-config/MAL-2026-6251.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6251
Published
2026-06-21T16:01:08Z
Modified
2026-06-22T18:31:23.774065220Z
Summary
Malicious code in zomato-config (npm)
Details

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

Source: amazon-inspector (3a1b48a397992964f8f3982dc69a33431bfb26c911c29a1e5d124581cef46a40)

Dependency-confusion package targeting an internal Zomato namespace. The package ships only a stub index.js (module.exports = { name: 'zomato-config', version: '1.0.0' }) with no real functionality. Its package.json preinstall lifecycle hook runs curl to POST hostname, whoami, pwd, and the full process environment (base64-encoded via env | base64 -w0) to http://d8s0b82plbq3u5sb2vo0sb3a9obr4yjt7.oast.site/install/.... This fires automatically on npm install and leaks any environment-variable secrets present at install time (CI tokens, cloud credentials, npm/GitHub tokens) to an attacker-controlled out-of-band interaction host. The shape (empty payload + recon beacon to oast.site + internal-sounding name) matches a dependency-confusion reconnaissance / exfiltration package.

Source: ossf-package-analysis (4e8030ae84d02e1ee751b187b393636548810d1142b9272c85efc7f6bf030629)

The OpenSSF Package Analysis project identified 'zomato-config' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "4e8030ae84d02e1ee751b187b393636548810d1142b9272c85efc7f6bf030629",
            "import_time": "2026-06-21T16:38:02.755200268Z",
            "source": "ossf-package-analysis",
            "modified_time": "2026-06-21T16:01:08Z",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "sha256": "3a1b48a397992964f8f3982dc69a33431bfb26c911c29a1e5d124581cef46a40",
            "import_time": "2026-06-22T18:25:27.735548095Z",
            "source": "amazon-inspector",
            "modified_time": "2026-06-22T17:16:21Z",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-007136"
        }
    ]
}
References
Credits

Affected packages

npm / zomato-config

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zomato-config/MAL-2026-6251.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "sha256": "b9cb662899c45196d1099cd7fc5bda41b0a6a2d8d5526a316b7ccebf3b175441",
            "tlsh": "8f01ce2678389a333e8c0a71fd96003d3c657f8f84361c046e6b151c828f219226e726",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "zomato-config-1.0.0.tgz",
            "hashes": {
                "sha1": "7c8160cd300c62c5e2093f30169d820cfa277836",
                "sha512_sri": "sha512-S51H8R8jlBJeHVfQ7PG0XCDUgbmbZDytf3YqduB/9d7kPY+9FOAM7Xhs6EgX7Y8mAwrJ+ZrMNDD8EESAHKzRPg=="
            }
        }
    ]
}