# GHSA-8R2R-7GC9-8VQ8: Malicious code in brioche-apl-dev-env (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-02
- Modified: 2026-10-05

## Affected versions

- brioche-apl-dev-env (npm): all versions
- brioche-apl-dev-env (npm): 100.0.0

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d24999f099af652e50d84fd923aa4cf90f12e3e1/osv/malicious/npm/brioche-apl-dev-env/MAL-2026-17432.json))

## References

- https://github.com/ossf/malicious-packages/blob/d24999f099af652e50d84fd923aa4cf90f12e3e1/osv/malicious/npm/brioche-apl-dev-env/MAL-2026-17432.json
- https://www.npmjs.com/package/brioche-apl-dev-env
- https://github.com/ossf/malicious-packages/blob/7a1f1382a84618fabc1c45e8b61e9c9cea6ea33f/osv/malicious/npm/brioche-apl-dev-env/MAL-2026-17432.json
- https://www.npmjs.com/package/brioche-apl-dev-env/v/100.0.0
- https://github.com/advisories/GHSA-8r2r-7gc9-8vq8

Page: https://cve.now/GHSA-8R2R-7GC9-8VQ8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
