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

目标: 1000 元 · 已筹: 1359 元

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

my-empty-package

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

Summary

Malicious code in my-empty-package (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
61
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmy-empty-package1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10535","published":"2026-07-14T03:57:12Z","modified":"2026-10-28T18:25:14.295452830Z","aliases":["GHSA-39q9-338w-8vhv"],"summary":"Malicious code in my-empty-package (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (914ffc98ce1f6553e4f9655208318800d0d22663842eb4c9a3d0d51d4f143bdd)\npackage.json declares `postinstall: node index.js`. On `npm install`, index.js branches on `os.platform()` and executes platform-specific shell commands: `osascript` on macOS, `powershell -WindowStyle Hidden -EncodedCommand <base64-UTF16LE>` on Windows, and `python3 -c 'os.system(...)'` on Linux. After the payload runs, a cleanup step renames a shipped `package.md` over `package.json` and unlinks `index.js` itself, removing the install-time script from disk and presenting a different manifest to any post-install inspection. The hidden-window base64-encoded PowerShell invocation is a standard malware evasion technique. Manifest swap + entrypoint self-deletion is anti-forensic behavior with no legitimate purpose. Even though the current payload body is a benign demonstration (opens the calculator), the delivery framework is a fully-functional install-time RCE dropper skeleton: any content placed in the platform branches would execute automatically on install with the user's privileges and then erase its own traces.\n\n## Source: ghsa-malware (d60c0adebec788c60e53448d626acd7a6e248da77ec1d47ae603cec72fa0a5b1)\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":{"name":"my-empty-package","ecosystem":"npm"},"versions":["1.0.0"],"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":"index.js","sha256":"ba863a083c54fd75f7341c1020db15b6d26622c72922716b3e1feadfd0c1496f","tlsh":"f2219c6446faab3189a2abd6199b041d3157a4523642fac939cc57846f9143402b2ab8"}],"package_integrity":[{"filename":"my-empty-package-1.0.0.tgz","hashes":{"sha1":"11c9b8fa4788771bf9d22695a5ac6796aa940ddd","sha512_sri":"sha512-7nSci3HjMWN0dT5SJvcsLBGZEmtkBbBsp29ylrUM/Syi0/uqAzP4q5/YFp0ODl2OuE9qboPByjOOpxsANwGs6w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/my-empty-package/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-39q9-338w-8vhv"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010388","import_time":"2026-07-14T04:32:00.331549657Z","modified_time":"2026-07-14T03:57:12Z","sha256":"914ffc98ce1f6553e4f9655208318800d0d22663842eb4c9a3d0d51d4f143bdd","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-39q9-338w-8vhv","import_time":"2026-10-28T18:24:01.756490343Z","modified_time":"2026-10-28T16:34:55Z","sha256":"d60c0adebec788c60e53448d626acd7a6e248da77ec1d47ae603cec72fa0a5b1","source":"ghsa-malware","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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