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

目标: 1000 元 · 已筹: 1359 元

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

type-async

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

Summary

Malicious code in type-async (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtype-async*
npmtype-async3.3.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-13T17:06:56Z","published":"2026-07-10T17:50:03Z","schema_version":"1.7.4","id":"MAL-2026-10164","aliases":["GHSA-rfhj-93m8-qhgx"],"summary":"Malicious code in type-async (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d064750b4e3821d296d538ea749483e3f9cd54299645fc1c895e5c1af3639b5d)\nThe package presents itself as pino (typosquat; README mirrors pino). The main entry `index.js` exports a middleware factory that, on invocation, spawns `lib/caller.js` as a detached Node child process. `lib/caller.js` performs an HTTPS GET against a remote JSON pastebin (https://json.extendsclass.com/bin/250fca079abb), extracts the `.cookie` field of the response, and passes it to `new Function.constructor(\"require\", s)`, then invokes the resulting function with the host's `require` binding — giving whoever controls the pastebin arbitrary code execution on the machine that loaded the package, with full Node module access. Alternate payload URLs on jsonkeeper.com (https://jsonkeeper.com/b/XRGF3, https://jsonkeeper.com/b/4NAKK) are stored base64-encoded inside fake `process.env` objects in `lib/caller.js` and `lib/const.js` under a `DEV_API_KEY` key, obscuring the destination hosts from casual inspection. The fetched content is unpinned and mutable, the destinations are anonymous paste services unrelated to the package's advertised logging purpose, and the payload is executed with no integrity verification.\n\n## Source: ghsa-malware (b9ed68b5cc814644d57fd51120b7ab2253190179ba6d18121e3786d227ec161b)\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-async"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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":"99571c942ae0f86195f34f81c92a71e461e09504d714b71fda27075b4cfd5dfb","tlsh":"79017b8a30fa605c055514f64b1fb0327012e4173c49ead53b9c83514fea9ae6963afd"}],"package_integrity":[{"filename":"type-async-3.3.7.tgz","hashes":{"sha1":"28a97f0eb3168996a8931034622e8db580d2b02f","sha512_sri":"sha512-9z8R0ap/2TvI5aGW6r7IR9QsekTlco00JU/I7IXeEmLBLdWrlHFGrR1Wov7rCK+x4uk0dW4KVN3DmQtJ9zEMMA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/type-async/v/3.3.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rfhj-93m8-qhgx"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"d064750b4e3821d296d538ea749483e3f9cd54299645fc1c895e5c1af3639b5d","import_time":"2026-07-10T18:05:59.615449027Z","id":"IN-MAL-2026-009689","modified_time":"2026-07-10T17:50:03Z","versions":["3.3.7"]},{"source":"ghsa-malware","sha256":"b9ed68b5cc814644d57fd51120b7ab2253190179ba6d18121e3786d227ec161b","import_time":"2026-07-13T17:05:06.580456139Z","id":"GHSA-rfhj-93m8-qhgx","modified_time":"2026-07-13T16:42:43Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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