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 compliancepolicyserv (npm)

0
Medium
Published: 07/13/2026 (07/13/2026, 17:37:53 UTC)
Source: GCVE Database
Product: compliancepolicyserv

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

npmghsa
compliancepolicyserv
Affected versions
=9.9.11

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: 07/14/2026, 09:59:29 UTC

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.

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