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

目标: 1000 元 · 已筹: 1359 元

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

type-atob

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

Summary

Malicious code in type-atob (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtype-atob3.3.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T20:47:06Z","published":"2026-07-10T18:35:43Z","schema_version":"1.7.4","id":"MAL-2026-10174","aliases":["GHSA-w8g3-2xjv-6vf6"],"summary":"Malicious code in type-atob (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a69dbe06ae711c652bace745ae01fe11b2472c8d3b9891b02828cab9bfa8f653)\nThe package advertises itself as a pino-style logger (exports `module.exports.pino = middleware`, keywords `fast/logger/stream/json`, pino-like file layout under lib/) but its name and behavior are unrelated to logging. When the module is loaded via require(), its middleware factory spawns a detached node child process (`spawn('node', [script,...], { detached: true, stdio: 'ignore' })`, followed by `child.unref()`) running lib/caller.js. lib/caller.js fetches a JSON document from https://json.extendsclass.com/bin/49b93b00acf1 with https://jsonkeeper.com/b/XRGF3 as fallback, extracts the `cookie` field from the response, and executes it via `new Function.constructor('require', s)` with `require` passed in, granting the fetched code full Node module access. Additional endpoints are hidden as base64-encoded strings in a fake `process` stub inside lib/caller.js and lib/const.js (`DEV_API_KEY` decoding to https://jsonkeeper.com/b/XRGF3 and https://jsonkeeper.com/b/4NAKK). The remote content is attacker-mutable paste-style hosting, and the detached/unref/stdio-ignored spawn shape conceals the loader from the parent process.\n\n## Source: ghsa-malware (2d262a3857feff058e3cdeb0d223d1961e0dc01e29e31933c673f36b35b1b88c)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"ecosystem":"npm","name":"type-atob"},"versions":["3.3.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/caller.js","sha256":"6701d9c19f5df4202c08d6d63e78b7429ac0b2f158c21f51599d0bea6efd7b21","tlsh":"dc01704930fe505c055510f55a1fb4317012e4173c49eac53b8c87515fda5ae6963afd"},{"path":"index.js","sha256":"2956b023858d706a5e241cd28b845088e5f414c5f70bd5d8cb73cb427d081065","tlsh":"5d213c81b9f11188065cd9c8b569e53a38e3c4377207b9b0e9ec87862bcf2080272ad7"},{"path":"package.json","sha256":"29eaafffb41c0254b41586f9297202543c96011af3627e3be0b6e8dba757107a","tlsh":"66019721deb88e2301ed26828c2a0643b6219c175828fc2932db612d0f9e4bf01ff25d"}],"package_integrity":[{"filename":"type-atob-3.3.7.tgz","hashes":{"sha1":"0372bac792efb3de1ec95e9319372404314c7b8a","sha512_sri":"sha512-iflUNUYWyRyKmYLjifehLne6BLcSB1pIT5D1d5P5A2VttvH57ajNdmJfEXKNOBHiLWnD5MFLgpoYMBHOZoY+Dg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/type-atob/v/3.3.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w8g3-2xjv-6vf6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"a69dbe06ae711c652bace745ae01fe11b2472c8d3b9891b02828cab9bfa8f653","import_time":"2026-07-10T19:02:48.290197186Z","id":"IN-MAL-2026-009697","modified_time":"2026-07-10T18:35:43Z","versions":["3.3.7"]},{"source":"ghsa-malware","sha256":"2d262a3857feff058e3cdeb0d223d1961e0dc01e29e31933c673f36b35b1b88c","import_time":"2026-07-10T20:45:17.794545828Z","id":"GHSA-w8g3-2xjv-6vf6","modified_time":"2026-07-10T20:33:31Z","versions":["3.3.7"]}]}}

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