Malicious code in gaarf (npm)
The npm package 'gaarf' version 3.2.1 contains malicious code in its postinstall script that collects host identifiers and sends them to a third-party server. This behavior occurs automatically during installation and targets users who likely mistyped the intended package name 'google/ads-api-report-fetcher'. The data exfiltration is not configurable and sends information to an external domain unrelated to the installer’s infrastructure.
AI Analysis
Technical Summary
The 'gaarf' npm package version 3.2.1 includes a postinstall lifecycle script that executes automatically upon installation. This script collects system information including hostname, platform, architecture, Node.js version, package name, and lifecycle event. It then sends this data via an HTTP POST request to a hardcoded external endpoint (n8wx863s.instances.poc.jchunt.top/gaarf). The package name is similar to 'google/ads-api-report-fetcher', suggesting that victims are users who mistakenly install 'gaarf' instead of the legitimate package. This results in unintended data leakage to a third-party server.
Potential Impact
The malicious postinstall script leaks host identifiers and environment details to an unauthorized external server. This compromises user privacy and may aid attackers in profiling or targeting affected systems. There is no indication of further exploitation or code execution beyond data exfiltration. No known active exploits have been reported in the wild.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'gaarf' package version 3.2.1. Verify package names carefully before installation to prevent typosquatting. Consider removing the package if already installed and monitor for suspicious network activity related to the described endpoint. Patch status is not yet confirmed — check the vendor advisory or npm registry for updates.
Malicious code in gaarf (npm)
Description
The npm package 'gaarf' version 3.2.1 contains malicious code in its postinstall script that collects host identifiers and sends them to a third-party server. This behavior occurs automatically during installation and targets users who likely mistyped the intended package name 'google/ads-api-report-fetcher'. The data exfiltration is not configurable and sends information to an external domain unrelated to the installer’s infrastructure.
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 'gaarf' npm package version 3.2.1 includes a postinstall lifecycle script that executes automatically upon installation. This script collects system information including hostname, platform, architecture, Node.js version, package name, and lifecycle event. It then sends this data via an HTTP POST request to a hardcoded external endpoint (n8wx863s.instances.poc.jchunt.top/gaarf). The package name is similar to 'google/ads-api-report-fetcher', suggesting that victims are users who mistakenly install 'gaarf' instead of the legitimate package. This results in unintended data leakage to a third-party server.
Potential Impact
The malicious postinstall script leaks host identifiers and environment details to an unauthorized external server. This compromises user privacy and may aid attackers in profiling or targeting affected systems. There is no indication of further exploitation or code execution beyond data exfiltration. No known active exploits have been reported in the wild.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'gaarf' package version 3.2.1. Verify package names carefully before installation to prevent typosquatting. Consider removing the package if already installed and monitor for suspicious network activity related to the described endpoint. Patch status is not yet confirmed — check the vendor advisory or npm registry for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14236
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c2acd9273b492524d9
Added to database: 08/19/2026, 13:50:58 UTC
Last enriched: 08/19/2026, 14:31:26 UTC
Last updated: 08/19/2026, 14:31:26 UTC
Views: 2
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.