Skip to main content
MalwarePublished Updated

relativity-foundation-core (npm) · Malicious Code

Affects relativity-foundation-coreSource GCVE Database

0

Malicious package : remove relativity-foundation-core and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 07:02 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12426

What to do

Remove relativity-foundation-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
npmrelativity-foundation-coreAffected
  • =6.8.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The relativity-foundation-core npm package version 6.8.2 contains malicious code in its preinstall script. This script collects system and environment information such as hostname, user name, current working directory, npm registry configuration, and CI environment variables, encodes this data in base64, and sends it via an HTTPS GET request to an attacker-controlled domain on every npm install. The package's main index.js file is empty, indicating its sole purpose is reconnaissance and data exfiltration.

References

Community reviews

Loading reviews…