MAL-2026-6674

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ripshakti1/MAL-2026-6674.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6674
Published
2026-06-30T09:37:30Z
Modified
2026-06-30T21:46:46Z
Summary
Malicious code in ripshakti1 (npm)
Details

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

Source: amazon-inspector (764edbf390c427ef99a9d9164034b966fbac251f00240bbb219825c0c92422a6)

package.json declares a preinstall lifecycle hook (node index.js) that auto-executes on npm install. index.js queries the AWS EC2 instance metadata service (IMDSv2 and v1) at 169.254.169.254 for IAM role credentials, instance identity, user-data, and network/host metadata, queries the ECS task credentials endpoint at 169.254.170.2, and filters process.env for keys matching secret-shaped patterns (key, secret, token, pass, auth, cred, api, aws, database, db_, mongo, redis, s3, sqs, sns, lambda, role). Each payload is base64-encoded and exfiltrated via HTTPS GET to the attacker-controlled Burp Collaborator subdomain a2de2lw03amqkgbex432znqb72du1kp9.oastify.com. This auto-fires on every install, including transitive installs and CI runners.

Source: ossf-package-analysis (99eb23386bdacc07b7fb8da75fb4a04c93d247e322b4aec2685b1270056683bf)

The OpenSSF Package Analysis project identified 'ripshakti1' @ 81.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-06-30T10:39:51.730668819Z",
            "modified_time": "2026-06-30T09:37:30Z",
            "sha256": "99eb23386bdacc07b7fb8da75fb4a04c93d247e322b4aec2685b1270056683bf",
            "source": "ossf-package-analysis",
            "versions": [
                "81.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-007817",
            "import_time": "2026-06-30T21:35:50.080902473Z",
            "modified_time": "2026-06-30T20:59:39Z",
            "sha256": "764edbf390c427ef99a9d9164034b966fbac251f00240bbb219825c0c92422a6",
            "source": "amazon-inspector",
            "versions": [
                "81.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ripshakti1

Package

Affected ranges

Affected versions

81.*
81.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "dacbeb222115aa78c5c67e2ef3795fc4c73ae00716d84e24623d889732299823",
            "tlsh": "9e71524962fb51034c7799eed2dbf41a5626f0073a81de88b6fc0f440f85539b263ae9"
        },
        {
            "path": "package.json",
            "sha256": "ef5d94b2fd1d5bd9e938252569b9dc3dc65a1686822c9a9bdf91812224b6c233",
            "tlsh": "22d05e345d51593315d506aa082ea44676e18f2f0508380993db183c91de67398ff35d"
        }
    ],
    "package_integrity": [
        {
            "filename": "ripshakti1-81.0.0.tgz",
            "hashes": {
                "sha1": "937d1b3ca9931f6339519157937036a9b7004be9",
                "sha512_sri": "sha512-YRleV17zmODrC5aD0Fb0wZh+QKo7JqY8KstJ1y8T3rKeMXm0SgFNxakBGtt/bd0bedRRZzdwHuNC+wSAy39bOw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ripshakti1/MAL-2026-6674.json"