Skip to main content

Malicious code in getd-eslint-rules (npm)

0
Critical
Published: 06/09/2026 (06/09/2026, 20:32:32 UTC)
Source: GCVE Database
Product: getd-eslint-rules

Description

The npm package 'getd-eslint-rules' version 0.0.1 contains malicious code that exfiltrates host identifiers to a third-party URL upon installation. It collects data such as hostname, username, platform, current working directory, CI environment variable, and package details, sending them via an HTTPS GET request without user consent. The package is a typo-squatting artifact targeting users who mistype ESLint rules package names. Installation of this package may lead to full system compromise, requiring immediate secret and key rotation and package removal.

Affected software

npmghsa
getd-eslint-rules
Affected versions
=0.0.1

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/12/2026, 17:04:01 UTC

Technical Analysis

The 'getd-eslint-rules' npm package (version 0.0.1) includes a postinstall script that automatically collects host environment identifiers (os.hostname, os.userInfo username, os.platform, current working directory, CI environment variable, and package name/version) and sends them as query parameters in an HTTPS GET request to a hardcoded webhook.site URL. This exfiltration occurs silently during installation, with errors suppressed. Although the package claims to be a 'defensive typo-squat' research artifact, it effectively leaks sensitive environment information without consent. The package name is designed to catch users who mistype ESLint rules package names, increasing the likelihood of accidental installation. According to source advisories, any system with this package installed should be considered fully compromised, necessitating immediate secret/key rotation and removal of the package, though removal may not guarantee full remediation due to potential further compromise.

Potential Impact

Installation of this package results in unauthorized exfiltration of host environment identifiers to an external collector. The package is considered fully compromising the affected system, implying potential unauthorized access or control. All secrets and keys stored on the compromised system should be rotated immediately. The presence of this package indicates a high risk of further malicious activity beyond the initial data exfiltration.

Mitigation Recommendations

Remove the 'getd-eslint-rules' package immediately from all affected systems. Rotate all secrets and keys stored on the compromised systems from a separate, trusted environment. Due to the potential for full system compromise, further forensic analysis and remediation may be necessary. No official patch or fix is available; the package should be avoided entirely. Monitor for any signs of persistent compromise.

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-5466
Osv Schema Version
1.7.4
Aliases
["GHSA-jqwv-7cxv-rhvm"]
Ecosystems
["npm"]

Threat ID: 6a54adf168715ace438f6cb2

Added to database: 07/13/2026, 09:20:49 UTC

Last enriched: 09/12/2026, 17:04:01 UTC

Last updated: 09/13/2026, 00:40:10 UTC

Views: 30

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