{"id":"MAL-2026-17432","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.","modified":"2026-10-02T04:45:14.252166973Z","published":"2026-09-30T07:11:22Z","database_specific":{"iocs":{"files":[{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"425187cdaf8ac341e684f3885592d24dbd7f3a74bfdf051910fbb29590992627"},"note":"preinstall: node setup.js || true","paths":["package.json"]},{"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"],"domains":["s85r5k14qk.execute-api.us-east-1.amazonaws.com"]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/brioche-apl-dev-env"}],"affected":[{"package":{"name":"brioche-apl-dev-env","ecosystem":"npm","purl":"pkg:npm/brioche-apl-dev-env"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/brioche-apl-dev-env/MAL-2026-17432.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.0","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}