Skip to main content

Malicious code in eslint-config-compact-utils (npm)

0
High
Published: 09/22/2026 (09/22/2026, 17:31:11 UTC)
Source: GCVE Database
Product: eslint-config-compact-utils

Description

The npm package 'eslint-config-compact-utils' versions 1.0.0 and 1.0.2 contains malicious code that collects host and CI environment data and exfiltrates it to a hardcoded external endpoint upon import. This behavior is unrelated to the package's advertised ESLint configuration functionality and is consistent with reconnaissance activity typical of dependency confusion or typosquatting attacks.

Affected software

npmghsa
eslint-config-compact-utils
Affected versions
=1.0.2=1.0.0

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/23/2026, 06:22:46 UTC

Technical Analysis

The 'eslint-config-compact-utils' npm package versions 1.0.0 and 1.0.2 execute malicious code during module import that gathers host reconnaissance information including hostname, username, platform, architecture, Node.js version, current working directory, and CI/repository environment variables such as CI, RUNNER_NAME, and GITHUB_REPOSITORY. This data is sent as query parameters via HTTPS GET requests to a hardcoded AWS API Gateway endpoint (https://cbrsuo9293.execute-api.us-east-1.amazonaws.com/c). The exfiltration occurs as a side effect of importing the module, indicating the package is malicious and likely used for dependency confusion or typosquatting reconnaissance.

Potential Impact

The malicious package leaks sensitive environment and host information to an attacker-controlled endpoint, potentially exposing internal CI/CD environment details and host identity. This can facilitate further targeted attacks or compromise of development environments relying on this package.

Mitigation Recommendations

Users should immediately remove and replace 'eslint-config-compact-utils' versions 1.0.0 and 1.0.2 from their projects. Avoid installing or importing this package. Since no official patch or remediation is indicated, rely on package removal and verification of dependencies to prevent this malicious code execution.

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-16417
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ab36ffaf7a7c541065dd964

Added to database: 09/23/2026, 06:21:46 UTC

Last enriched: 09/23/2026, 06:22:46 UTC

Last updated: 09/24/2026, 01:21:46 UTC

Views: 15

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