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

目标: 1000 元 · 已筹: 1359 元

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

formatters.ts

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

Summary

Malicious code in formatters.ts (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmformatters.ts14.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T15:38:41Z","published":"2026-07-15T15:38:41Z","schema_version":"1.7.4","id":"MAL-2026-10683","summary":"Malicious code in formatters.ts (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (21827129edc8dbde114c615df656d5a234d1fbcfa5b9f63d5286d781253e8f2b)\nThe package declares a preinstall hook that runs index.js on npm install. index.js collects host and identity reconnaissance — os.hostname(), os.platform(), os.arch(), os.homedir(), os.userInfo() (username, uid, gid, shell), OS release, memory, CPU count, and the output of the `whoami`, `id`, and `pwd` shell commands — and POSTs the JSON payload to a hardcoded Burp Collaborator subdomain at https://y43nklho48nnebq8qpmw3ngha8gz4pse.oastify.com/detox56. The package name resembles a legitimate formatter/TypeScript module and ships with empty description/author metadata, consistent with a dependency-confusion typosquat lure whose sole purpose is the install-time beacon.\n","affected":[{"package":{"ecosystem":"npm","name":"formatters.ts"},"versions":["14.2.1"],"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":"d258314b1d0fd2121f4e1e06bced026bd7db4cb0b0c1a7ee081ed6106ae89a74","tlsh":"975130d515f66a241ba7b8494a4f9402a327e0033509ee55bfcc8740af9936c9bf0bf6"}],"package_integrity":[{"filename":"formatters.ts-14.2.1.tgz","hashes":{"sha1":"19b32d30c24b83b27cfca926859ae4720d72f9a6","sha512_sri":"sha512-RKVKC/EKD83uzjEitQalY/LWnVwF+jLyMfkZnWHW0x4MQtT1aoS4Qm6MhYRDKVuFjr6t++jfNz18XEG+9q4kNg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/formatters.ts/v/14.2.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010679","import_time":"2026-07-15T16:34:35.997967786Z","modified_time":"2026-07-15T15:38:41Z","sha256":"21827129edc8dbde114c615df656d5a234d1fbcfa5b9f63d5286d781253e8f2b","source":"amazon-inspector","versions":["14.2.1"]}]}}

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