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

目标: 1000 元 · 已筹: 1359 元

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

nodemon-copack

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

Summary

Malicious code in nodemon-copack (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnodemon-copack*
npmnodemon-copack3.1.15
npmnodemon-copack3.1.16
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:03Z","published":"2026-06-08T09:00:21Z","schema_version":"1.7.4","id":"MAL-2026-5308","aliases":["GHSA-pw2c-3h97-j57f"],"summary":"Malicious code in nodemon-copack (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ad79a82314fcc935b1dbdcb12ca1c413af27877e51058a02665471744f2bcd7a)\nThe package is published as 'nodemon-copack' but its package.json wholesale impersonates the legitimate nodemon project: homepage is set to https://nodemon.io, author is set to 'Remy Sharp', repository points to github.com/remy/nodemon, and a 'nodemon' bin entry installs a `nodemon` command into the consumer's PATH. The lib/* sources are a near-verbatim copy of upstream nodemon. The manifest declares two runtime dependencies that are absent from upstream nodemon and are not referenced by any file shipped in this tarball: 'regex-js' (^1.1.5) and 'chai' (^4.4.1). A grep across lib/ and bin/ shows no `require('regex-js')` or `require('chai')`, so neither package serves any functional purpose here; their only effect is to be silently pulled into the installer's dependency graph by anyone who installs nodemon-copack believing it is a legitimate nodemon fork. chai is a test-assertion library normally placed in devDependencies; its presence in runtime dependencies, alongside the unreferenced regex-js, is consistent with a dependency-smuggling pattern where the actual payload would live in the smuggled package rather than in this one. No exfiltration, RCE, credential access, or install-time destructive action is present in the package itself; the harm shape is namespace impersonation plus transitive-dep injection, where the danger depends on what regex-js / chai resolve to at install time.\n\n## Source: ghsa-malware (c19d51ffe2ef2fc40ac2efc32c5abe45d0f04280090bf17114c9cf87148cc1e3)\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":"nodemon-copack"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.1.15","3.1.16"],"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"},{"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":"9e9f6941c6ee55d2f5394392b5524d09cbc1991a7490240c533f15b56156c4b1","tlsh":"b641f029dca9cda30ec815a5686901466135c91f4d84fc0cb39a636c4f5e57f71f8a2d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pw2c-3h97-j57f"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/nodemon-copack/v/3.1.15"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/nodemon-copack/v/3.1.16"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"c19d51ffe2ef2fc40ac2efc32c5abe45d0f04280090bf17114c9cf87148cc1e3","import_time":"2026-06-08T09:52:28.866561894Z","id":"GHSA-pw2c-3h97-j57f","modified_time":"2026-06-08T09:00:21Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"ad79a82314fcc935b1dbdcb12ca1c413af27877e51058a02665471744f2bcd7a","import_time":"2026-07-08T21:54:10.596929858Z","id":"IN-MAL-2026-008638","modified_time":"2026-07-08T21:37:14Z","versions":["3.1.15"]},{"source":"amazon-inspector","sha256":"9d358f3cb9b32619c8883cdcf855944eda0710ffa962625679c73f3e8a38f0e8","import_time":"2026-07-09T16:20:47.585094395Z","id":"IN-MAL-2026-009168","modified_time":"2026-07-09T15:38:17Z","versions":["3.1.16"]}]}}

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