Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-6701: Malicious code in ripshakti (npm)

0
Critical
Published: 06/30/2026 (06/30/2026, 20:59:31 UTC)
Source: GCVE Database
Product: ripshakti

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

npmghsa
ripshakti
Affected versions
=80.0.0

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

AILast updated: 06/30/2026, 23:43:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses