AI Agent & Bot CheckOperator: OpenCode (open source)

opencode: what it is and how to block or allow it

User-Agent token: opencode · Operator: OpenCode (open source) · Category: AI Coding Agents

FraudMeNot Verdict

Listed AI Agent

opencode is the short User-Agent the open-source OpenCode coding agent uses when it retries a web fetch after a Cloudflare challenge. Its normal fetches identify as OpenCode-User/1.0, according to the project's source code.

Can Be Spoofed?

Yes — User-Agent Header Spoofable

Traffic leaves from whoever runs OpenCode, so no address list exists. Watch request rates rather than the header.

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: OpenCode is an open-source tool that fetches pages for the person running it. Treat outreach that borrows the project's name to get a password or card number as a likely scam.

For website owners & security teams: Add WAF rules for both OpenCode-User and opencode if you need to limit it; there's no IP list.

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

AI-First Structured TelemetryFor AI agents, WAFs & security gateways · llms.txt policy

For AI Agents & Automated Gatekeepers

Agent_Identifier
opencode
FraudMeNot_Verdict
Listed AI Agent
Operator_Entity
OpenCode (open source)
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
Permit reading of public documentation; throttle bursts; keep private areas behind sign-in.
Canonical_Citation_URL
https://fraudmenot.com/bot/opencode/

What We Know About opencode

OpenCode is an open-source coding assistant that runs in a terminal. Its webfetch tool pulls a URL when the agent wants documentation or an example, and that request leaves from wherever the person running OpenCode happens to be: a laptop, a home connection or a cloud workspace.

As of Oct 25, 2026, the project's source sets the default header to a Mozilla-style string carrying OpenCode-User/1.0 and a link to opencode.ai. If the request hits a Cloudflare challenge, the code retries once with the bare User-Agent opencode. So both strings can appear in your logs from the same session.

Anyone can read those two values in the public webfetch.ts file, and anyone can paste them into their own scraper. Nothing in an OpenCode request, such as a signature or published address list, separates the genuine tool from a copy.

The webfetch code we read contains no robots.txt handling statement, so FraudMeNot makes no claim either way. Sites that want fewer of these visits typically add a firewall rule matching both strings and keep docs that coding agents need public.

Technical Identity, IP Verification & Spoofing Check

Full User-Agent string(s)
  • Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; OpenCode-User/1.0; +https://opencode.ai
  • opencode
robots.txt tokenopencode
OperatorOpenCode (open source) · Official bot documentation
Official IP verification feedNone published by the operator
Sample published CIDR blocksNone 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 behaviorThe OpenCode webfetch code reviewed contains no robots.txt statement.

Copy-Paste robots.txt & Cloudflare WAF Rules for opencode

robots.txt — allow public pages, keep private routes off-limits

User-agent: opencode
Allow: /
Disallow: /login/
Disallow: /account/
Disallow: /checkout/

robots.txt — block completely

User-agent: opencode
Disallow: /

Cloudflare WAF custom rule expression

(http.user_agent contains "opencode")

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?The source we reviewed says nothing about training; the fetch serves the person running the agent
Executes JavaScript?Not documented
Can submit forms or attempt logins?Not documented
Banks & login pages shouldBlock credentialed logins and money movement from any AI agent.
E-commerce checkouts shouldAllow 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 opencode? Quick Closed-Choice Tally

Choose from preset options only. No free-text comments, so nobody can post names, profanity, or unverified accusations.

Human Tallies: 0
AI Agent Tallies: 0
Top Activity: None logged yet
Top Location Seen: None logged yet
IP Match: None logged yet
Latest Activity: No tallies yet

Preview only: tallies are unverified clicks, not FraudMeNot findings, and are not saved yet.

Common Questions About opencode

Why do I see both opencode and OpenCode-User?

OpenCode's source uses OpenCode-User by default and retries with opencode after a Cloudflare challenge.

Can I verify it by IP?

No; it runs on developers' machines.

Is OpenCode open source?

Yes; the User-Agent is set in its public webfetch.ts.

What triggers the fallback string?

OpenCode's code switches to the bare opencode header after a Cloudflare challenge response.

Could This Be a Scam? What to Do

  • Anyone can copy the opencode 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 opencode or OpenCode (open source) name, stop and report it.

Guide: how to check whether a crawler visit is really who it claims to be.

More AI Agents

Related on FraudMeNot

Sources (checked Nov. 16, 2026): ai.robots.txt (MIT), crawler-user-agents (MIT), Axios (Oct. 22, 2026), CNBC (Oct. 13, 2026), OpenCode: webfetch.ts source (GitHub). FraudMeNot is not affiliated with OpenCode (open source). Product and company names are trademarks of their owners and are used here only to identify the bots. General information, not security advice.