portal-backend (npm) · Malicious Code
Affects portal-backendSource GCVE Database
Malicious package : remove portal-backend and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 12:09 UTC
Malicious package
Published to npm · OSV MAL-2026-5781
What to do
Remove portal-backend 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 |
|---|---|---|
| npmportal-backend | 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 npm package named 'portal-backend' version 999.0.0 contains malicious code that executes during installation. Its preinstall hook runs a script that collects environment variables matching credential-related patterns and system information, then sends this data to an attacker-controlled server. This package is designed for dependency confusion attacks, masquerading as a legitimate internal package to trick developers or CI systems into installing it and leaking sensitive secrets.