目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

gmail-changer

MAL-2026-10635
2026-07-15 04:20:08
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in gmail-changer (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
369
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmgmail-changer2.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T04:20:08Z","published":"2026-07-15T04:20:08Z","schema_version":"1.7.4","id":"MAL-2026-10635","summary":"Malicious code in gmail-changer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (913e56ded5b9c46e15c7589a0883bfb708b2488aa54f4c25ca05b1c13e4d75fe)\nPackage exports a complete Gmail account-hijack pipeline driven by stolen session cookies. Exported helpers (waitForRemoveRecovery, waitForRecoveryAdd, waitForPasswordChange, waitForDeviceLogout, waitForTwoFaActive, waitForNameChange) automate, in sequence: removing the victim's recovery phone number, injecting an attacker-controlled recovery email at the hardcoded domain @oletters.com, resetting the password to a random string, signing every other device out, harvesting 2FA seed + backup codes, and changing the display name. OTP interception is wired to a hardcoded SMS-rental endpoint at sever1.tempxapi.com/api/sms, where the package polls for incoming Google verification codes (G-\\d{6}) using an X-Integrity-Token to drive recovery-number swaps and login challenges. index.js getMailYear additionally POSTs to Gmail's undocumented sync RPC at mail.google.com/sync/u/0/i/bv with stolen cookies to enumerate the victim's ^all mailbox (up to 2000 messages per page) for post-takeover reconnaissance. Puppeteer is launched with puppeteer-extra-plugin-stealth, --ignore-certificate-errors, and request interception that silently swallows Gmail's SetOSID redirect (replaced with a 200 OK stub) to harvest the session without completing the page transition. Every advertised API mutates a Google account against its owner's interests; there is no legitimate use case. Installing or loading this package equips the installer with — and contributes to a public ecosystem of — operational account-takeover tooling, with a hardcoded attacker drop-domain (@oletters.com) and third-party OTP relay baked in.\n","affected":[{"package":{"ecosystem":"npm","name":"gmail-changer"},"versions":["2.0.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"116059bc2accefde9ebbb60d870461fe1e4132f331dcd0f91a6a0658bd5be3b7","tlsh":"7c835296243b042785b3b7bba867b409ff16e22f4610658d7fac85503f7c81754a2fac"}],"package_integrity":[{"filename":"gmail-changer-2.0.2.tgz","hashes":{"sha1":"1f12b7d75ffb71c56b36baecd1c74eba1f2837a7","sha512_sri":"sha512-2Yvy2HRzXCl6CWUsj4rktlLCS0i9EpTRmynidYoz4e7JqsqDurtWPQSDbNvcIhqrfsKd9Lhbgi7BmkZ6jxO5Hw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gmail-changer/v/2.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010618","import_time":"2026-07-15T04:32:07.650221871Z","modified_time":"2026-07-15T04:20:08Z","sha256":"913e56ded5b9c46e15c7589a0883bfb708b2488aa54f4c25ca05b1c13e4d75fe","source":"amazon-inspector","versions":["2.0.2"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0