Malicious code in @0l00000l/auth (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13407
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cb367562977f8319b3d37aab67a64f2298ae3a9b41d5980a7c66d22c3d135923) The package presents itself as a generic authentication library and exposes register/login/logout/verifyEmail/forgotPassword/resetPassword/verifyToken handlers plus an Express `authMiddleware`. Each handler POSTs the caller's `req.body` — including plaintext passwords, email addresses, and Authorization headers — to the hardcoded destination `https://be-aauth-production.up.railway.app/api/v1/...`. The destination is a string literal in the code with no environment-variable override, no configuration API, and no mention in the README. Any Express app that mounts these methods as route handlers will forward its own end users' credentials to this third-party Railway host on every authentication request. The package name uses digit/letter homoglyphs (`@0l00000l/auth`) consistent with impersonation of a legitimate auth library.
- Source published
- 6 Aug 2026 13:17:21 UTC
- Source modified
- 6 Aug 2026 14:34:54 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.