@decido/backend-core (npm) · Malicious Code
Affects @decido/backend-coreSource GCVE Database
Malicious package : remove @decido/backend-core and rotate any secrets on hosts that installed it.
Data as of 8 Aug 2026, 15:37 UTC
Malicious package
Published to npm · OSV MAL-2026-13621
What to do
Remove @decido/backend-core from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@decido/backend-core | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The @decido/backend-core npm package contains hardcoded authentication tokens that bypass JWT verification. Specifically, the middleware accepts the literal strings 'mock-admin-token' and 'mock-token-123' as valid credentials, granting ADMIN and STUDENT access respectively without proper validation. This allows any client sending these tokens to gain unauthorized administrative or student-level access to applications using this middleware.