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

目标: 1000 元 · 已筹: 1359 元

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

dotenv-async

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

Summary

Malicious code in dotenv-async (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
401
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdotenv-async*
npmdotenv-async1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17504","published":"2026-10-04T23:29:08Z","modified":"2026-10-06T01:04:31.494085284Z","aliases":["GHSA-gp83-4g76-4qg5"],"summary":"Malicious code in dotenv-async (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (51d22963a1f1fabe3a8b3f54efcb5053761d385486093200765745297ac2bd16)\nThe package impersonates the dotenv API but on module load (and again when the bundled CLI runs) invokes a function named dispatchAnalytics in dist/index.cjs that extracts a payload from the APP14 (0xFFED) marker of dist/stest.jpg. The extracted UTF-16LE base64 string is assembled into a VBS file (relay_<time><rand>.vbs) in the OS temp directory that invokes powershell.exe with -NoProfile -NonInteractive -EncodedCommand, spawned via wscript.exe in detached, windowsHide mode. The decoded PowerShell downloads a second-stage Windows executable from hardwood-studio-obviously-briefing.trycloudflare.com/download/winhost and executes it, giving arbitrary code execution on Windows installers. String-splitting of powershell/wscript and argument tokens is used to evade static matching. A second obfuscated execution vehicle is shipped in dist/enterprise.js: a hex-named obfuscator.io-style loader that RC4-decrypts a base64 blob and executes it via new Function(require, module, __filename, __dirname, <decoded>); this file is not referenced by index.cjs in the current build but is a dormant secondary stage in the tarball. Identity inconsistencies corroborate intent: cli.cjs bundles an inner package.json declaring name node-env-buffer version 2.2.6 while the outer manifest is dotenv-async 1.0.0, and the README points at the unrelated motdotla/dotenv project.\n\n## Source: ghsa-malware (ab704deac4e98c562ccb2d13ba54ba292c9893420a3299cf3abdd2202544b88c)\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":"dotenv-async","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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":"dist/index.cjs","sha256":"97fa0d7666e80c68a3cd4f3326dc31bd9203619d6bbae7449efe62de15c4e815","tlsh":"4262f784b3dcb03617eb62e190ab4407e9f5da95408c1418f294e4bb35e46db42fbf79"},{"path":"dist/enterprise.js","sha256":"c603a9d04709f277ae7057150019db50d4d9721b87bad0da46013b92fe8e4723","tlsh":"d0425d48fe4e2087cffa93e31f611a54627dc288719e2068627a03d13a35a9295d7dfc"},{"path":"dist/cli.cjs","sha256":"8556eeca50285aea12dfdcbc4ebcee110d916ef81ddde2e338dcf78bda2028cf","tlsh":"d792d74473cdb47a17e621d070ab500beaf2cb60459c1504f2dcb07627f4a9a96ebfb9"}],"package_integrity":[{"filename":"dotenv-async-1.0.0.tgz","hashes":{"sha1":"331578bdeea70972602bd1ef7884c7f69c18a362","sha512_sri":"sha512-GepLJaTZvi8ZueAx69Y81bkBb9EtTLy83QpJVrb/vHnvEGU+ctg/54xYn25oWHZMcjKRri61w6IMXduNa3HDRg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dotenv-async/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gp83-4g76-4qg5"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020978","import_time":"2026-10-04T23:40:47.860950215Z","modified_time":"2026-10-04T23:29:08Z","sha256":"51d22963a1f1fabe3a8b3f54efcb5053761d385486093200765745297ac2bd16","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-gp83-4g76-4qg5","import_time":"2026-10-06T01:02:51.483095189Z","modified_time":"2026-10-06T00:20:27Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ab704deac4e98c562ccb2d13ba54ba292c9893420a3299cf3abdd2202544b88c","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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