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 gemini-cli-a2a-server (npm)

0
Medium
Published: 08/19/2026 (08/19/2026, 03:50:19 UTC)
Source: GCVE Database
Product: gemini-cli-a2a-server

Description

The gemini-cli-a2a-server npm package version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host system identifiers and sends them to a hardcoded external URL. The package name mimics an internal Google Gemini CLI component, suggesting it is used for dependency confusion attacks to exfiltrate environment data when mistakenly installed instead of the intended private package.

Affected software

npmghsa
gemini-cli-a2a-server
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:30:31 UTC

Technical Analysis

The gemini-cli-a2a-server package on npm, specifically version 1.0.0, includes a postinstall script that gathers host identifiers such as hostname, platform, architecture, Node.js version, and package metadata. This data is sent via HTTPS POST to a hardcoded endpoint (https://onpx9s3x.instances.poc.jchunt.top/gemini-cli-a2a-server). The package name and a reference to an internal source file indicate it is designed to impersonate a private Google Gemini CLI component. This behavior aligns with a dependency confusion attack, where a malicious public package is published with the same name as a private internal package, causing unintended installations and data exfiltration.

Potential Impact

This malicious package can leak sensitive environment information from any system where it is installed, potentially exposing internal host details and metadata to an attacker-controlled server. While no direct code execution beyond the postinstall script is described, the exfiltration of environment data can aid further targeted attacks or reconnaissance.

Mitigation Recommendations

Users should avoid installing the gemini-cli-a2a-server package version 1.0.0 from public npm repositories. Verify package sources and names carefully to prevent dependency confusion attacks. Since no official patch or fix is indicated, the best mitigation is to remove or avoid this package and use verified internal packages. Monitor for any unexpected network connections to unknown endpoints during package installation.

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-14244
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c2acd9273b492524c7

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

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

Last updated: 08/19/2026, 14:30:31 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