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

目标: 1000 元 · 已筹: 1336

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

modules-newline

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

Summary

Malicious code in modules-newline (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
141
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmodules-newline0.0.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-25T08:40:02Z","published":"2026-08-25T08:40:02Z","schema_version":"1.7.4","id":"MAL-2026-14483","summary":"Malicious code in modules-newline (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4c5565e7fd7984da26242b79340fb41f4f4595fdd5fbeb929ff5dfca5b13cc1a)\npackage.json declares the package's own name, modules-newline, as both a dependency and devDependency pointing to http://pack.nppacks.com/npm/modules-newline instead of the npm registry. On npm install, npm fetches and installs whatever tarball is currently served from that URL, bypassing registry auditing. The URL is plain HTTP (subject to MITM substitution), unpinned (no tag, commit, or integrity hash), and hosted on a non-publisher domain unrelated to npm. Any project that installs this package, directly or transitively, executes code delivered from that external endpoint at install time, including any lifecycle scripts inside the fetched tarball. The shipped index.js is a near-verbatim copy of babel-plugin-transform-define preceded by a comment stating 'This package use for Security Research Testing Purpose.', and the package name does not correspond to the copied plugin's function.\n","affected":[{"package":{"ecosystem":"npm","name":"modules-newline"},"versions":["0.0.6"],"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":"6d5fa1e1adbecdc905b1782f464206a459372264cf5257eed8aa7acbbe6a2def","tlsh":"6ef02808ca72b9a346d83554b96602836e5159874818bd1872cf1e2c0bcd8bb30f415e"},{"path":"index.js","sha256":"f2fcebdb4f0e41365a39ca87a52fcc4e6abd5633fe6272e60d1386d26b90ef41","tlsh":"71a1935ab5e0159745aa22e5b3ce48b577bd80b3330df5a0b54cbf563f40c348a1aed1"}],"package_integrity":[{"filename":"modules-newline-0.0.6.tgz","hashes":{"sha1":"c3ec8c0ba2156289e3ff37dbb0f3b84d0409361a","sha512_sri":"sha512-srdlkwQ6Tk3mAUjcftujyA29qRZNLTeYwQOtgfH+8OQleIQYtAnyfpSY6dgPyCjUDsPzMK26UPsqxlsQpcEbVg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/modules-newline/v/0.0.6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018735","import_time":"2026-08-25T08:49:18.267158287Z","modified_time":"2026-08-25T08:40:02Z","sha256":"4c5565e7fd7984da26242b79340fb41f4f4595fdd5fbeb929ff5dfca5b13cc1a","source":"amazon-inspector","versions":["0.0.6"]}]}}

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