Skip to main content
MalwarePublished Updated

portal-backend (npm) · Malicious Code

Affects portal-backendSource GCVE Database

0

Malicious package : remove portal-backend and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 12:09 UTC

Classification

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

ProductAffectedFixed in
npmportal-backendAffected
  • =999.0.0
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.

References

Community reviews

Loading reviews…