mal-2026-6674
Vulnerability from ossf_malicious_packages
Published
2026-06-30 09:37
Modified
2026-06-30 21:37
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.
CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "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=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "ripshakti1"
      },
      "versions": [
        "81.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/ossf/package-analysis",
        "https://openssf.slack.com/channels/package_analysis"
      ],
      "name": "OpenSSF: Package Analysis",
      "type": "FINDER"
    }
  ],
  "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"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (764edbf390c427ef99a9d9164034b966fbac251f00240bbb219825c0c92422a6)\npackage.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.\n\n## Source: ossf-package-analysis (99eb23386bdacc07b7fb8da75fb4a04c93d247e322b4aec2685b1270056683bf)\nThe OpenSSF Package Analysis project identified \u0027ripshakti1\u0027 @ 81.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n",
  "id": "MAL-2026-6674",
  "modified": "2026-06-30T21:37:41Z",
  "published": "2026-06-30T09:37:30Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/ripshakti1/v/81.0.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ripshakti1 (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…