Malicious code in eslint-config-compact-utils (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in eslint-config-compact-utils (npm)
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
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 '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.
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 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.