Skip to main content

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 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.

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: 09/12/2026, 07:02:05 UTC

Technical Analysis

The relativity-foundation-core npm package version 6.8.2 includes a preinstall script that executes a Node.js one-liner to gather sensitive environment details (os.hostname(), process.env.USER/USERNAME, cwd, npm_config_registry, CI, GITHUB_REPOSITORY, JENKINS_URL, platform). This information is base64-encoded and exfiltrated through an HTTPS GET request to a Burp Collaborator subdomain controlled by an attacker (aiwi9di43fzbjwncfrimdvkgu701orcg.oastify.com). The package's index.js is empty, confirming that the package's only effect is this data collection and exfiltration during installation.

Potential Impact

The malicious preinstall script can leak sensitive environment and system information to an attacker-controlled server whenever the package is installed. This reconnaissance data could aid attackers in further targeted attacks or compromise of the affected systems or development environments. There is no indication of active exploitation in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing version 6.8.2 of the relativity-foundation-core package. Verify package integrity and source before installation. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue.

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
Ecosystems
["npm"]

Threat ID: 6a735743bf8831d539159c68

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

Last enriched: 09/12/2026, 07:02:05 UTC

Last updated: 09/12/2026, 07:02:05 UTC

Views: 22

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