VYPR

npm · Malicious package advisory

Malware

brioche-apl-dev-env

GHSA-8r2r-7gc9-8vq8

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

Details

**Severity:** Critical

**Affected versions:** `> 0`

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

Compromised versions (1)

  • > 0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.