MAL-2026-10635: Malicious code in gmail-changer (npm)
The npm package 'gmail-changer' version 2.0.2 contains malicious code designed to facilitate Gmail account takeovers using stolen session cookies. It automates a sequence of actions that remove the victim's recovery phone number, add an attacker-controlled recovery email, reset the password, sign out other devices, harvest 2FA secrets, and change the display name. The package also intercepts OTPs via a hardcoded SMS rental service and enumerates the victim's mailbox for reconnaissance. There is no legitimate use case for this package; it serves as an operational account-takeover tool with embedded attacker infrastructure.
AI Analysis
Technical Summary
The 'gmail-changer' npm package (version 2.0.2) exports a complete Gmail account hijacking pipeline driven by stolen session cookies. It automates removing the victim's recovery phone number, injecting an attacker-controlled recovery email at @oletters.com, resetting the password, signing out other devices, harvesting two-factor authentication seeds and backup codes, and changing the display name. OTP interception is performed via a hardcoded SMS rental endpoint (sever1.tempxapi.com/api/sms) using an integrity token to facilitate recovery-number swaps and login challenges. The package also enumerates the victim's mailbox via Gmail's undocumented sync RPC for post-takeover reconnaissance. Puppeteer is used with stealth plugins and request interception to silently harvest session cookies without completing page transitions. All exported APIs are malicious, serving attacker interests with no legitimate functionality.
Potential Impact
This package enables attackers to fully compromise Gmail accounts by automating recovery option manipulation, password resets, device sign-outs, and 2FA secret harvesting. It also allows attackers to intercept OTPs via a third-party SMS rental service and perform mailbox reconnaissance. Installation or use of this package directly facilitates unauthorized account takeovers and persistent access to victim Gmail accounts.
Mitigation Recommendations
This is a malicious package with no legitimate use. Users and organizations should avoid installing or using 'gmail-changer' version 2.0.2. Remove the package if already installed. Monitor for any unauthorized account changes if this package was used. There is no official patch or fix since this is a malicious tool rather than a vulnerability in legitimate software. Use trusted sources and verify package integrity before installation.
MAL-2026-10635: Malicious code in gmail-changer (npm)
Description
The npm package 'gmail-changer' version 2.0.2 contains malicious code designed to facilitate Gmail account takeovers using stolen session cookies. It automates a sequence of actions that remove the victim's recovery phone number, add an attacker-controlled recovery email, reset the password, sign out other devices, harvest 2FA secrets, and change the display name. The package also intercepts OTPs via a hardcoded SMS rental service and enumerates the victim's mailbox for reconnaissance. There is no legitimate use case for this package; it serves as an operational account-takeover tool with embedded attacker infrastructure.
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 'gmail-changer' npm package (version 2.0.2) exports a complete Gmail account hijacking pipeline driven by stolen session cookies. It automates removing the victim's recovery phone number, injecting an attacker-controlled recovery email at @oletters.com, resetting the password, signing out other devices, harvesting two-factor authentication seeds and backup codes, and changing the display name. OTP interception is performed via a hardcoded SMS rental endpoint (sever1.tempxapi.com/api/sms) using an integrity token to facilitate recovery-number swaps and login challenges. The package also enumerates the victim's mailbox via Gmail's undocumented sync RPC for post-takeover reconnaissance. Puppeteer is used with stealth plugins and request interception to silently harvest session cookies without completing page transitions. All exported APIs are malicious, serving attacker interests with no legitimate functionality.
Potential Impact
This package enables attackers to fully compromise Gmail accounts by automating recovery option manipulation, password resets, device sign-outs, and 2FA secret harvesting. It also allows attackers to intercept OTPs via a third-party SMS rental service and perform mailbox reconnaissance. Installation or use of this package directly facilitates unauthorized account takeovers and persistent access to victim Gmail accounts.
Mitigation Recommendations
This is a malicious package with no legitimate use. Users and organizations should avoid installing or using 'gmail-changer' version 2.0.2. Remove the package if already installed. Monitor for any unauthorized account changes if this package was used. There is no official patch or fix since this is a malicious tool rather than a vulnerability in legitimate software. Use trusted sources and verify package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10635
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577ef668715ace43b41c7a
Added to database: 07/15/2026, 12:37:10 UTC
Last enriched: 07/15/2026, 12:59:39 UTC
Last updated: 07/16/2026, 04:33:48 UTC
Views: 8
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.