Malicious code in compliancepolicyserv (npm)
The npm package compliancepolicyserv version 9.9.11 contains malicious code that executes during installation and import. It collects system information such as username, hostname, and current working directory, then sends this data via DNS queries to an attacker-controlled domain. The package masquerades as a compliance policy service but performs no legitimate function beyond this data exfiltration.
AI Analysis
Technical Summary
The [email protected] npm package registers index.js as both its install script and main entry point. Upon installation or import, index.js loads lib/core.js, which gathers system identifiers (os.userInfo().username, os.hostname(), process.cwd()) and concatenates them with a 'paypal' prefix, a timestamp, and the domain oob.sl4x0.xyz. It then performs a DNS resolve4 query to exfiltrate this information to an attacker-controlled domain. The code obfuscates API names and the exfiltration endpoint by reconstructing them at runtime from character code arrays in auxiliary scripts, evading static analysis. The package's name suggests a compliance-related utility, but its sole effect is this DNS beaconing behavior.
Potential Impact
This malicious package exfiltrates sensitive system information during installation or import, potentially compromising user privacy and security. The data sent includes username, hostname, and current working directory, which could aid attackers in profiling or targeting affected systems. There is no indication of further payload or exploitation beyond this data leakage.
Mitigation Recommendations
No official patch or remediation is currently available for [email protected]. Users should avoid installing or using this specific version. Since this is a malicious package, removing it from projects and replacing it with trusted alternatives is recommended. Monitor dependency sources carefully to prevent inclusion of similarly disguised malicious packages.
Malicious code in compliancepolicyserv (npm)
Description
The npm package compliancepolicyserv version 9.9.11 contains malicious code that executes during installation and import. It collects system information such as username, hostname, and current working directory, then sends this data via DNS queries to an attacker-controlled domain. The package masquerades as a compliance policy service but performs no legitimate function beyond this 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 [email protected] npm package registers index.js as both its install script and main entry point. Upon installation or import, index.js loads lib/core.js, which gathers system identifiers (os.userInfo().username, os.hostname(), process.cwd()) and concatenates them with a 'paypal' prefix, a timestamp, and the domain oob.sl4x0.xyz. It then performs a DNS resolve4 query to exfiltrate this information to an attacker-controlled domain. The code obfuscates API names and the exfiltration endpoint by reconstructing them at runtime from character code arrays in auxiliary scripts, evading static analysis. The package's name suggests a compliance-related utility, but its sole effect is this DNS beaconing behavior.
Potential Impact
This malicious package exfiltrates sensitive system information during installation or import, potentially compromising user privacy and security. The data sent includes username, hostname, and current working directory, which could aid attackers in profiling or targeting affected systems. There is no indication of further payload or exploitation beyond this data leakage.
Mitigation Recommendations
No official patch or remediation is currently available for [email protected]. Users should avoid installing or using this specific version. Since this is a malicious package, removing it from projects and replacing it with trusted alternatives is recommended. Monitor dependency sources carefully to prevent inclusion of similarly disguised malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10458
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ffb868715ace432facb7
Added to database: 07/14/2026, 09:22:00 UTC
Last enriched: 07/14/2026, 09:59:29 UTC
Last updated: 07/27/2026, 21:31:00 UTC
Views: 23
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.