{"id":"MAL-2026-17432","revision":"c7122f962651481891a8376ad420f7d9","records":[{"revision":"c7122f962651481891a8376ad420f7d9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17432","aliases":[],"title":"Malicious code in brioche-apl-dev-env (npm)","description":"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","state":0,"publishedAt":"2026-09-30T07:11:22+00:00","modifiedAt":"2026-10-04T23:30:06.6526377+00:00","affected":[{"ecosystem":"npm","name":"brioche-apl-dev-env","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["100.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/brioche-apl-dev-env","https://www.npmjs.com/package/brioche-apl-dev-env/v/100.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17432","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17432","identifiers":["MAL-2026-17432"]},"retained":false,"historicalAffected":[]}],"coverage":[]}