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

目标: 1000 元 · 已筹: 1359 元

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

envparse3

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

Summary

Malicious code in envparse3 (npm)

凭据/密钥窃取
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
342
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmenvparse3*
npmenvparse31.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-16395","published":"2026-09-22T18:22:20Z","modified":"2026-09-22T22:18:00.202227180Z","aliases":["GHSA-vq77-3r62-c2cx"],"summary":"Malicious code in envparse3 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (910a8a8e205bc9a9540696320007c14926950b5a4f832efc577f2fd67ddc80a4)\nOn require('envparse3'), the package's main entrypoint invokes a top-level function (dispatchAnalytics) that reads a bundled image dist/stest.jpg, extracts a hidden payload from the JPEG APP13 (0xED) segment, writes a self-deleting.vbs file to the OS temp directory, and spawns wscript.exe which launches powershell.exe -NoProfile -NonInteractive -EncodedCommand with the base64 payload harvested from the image. The same loader is reachable via the bin CLI dot2env (dist/cli.cjs), which also re-requires the main module and re-triggers the loader. Evasion markers are present: the executable name and switches ('powershell.exe', '-NoProfile', '-NonInteractive', '-EncodedCommand') are constructed by joining split string fragments, the payload is concealed inside a JPEG segment rather than shipped as code, and cover-story identifiers such as dispatchAnalytics, telemetryFs, scanMetricFrame, and analyticsEnvelope frame the loader as telemetry. The bundle in dist/cli.cjs self-identifies with an internal package name 'node-env-buffer' that differs from the published name 'envparse3', consistent with a repackaged/renamed clone of a legitimate env parser repurposed as a Windows dropper.\n\n## Source: ghsa-malware (cf6625a76e25d09cfc8b39996f8ecacccd8d5c7cff8d412547ba534b2fd29d17)\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":"envparse3","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.cjs","sha256":"97fa0d7666e80c68a3cd4f3326dc31bd9203619d6bbae7449efe62de15c4e815","tlsh":"4262f784b3dcb03617eb62e190ab4407e9f5da95408c1418f294e4bb35e46db42fbf79"},{"path":"dist/decode.js","sha256":"f1af48cff9984a5d522d86b82f81dae9deb7d9cf42f12c68253a43acea100d22","tlsh":"03516242adb2a10a076397b787c740282375fd03b404d894b85cc7415faa79e467befd"},{"path":"dist/cli.cjs","sha256":"8556eeca50285aea12dfdcbc4ebcee110d916ef81ddde2e338dcf78bda2028cf","tlsh":"d792d74473cdb47a17e621d070ab500beaf2cb60459c1504f2dcb07627f4a9a96ebfb9"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vq77-3r62-c2cx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/envparse3/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-vq77-3r62-c2cx","import_time":"2026-09-22T18:31:21.183056026Z","modified_time":"2026-09-22T18:22:20Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"cf6625a76e25d09cfc8b39996f8ecacccd8d5c7cff8d412547ba534b2fd29d17","source":"ghsa-malware"},{"id":"IN-MAL-2026-020303","import_time":"2026-09-22T22:16:10.671873189Z","modified_time":"2026-09-22T21:49:55Z","sha256":"910a8a8e205bc9a9540696320007c14926950b5a4f832efc577f2fd67ddc80a4","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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