Skip to main content

Malicious code in gaarf-bq (npm)

0
High
Published: 08/19/2026 (08/19/2026, 03:48:25 UTC)
Source: GCVE Database
Product: gaarf-bq

Description

The npm package gaarf-bq version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host identifiers such as hostname, platform, architecture, Node.js version, and package metadata, then sends this data to a hardcoded external server without user consent. This behavior is unrelated to the package's documented functionality and resembles dependency confusion tactics. No official patch or remediation guidance is provided.

Affected software

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

Technical Analysis

The npm package gaarf-bq version 1.0.0 includes a postinstall lifecycle script that collects installer host identifiers (os.hostname(), process.platform, process.arch, Node version, and package metadata) and transmits them via HTTPS POST to a hardcoded endpoint (vpx0x956.instances.poc.jchunt.top/gaarf-bq). This endpoint is not configurable by the user and is unrelated to the package's intended purpose. The package name mimics Google's ads-api-report-fetcher BigQuery component, suggesting it is designed to exploit dependency confusion to infiltrate internal builds and exfiltrate host fingerprints. Despite a self-description as a security-research canary, the behavior constitutes unauthorized data exfiltration.

Potential Impact

The malicious postinstall script leaks sensitive host environment information to an attacker-controlled server without user consent. This can lead to privacy violations and potentially aid attackers in profiling or targeting affected systems. There is no indication of direct code execution beyond the data exfiltration, and no known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing version 1.0.0 of the gaarf-bq package from untrusted sources. Review and verify package authenticity before installation, and consider using package integrity verification tools or private registries to prevent dependency confusion attacks.

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

Threat ID: 6a85b4c2acd9273b492524d7

Added to database: 08/19/2026, 13:50:58 UTC

Last enriched: 08/19/2026, 14:31:12 UTC

Last updated: 10/02/2026, 13:52:16 UTC

Views: 22

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