MAL-2026-6640: Malicious code in @rakuten-rewards/messaging-sdk (npm)
The @rakuten-rewards/messaging-sdk npm package contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate secret and key rotation from a different, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The @rakuten-rewards/messaging-sdk package distributed via npm is identified as containing malicious code. Installation or execution of this package results in a full compromise of the affected system, potentially allowing an attacker complete control. Due to the severity of the compromise, all secrets and keys stored on the affected machine must be rotated from a separate, secure environment. Removal of the package alone is insufficient to ensure system integrity, as additional malicious components may persist.
Potential Impact
Full system compromise on any computer with the package installed or running. All stored secrets and keys on the compromised system are at risk and must be considered exposed. The attacker may have persistent access beyond the presence of the package itself.
Mitigation Recommendations
Remove the @rakuten-rewards/messaging-sdk package immediately. Rotate all secrets and keys from a different, uncompromised computer. Conduct a thorough investigation and remediation of the affected system, as removal of the package alone does not guarantee elimination of all malicious components.
MAL-2026-6640: Malicious code in @rakuten-rewards/messaging-sdk (npm)
Description
The @rakuten-rewards/messaging-sdk npm package contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate secret and key rotation from a different, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
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 @rakuten-rewards/messaging-sdk package distributed via npm is identified as containing malicious code. Installation or execution of this package results in a full compromise of the affected system, potentially allowing an attacker complete control. Due to the severity of the compromise, all secrets and keys stored on the affected machine must be rotated from a separate, secure environment. Removal of the package alone is insufficient to ensure system integrity, as additional malicious components may persist.
Potential Impact
Full system compromise on any computer with the package installed or running. All stored secrets and keys on the compromised system are at risk and must be considered exposed. The attacker may have persistent access beyond the presence of the package itself.
Mitigation Recommendations
Remove the @rakuten-rewards/messaging-sdk package immediately. Rotate all secrets and keys from a different, uncompromised computer. Conduct a thorough investigation and remediation of the affected system, as removal of the package alone does not guarantee elimination of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6640
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fjrr-hfh2-c44q"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed4027e9c7971993561a
Added to database: 06/29/2026, 22:10:08 UTC
Last enriched: 06/29/2026, 22:25:09 UTC
Last updated: 06/30/2026, 00:53:13 UTC
Views: 3
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.