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

目标: 1000 元 · 已筹: 1359 元

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

npx-test-ma980

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

Summary

Malicious code in npx-test-ma980 (npm)

安装阶段执行文件/数据外传
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnpx-test-ma9801.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-21T03:21:25Z","published":"2026-09-21T03:21:25Z","schema_version":"1.7.4","id":"MAL-2026-16310","summary":"Malicious code in npx-test-ma980 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (adfd1e5f7cc282648da56cdf50ac9c3cb27d6165fa4a3f8f3625b4a0c2694be6)\npackage.json declares a `bin` entry whose key contains shell metacharacters and a chained command: `\"tool & calc.exe\": \"./run.js\"`. On Windows, npm's bin shim/symlink generation and later invocation via `npm install -g` or `npx` can interpret the `&` in the bin key as a command separator, causing `calc.exe` to execute as an unintended side effect of installing or linking the package. The shipped `run.js` is a trivial `console.log(\"hello\")` and `payload.json` is empty, so the crafted bin key is the entire attack surface — a proof-of-concept exploit of npm bin-name handling that yields arbitrary command execution on the installer's host.\n","affected":[{"package":{"ecosystem":"npm","name":"npx-test-ma980"},"versions":["1.0.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":"package.json","sha256":"e5a512771a725b1f1eb57fa02df03b9930c94b37b8429b9229a583da3fcb6f10","tlsh":"c1b01254d8724f533c8c0760053d41015227cc4760071c1a03436424c698d7b24bd158"}],"package_integrity":[{"filename":"npx-test-ma980-1.0.1.tgz","hashes":{"sha1":"d9862d7b06326cea50bb9d06c1c439464888c925","sha512_sri":"sha512-3C2g6nGttIvl6L4nXmpJ4GU0wgFKacgBoo9sX73rjt7E99hAsKkuAcxiEQcYmN4U9fNoMg2F3QvYm3p2up0XOQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/npx-test-ma980/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020206","import_time":"2026-09-21T03:24:21.277872623Z","modified_time":"2026-09-21T03:21:25Z","sha256":"adfd1e5f7cc282648da56cdf50ac9c3cb27d6165fa4a3f8f3625b4a0c2694be6","source":"amazon-inspector","versions":["1.0.1"]}]}}

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