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

目标: 1000 元 · 已筹: 1359 元

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

brioche-apl-dev-env

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

Summary

Malicious code in brioche-apl-dev-env (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
180
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbrioche-apl-dev-env*
npmbrioche-apl-dev-env100.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17432","published":"2026-09-30T07:11:22Z","modified":"2026-10-04T23:18:27.484136514Z","summary":"Malicious code in brioche-apl-dev-env (npm)","details":"brioche-apl-dev-env is a dependency-confusion package: it takes a name that looks like an internal project, uses an inflated version (100.0.0) so it outranks private-registry versions, and runs `node setup.js || true` as a preinstall script on npm install. setup.js sends the hostname, username, working directory, OS, architecture, Node.js version and configured npm registry, with a per-package tracking token, in an HTTPS POST to `https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook`. The npm account amel10 published brioche-apl-dev-env and 9 similar packages within two minutes on 2026-09-30, all with the same setup.js.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (637c99e6cd2bd8e143f01f5f522a7497375a24072fca131057cfd40ae0bb0d3e)\nThe package declares a `preinstall` script that runs `setup.js` during `npm install`. That script collects installer host identifiers (hostname, OS username, current working directory, platform/arch, Node.js version, configured npm registry) together with a static per-package token, serializes them as JSON, and POSTs them to a hardcoded endpoint at https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook. The package is presented as a small utility (vowel-counting) but its only install-time effect is this outbound beacon to an author-controlled AWS API Gateway URL. The version number (100.0.0) and package naming are consistent with a dependency-confusion lure targeting an internal `brioche-apl-*` namespace, and the transmitted fields (internal hostname, username, cwd, configured registry) are exactly the reconnaissance data used to identify successfully hijacked internal builds.\n","affected":[{"package":{"name":"brioche-apl-dev-env","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["100.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":"setup.js","sha256":"2b68db643189196da35e2b3d16d9e05a3a2df600bc286421932300417c5f0758","tlsh":"e001f4f496e5e5b53abc51c4f15078479277d114340775e0c9e481557f89af80d728f2"}],"package_integrity":[{"filename":"brioche-apl-dev-env-100.0.0.tgz","hashes":{"sha1":"c3057290d69637592bf60603d71cf7cd1e86225b","sha512_sri":"sha512-dMJJnTe0YAtB2YW7etFOJGbTgAKAwzS2fjZwrCbzGg+mJuvaQaWk90q+AxlEJbvqHgjE9ICsaYLPEAd4V7BhaA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/brioche-apl-dev-env"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/brioche-apl-dev-env/v/100.0.0"}],"database_specific":{"iocs":{"domains":["s85r5k14qk.execute-api.us-east-1.amazonaws.com"],"files":[{"digests":{"sha256":"425187cdaf8ac341e684f3885592d24dbd7f3a74bfdf051910fbb29590992627"},"note":"preinstall: node setup.js || true","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"2b68db643189196da35e2b3d16d9e05a3a2df600bc286421932300417c5f0758"},"note":"Executed by the preinstall script.","paths":["setup.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-020897","import_time":"2026-10-04T23:16:31.09421692Z","modified_time":"2026-10-04T23:16:11Z","sha256":"637c99e6cd2bd8e143f01f5f522a7497375a24072fca131057cfd40ae0bb0d3e","source":"amazon-inspector","versions":["100.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}

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