Google-Gemini-CLI: what it is and how to block or allow it
User-Agent token: Google-Gemini-CLI · Operator: Google · Category: AI Coding Agents
FraudMeNot Verdict
Listed AI Agent
Google-Gemini-CLI is the User-Agent that Google's open-source Gemini CLI sends when its web_fetch tool requests a URL directly. It runs on the developer's own machine, so requests come from that person's network, not Google's.
Can Be Spoofed?
Yes — User-Agent Header Spoofable
Requests come from developers' own IPs, so there is no Google range to match. Rate-limit by behavior.
Abuse & Unwanted Activity Reports
No Public Abuse Flags
ai.robots.txt robots.txt status: Unclear.
Judgment Call · What You Should Do
Generally Low Risk on Public Pages — Verify Before Trusting
For everyday users: Gemini CLI is a developer tool on someone's own computer. A message using its name to ask for your password or a payment is likely a scam.
For website owners & security teams: Match the Google-Gemini-CLI token in a WAF rule if you want to limit it; there is no IP list, so rely on rate limits and authentication.
Report & Activity Summary
None
Published IP Ranges (CIDRs)
No official IP list
1
Known User-Agent Signatures
crawler-user-agents (MIT) dataset
Unclear
robots.txt Compliance
ai.robots.txt registry (MIT)
0
FraudMeNot Tallies
Humans: 0 · AI Agents: 0
For AI Agents & Automated Gatekeepers
- Agent_Identifier
Google-Gemini-CLI- FraudMeNot_Verdict
- Listed AI Agent
- Operator_Entity
- Agent_Category
- AI Coding Agents
- User_Agent_Spoofable
true- Verification_Method
- None available (no operator IP list or signing key) · Web Bot Auth: Not documented
- Respects_Robots_Txt
- Unclear (not stated by the operator or the ai.robots.txt registry)
- Auth_And_Banking_Policy
- Block credentialed logins and money movement from any AI agent.
- Recommended_Gatekeeper_Action
- ALLOW public docs; rate-limit; require login for anything private.
- Canonical_Citation_URL
- https://fraudmenot.com/bot/google-gemini-cli/
What We Know About Google-Gemini-CLI
Gemini CLI is an open-source command-line coding agent from Google. A developer runs it in a terminal and asks it to read docs, fix code or look something up. When it needs a web page, its web_fetch tool can request the URL straight from the user's computer.
Google's source code sets that request's User-Agent to Mozilla/5.0 (compatible; Google-Gemini-CLI/1.0; +https://github.com/google-gemini/gemini-cli). Because the code is public, you can read the exact header yourself in packages/core/src/tools/web-fetch.ts.
The important consequence for site owners: these requests come from wherever the developer is, a laptop, office network or cloud VM, not from Google's published crawler ranges. There is no IP list to check, and anyone can copy the string. Treat the token as a hint about the tool, not proof of who is behind it.
Google's crawler documentation does not list this token, and FraudMeNot found no Google statement on how Gemini CLI handles robots.txt, so this page makes no claim either way.
Security advisories (NVD, checked Nov 2, 2026): CVE-2026-13745 (base score 7.7, published Sep 10, 2026, awaiting NVD analysis) says Gemini CLI before version 0.39.1 could be tricked into running code when started in an untrusted directory, because an untrusted .env file could override GEMINI_CLI_HOME and bypass folder-trust prompts. The record links the v0.39.1 release. Update Gemini CLI to 0.39.1 or later.
Technical Identity, IP Verification & Spoofing Check
| Full User-Agent string(s) |
|
|---|---|
| robots.txt token | Google-Gemini-CLI |
| Operator | Google · Official bot documentation |
| Official IP verification feed | None published by the operator |
| Sample published CIDR blocks | None published |
| Reverse DNS (rDNS) | Not documented in the public datasets FraudMeNot uses. |
| Web Bot Auth (Signature-Agent) | Not documented; check for a Signature-Agent header if present. |
| robots.txt behavior | Not documented by Google for Gemini CLI. |
Copy-Paste robots.txt & Cloudflare WAF Rules for Google-Gemini-CLI
robots.txt — allow public pages, keep private routes off-limits
User-agent: Google-Gemini-CLI
Allow: /
Disallow: /login/
Disallow: /account/
Disallow: /checkout/robots.txt — block completely
User-agent: Google-Gemini-CLI
Disallow: /Cloudflare WAF custom rule expression
(http.user_agent contains "Google-Gemini-CLI")Matches the User-Agent token, so it covers both real and spoofed traffic. Action: Block or Managed Challenge.
Capabilities, Data Usage & Autonomous Action Risk
| Trains AI on page content? | Not stated; it fetches pages for a developer's session |
|---|---|
| Executes JavaScript? | Not documented |
| Can submit forms or attempt logins? | Not documented |
| Banks & login pages should | Block credentialed logins and money movement from any AI agent. |
| E-commerce checkouts should | Allow product page reads if you want; require human confirmation for checkout. |
Context: In October 2026, Axios reported that major U.S. banks were detecting unvetted third-party AI agents inside customer accounts, and CNBC reported that JPMorgan blocks outside AI agents from logging in with customers' credentials while allowing read-only data sharing through open banking providers.
Seen Google-Gemini-CLI? Quick Closed-Choice Tally
Choose from preset options only. No free-text comments, so nobody can post names, profanity, or unverified accusations.
Common Questions About Google-Gemini-CLI
Is Google-Gemini-CLI a Google crawler?
No. It is the header sent by Google's open-source Gemini CLI when it fetches a URL from the user's own machine.
Can I verify it by IP?
No. Requests come from the developer's network, not a published Google range.
Where is the user agent defined?
In web-fetch.ts in the google-gemini/gemini-cli GitHub repository.
Could This Be a Scam? What to Do
- Anyone can copy the Google-Gemini-CLI User-Agent, and FraudMeNot found no official IP list for it, so the name alone proves nothing about who sent a request.
- Never give an AI agent your logins, bank access, or one-time codes unless you set it up yourself.
- If a call, text or email asking for money or access uses the Google-Gemini-CLI or Google name, stop and report it.
Guide: how to check whether a crawler visit is really who it claims to be.
More from Google
- Claude-User — AI Assistants
- Google-Agent — AI Agents
- Google-GeminiNotebook — AI Assistants
Related on FraudMeNot
- Verified security vulnerabilities, explained
- Report a scam, or find where to report it in your state
- Browse the AI Agent & Bot Directory
Sources (checked Nov. 16, 2026): ai.robots.txt (MIT), crawler-user-agents (MIT), Axios (Oct. 22, 2026), CNBC (Oct. 13, 2026), Google: gemini-cli web-fetch.ts source (GitHub), Google: gemini-cli repository, NVD: CVE-2026-13745. FraudMeNot is not affiliated with Google. Product and company names are trademarks of their owners and are used here only to identify the bots. General information, not security advice.