Skip to main content
MalwarePublished

@decido/backend-core (npm) · Malicious Code

Affects @decido/backend-coreSource GCVE Database

0

Malicious package : remove @decido/backend-core and rotate any secrets on hosts that installed it.

Data as of 8 Aug 2026, 15:37 UTC

Classification

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

ProductAffectedFixed in
npm@decido/backend-coreAffected
  • 4.1.1 – 4.1.19
4 affected builds
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.

References

Community reviews

Loading reviews…