MAL-2026-6701: Malicious code in ripshakti (npm)
The npm package 'ripshakti' version 80.0.0 contains malicious code that executes automatically during installation. Its preinstall script collects sensitive AWS instance metadata, environment secrets, and IAM credentials, then exfiltrates this data to an attacker-controlled server. This compromises cloud IAM roles and environment secrets of any system running 'npm install' for this package.
AI Analysis
Technical Summary
The 'ripshakti' npm package (version 80.0.0) includes a preinstall lifecycle hook that runs 'node index.js' upon installation. This script queries the AWS instance metadata service at 169.254.169.254 to obtain IAM security credentials, instance identity, user-data, and network metadata. It also reads ECS container credentials endpoints and scans environment variables for keys matching sensitive patterns related to credentials and secrets. The collected data is base64-encoded and sent via POST to a hardcoded external endpoint controlled by the attacker. This results in exfiltration of cloud IAM role credentials and environment secrets from any developer machine, CI runner, or EC2/ECS host that installs this package.
Potential Impact
Exfiltration of AWS IAM credentials and environment secrets can lead to unauthorized access to cloud resources, data breaches, and potential further compromise of the victim's cloud infrastructure. Any system that installs this package is at risk of credential theft.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing version 80.0.0 of the 'ripshakti' package. Review and revoke any potentially compromised AWS IAM credentials and environment secrets. Monitor for suspicious activity related to exposed credentials. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
MAL-2026-6701: Malicious code in ripshakti (npm)
Description
The npm package 'ripshakti' version 80.0.0 contains malicious code that executes automatically during installation. Its preinstall script collects sensitive AWS instance metadata, environment secrets, and IAM credentials, then exfiltrates this data to an attacker-controlled server. This compromises cloud IAM roles and environment secrets of any system running 'npm install' for this package.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'ripshakti' npm package (version 80.0.0) includes a preinstall lifecycle hook that runs 'node index.js' upon installation. This script queries the AWS instance metadata service at 169.254.169.254 to obtain IAM security credentials, instance identity, user-data, and network metadata. It also reads ECS container credentials endpoints and scans environment variables for keys matching sensitive patterns related to credentials and secrets. The collected data is base64-encoded and sent via POST to a hardcoded external endpoint controlled by the attacker. This results in exfiltration of cloud IAM role credentials and environment secrets from any developer machine, CI runner, or EC2/ECS host that installs this package.
Potential Impact
Exfiltration of AWS IAM credentials and environment secrets can lead to unauthorized access to cloud resources, data breaches, and potential further compromise of the victim's cloud infrastructure. Any system that installs this package is at risk of credential theft.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing version 80.0.0 of the 'ripshakti' package. Review and revoke any potentially compromised AWS IAM credentials and environment secrets. Monitor for suspicious activity related to exposed credentials. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6701
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4452db27e9c797198e051a
Added to database: 06/30/2026, 23:35:55 UTC
Last enriched: 06/30/2026, 23:43:22 UTC
Last updated: 07/01/2026, 03:28:37 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.