MAL-2026-6701 Malicious code in ripshakti (npm)
Malicious package
Published
MAL-2026-6701 is a malicious package: ripshakti (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-6701/ (Markdown: https://insights.sbomify.com/MAL-2026-6701/index.md)
- Package
- ripshakti
- Registry
- npm
What is MAL-2026-6701?
MAL-2026-6701 is a malicious package in ripshakti, published on 30 Jun 2026.
Official description
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.What should I do about MAL-2026-6701?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.