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

0
Medium
Published: 08/19/2026 (08/19/2026, 03:48:08 UTC)
Source: GCVE Database
Product: gaarf

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

npmghsa
gaarf
Affected versions
=3.2.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: 08/19/2026, 14:31:26 UTC

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.

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