Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in relativity-foundation-core (npm)

0
High
Published: 08/05/2026 (08/05/2026, 12:59:36 UTC)
Source: GCVE Database
Product: relativity-foundation-core

Description

The npm package relativity-foundation-core version 6.8.2 contains malicious code that executes a preinstall script during npm install. This script collects system information such as hostname, user environment variables, 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 (a Burp Collaborator subdomain). The package's main code file is empty, indicating its sole purpose is reconnaissance and data exfiltration during installation.

Affected software

npmghsa
relativity-foundation-core
Affected versions
=6.8.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 17:18:33 UTC

Technical Analysis

The relativity-foundation-core npm package version 6.8.2 includes a malicious preinstall script that gathers environment and system metadata (os.hostname(), USER/USERNAME environment variables, current working directory, npm_config_registry, CI environment variables, and platform) and encodes this information in base64. It then sends this encoded data via an HTTPS GET request to a Burp Collaborator subdomain controlled by an attacker, effectively exfiltrating reconnaissance data on every npm install. The package's index.js is empty, confirming that the preinstall script is the only active component. This behavior constitutes a supply chain attack through a malicious npm package.

Potential Impact

The malicious preinstall script can leak sensitive environment and system information to an attacker-controlled server during the installation process. This reconnaissance data could be used to profile the victim's environment for further targeted attacks or exploitation. There is no indication of direct code execution beyond the preinstall script or persistence mechanisms. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing version 6.8.2 of relativity-foundation-core. Verify package integrity and source before installation. Consider using package integrity verification tools and monitoring for unexpected network requests during npm installs. Check the vendor or package repository for updates or official advisories regarding this malicious package.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12426
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735743bf8831d539159c68

Added to database: 08/05/2026, 15:31:15 UTC

Last enriched: 08/05/2026, 17:18:33 UTC

Last updated: 08/05/2026, 17:18:33 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses