Skip to main content
MalwarePublished

remote_session_elements (npm) · Malicious Code

Affects remote_session_elementsSource GCVE Database

0

Malicious package : remove remote_session_elements and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:17 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12427

What to do

Remove remote_session_elements 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
npmremote_session_elementsAffected
  • =9999.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 remote_session_elements version 9999.0.0 is a dependency confusion squat designed to override an internal package. It executes a preinstall script that collects environment details such as hostname, username, working directory, npm registry, and CI repository identifiers, then sends this data unencrypted to a remote IP address. This behavior enables external actors to gather reconnaissance information for further dependency confusion attacks targeting internal package namespaces.

References

Community reviews

Loading reviews…