VDB
KO

MAL-2026-6701

Malicious code in ripshakti (npm)

Details

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

## Source: amazon-inspector (aa7ce8c4b0c7a25d70f9043d4208694cdef5ad174aa493ee9e9097ea6693a668) The package's preinstall lifecycle hook (scripts.preinstall = "node index.js") auto-executes index.js on `npm install`. The script queries the AWS instance metadata service at 169.254.169.254 for IAM security credentials, instance identity, user-data and network metadata, reads ECS container credentials endpoints, and enumerates process.env filtering for keys matching /key|secret|token|pass|auth|cred|api|aws|database|db_|mongo|redis|s3|sqs|sns|lambda|role/i. Collected data is base64-encoded and POSTed to a hardcoded out-of-band collector at https://9x7dxkrzy9hpff6ds3y1umla218swik7.oastify.com. Any developer, CI runner, or EC2/ECS host that runs `npm install` for this package has its cloud IAM role credentials and environment secrets exfiltrated to an attacker-controlled endpoint.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / ripshakti

No fixed version published yet for ripshakti (npm). Pin to a known-safe version or switch to an alternative.

References