Malicious code in relativity-foundation-core (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in relativity-foundation-core (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.