MAL-2026-6674: Malicious code in ripshakti1 (npm)
The npm package 'ripshakti1' version 81.0.0 contains malicious code that executes automatically during installation. It collects sensitive AWS metadata and environment variables that may contain secrets, encodes this data, and exfiltrates it to an attacker-controlled domain. This behavior occurs on every install, including transitive dependencies and CI environments.
AI Analysis
Technical Summary
The 'ripshakti1' npm package version 81.0.0 declares a preinstall lifecycle hook that runs 'node index.js' on installation. This script queries the AWS EC2 instance metadata service (both IMDSv1 and IMDSv2) and ECS task credentials endpoints to gather IAM role credentials, instance identity, user-data, and network/host metadata. It also scans environment variables for keys matching patterns indicative of secrets (e.g., key, secret, token, pass, auth, cred, api, aws, database, mongo, redis, s3, sqs, sns, lambda, role). The collected data is base64-encoded and exfiltrated via HTTPS GET requests to a malicious Burp Collaborator subdomain controlled by the attacker. This malicious activity triggers automatically on every installation, including transitive installs and continuous integration runners. The package is flagged as malicious by the OpenSSF Package Analysis project and Amazon Inspector.
Potential Impact
Sensitive AWS credentials and environment secrets can be stolen from any system where this package is installed, potentially leading to unauthorized access to cloud resources and data breaches. The automatic execution on install increases the risk of widespread compromise, especially in automated build and deployment pipelines.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should avoid installing 'ripshakti1' version 81.0.0 and remove it from existing projects. Audit dependencies to ensure this package is not included transitively. Monitor for updates from the package maintainer or security advisories for any fixes or removals. Consider implementing supply chain security measures such as using trusted package registries, verifying package integrity, and restricting installation of untrusted packages.
MAL-2026-6674: Malicious code in ripshakti1 (npm)
Description
The npm package 'ripshakti1' version 81.0.0 contains malicious code that executes automatically during installation. It collects sensitive AWS metadata and environment variables that may contain secrets, encodes this data, and exfiltrates it to an attacker-controlled domain. This behavior occurs on every install, including transitive dependencies and CI environments.
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 'ripshakti1' npm package version 81.0.0 declares a preinstall lifecycle hook that runs 'node index.js' on installation. This script queries the AWS EC2 instance metadata service (both IMDSv1 and IMDSv2) and ECS task credentials endpoints to gather IAM role credentials, instance identity, user-data, and network/host metadata. It also scans environment variables for keys matching patterns indicative of secrets (e.g., key, secret, token, pass, auth, cred, api, aws, database, mongo, redis, s3, sqs, sns, lambda, role). The collected data is base64-encoded and exfiltrated via HTTPS GET requests to a malicious Burp Collaborator subdomain controlled by the attacker. This malicious activity triggers automatically on every installation, including transitive installs and continuous integration runners. The package is flagged as malicious by the OpenSSF Package Analysis project and Amazon Inspector.
Potential Impact
Sensitive AWS credentials and environment secrets can be stolen from any system where this package is installed, potentially leading to unauthorized access to cloud resources and data breaches. The automatic execution on install increases the risk of widespread compromise, especially in automated build and deployment pipelines.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should avoid installing 'ripshakti1' version 81.0.0 and remove it from existing projects. Audit dependencies to ensure this package is not included transitively. Monitor for updates from the package maintainer or security advisories for any fixes or removals. Consider implementing supply chain security measures such as using trusted package registries, verifying package integrity, and restricting installation of untrusted packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6674
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4452d127e9c797198dfbdd
Added to database: 06/30/2026, 23:35:45 UTC
Last enriched: 06/30/2026, 23:39:22 UTC
Last updated: 06/30/2026, 23:39:22 UTC
Views: 2
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.