Claude Code alternatives for security researchers come in four kinds: verified access that keeps you on Claude Code, another vendor's coding agent, an open-source agent with a model you choose, and agents built for security work. The choice turns on one fact. Claude Code's blocks come from the model service behind it, so swapping the terminal tool alone changes nothing. Every price and repository figure below was read at the source on November 30, 2026.
Key takeaways
- In Anthropic's own test, an unverified account was blocked on the first prompt in all 50 offensive-security trials. With Red Team Access, none were blocked.
- Red Team Access is for organizations on Enterprise and API plans. Individuals can get the defensive tier only.
- A coding agent is two parts: the harness that edits files and runs commands, and the model behind it. Refusals belong to the model and its safeguards.
- Open-source agents such as OpenCode, Cline and Qwen Code document support for local models through Ollama, so the model is yours to choose.
- OpenAI's Codex CLI is the nearest like-for-like tool, and it runs under OpenAI's own cyber safeguards.
A note on bias: this guide is published by AiTM (aitm.io), and the AiTM AI Agent is one of the options. We ran no hands-on tests of the other tools, so nothing here is ranked. The guide compares what each vendor or project publishes and states AiTM's limits alongside everyone else's.
Everything below assumes you have written authorization and a defined scope for the systems you test. This guide contains no jailbreaks or prompt tricks.
Why do security researchers look for a Claude Code alternative?
Security researchers look for a Claude Code alternative because Anthropic's cyber safeguards stop offensive work by default, and Claude Code is where long agent sessions make a block most expensive.
Since April 2026, Anthropic's most capable models have run with real-time classifiers that screen requests for cybersecurity risk. Anthropic lists penetration testing, red teaming, bug bounties and exploitation as high-risk dual use, blocked by default on those models.
In Claude Code, the block arrives as an error. Anthropic's Claude Code documentation gives the wording: the named model's safeguards flagged the message, and the intentionally broad safeguards can sometimes flag legitimate cybersecurity work.
Anthropic measured how complete the block is. In its October 2026 announcement, it ran its Opus 5.5 model through ten offensive-security challenges, five attempts each. Without verification, all 50 trials were blocked on the first prompt.
For an agent, a block is worse than a refusal in chat. A session that has spent an hour building context on a target stops partway. One user reported on Anthropic's issue tracker in May 2026 that a flag while hardening their own software then affected the rest of the session. That gap is what an unrestricted agent is for: the AiTM AI Agent is an unrestricted AI agent for authorized security work that carries an in-scope task through on your own machine. We cover the mechanics of the blocks in why Claude blocks pentesting requests.
What does Claude Code still do well for security work?
Claude Code still handles a wide band of security work, and that band is worth knowing before you replace anything.
Anthropic's July 2026 post on its safeguards lists secure coding, log analysis, incident response and malware reverse engineering as benign, allowed for everyone. Its Opus 5.5 system card says vulnerability discovery in source code is allowed, while vulnerability discovery in compiled binaries is blocked.
So Claude Code remains a reasonable tool for:
- Reviewing source code for vulnerabilities and writing fixes.
- Building detection rules, parsers and analysis tooling.
- Triage and incident-response scripting.
- Report drafting and documentation.
The band is getting wider. In its September 2026 release notes for Fable 5.1, Anthropic said Claude Code users could expect around 60% fewer interventions per session from its cyber safeguards, and that the model can now be used to discover software vulnerabilities, though not to develop exploits.
The model underneath is also willing. With the classifiers switched off, Anthropic's system card reports that Opus 5.5 in Claude Code helped with 99.8% of a set of dual-use and benign prompts. The classifier in front of the model does the blocking.
As of November 30, 2026, Anthropic's pricing page includes Claude Code from the Pro plan, at $20 a month billed monthly, with Max from $100 a month. It is not on the Free plan.
The work that needs an alternative is narrower: exploit development, binary vulnerability research, penetration testing and red-team tooling.
What makes a real alternative to Claude Code?
A real alternative changes the model or the access level. Changing only the terminal tool does not help.
A coding agent has three layers:
- The harness. The program on your machine that reads files, edits them, runs commands and asks for approval. Claude Code, Codex CLI and OpenCode are harnesses.
- The model. The system that decides what to do next. It runs on a provider's servers or on your own hardware.
- The safeguards. Classifiers and policies the provider runs around its model. They travel with the model, whichever harness calls it.

This is why some popular advice fails. Pointing a different harness at the same Claude model leaves the same classifiers in place. PentestGPT is a clear example. Its repository describes a current version that drives the Claude Code or Codex command-line tools as its engine, so it inherits whatever those tools block.
That leaves four real moves: get verified, change vendor, bring your own model to an open harness, or use an agent built for security work.
The alternatives at a glance
The table lists options an individual researcher or a small team can act on. Prices are monthly, in US dollars. Star counts come from the GitHub API on November 30, 2026.
| Option | What changes | Cost | Open to individuals |
|---|---|---|---|
| Cyber Verification Program | Access level; same Claude Code | No program fee listed; paid plan needed | Defensive tier only |
| OpenAI Codex CLI | Vendor and model | Included in ChatGPT paid plans; Plus is $20 | Yes, under OpenAI's safeguards |
| OpenCode, Cline, Qwen Code, Aider | Harness, with a model you choose | Free software plus model or hardware | Yes |
| AiTM AI Agent | Harness and model | Agents from $150; 7-day trial | Yes |
| HackerAI | Harness and model | $29; limited free plan | Yes |
| Strix | Security harness, your model key | Free; hosted from $29 per developer | Yes |
| Shannon | Web pentest harness, your model key | Free (AGPL-3.0) | Yes |
| Burp AT | Web-testing agent inside Burp Suite | $19 plus a Burp Suite Professional license | Yes |
Option 1: Stay on Claude Code with the Cyber Verification Program
The Cyber Verification Program is the only option that keeps Claude Code and removes the blocks. Anthropic verifies who you are, then relaxes the cyber safeguards on your account.
According to Anthropic's program page, read on November 30, 2026, the application covers Claude, Claude Code and the Claude API used directly through Anthropic. There are three tiers:
- Defense Access covers security operations, incident response, malware analysis and vulnerability triage. Organizations and individuals on paid plans can apply.
- Red Team Access covers authorized penetration testing, red teaming and exploit development. It is for organizations on Enterprise and API plans.
- Specialized Access is for a limited set of organizations.
The review targets are two days for Defense Access and two weeks for Red Team Access, and the page says reviews are currently taking longer because of high demand.
The tier matters a great deal. In Anthropic's 50-trial test, Defense Access still saw 46 trials blocked at some point. Red Team Access saw none, and the model completed 34 of the 50 tasks.
Verification does not end every interruption. Anthropic's page says approved users may still experience some refusals and classifier blocks for allowed work. An outside measurement agrees. MobileCybench, a preprint from September 21, 2026, ran coding agents on mobile vulnerability discovery. Claude Code refused in 25.0% of its runs with Opus 4.8 and 42.4% with Opus 5, despite running with Anthropic's cyber-verified access. The authors saw no refusals in the other agents' transcripts, which used OpenCode. The paper predates the October tier changes.
Fits: an in-house red team or a testing firm on an Enterprise or API plan. Does not fit: an independent researcher, a bug bounty hunter, or anyone who needs the offensive tier this month. Our guide to trusted access for cyber programs covers the evidence Anthropic asks for.
Option 2: Switch to another vendor's coding agent
Switching to another vendor's coding agent gives you a similar tool under a different set of safeguards. For offensive work, the difference is smaller than it looks.
OpenAI Codex CLI is the nearest equivalent to Claude Code. Its repository is Apache 2.0-licensed and had 136,849 stars on November 30, 2026. The README says it runs locally on your computer and works with a ChatGPT Plus, Pro, Business, Edu or Enterprise plan.
Codex runs under OpenAI's cyber safeguards. OpenAI's Codex documentation says legitimate cybersecurity or unrelated activity can still trigger a safeguard, and that a safeguard may block, reroute or limit a request. OpenAI's verified route, Daybreak, has the same shape as Anthropic's: individuals get the defensive tier, and the offensive tier is for approved organizations.
Google's Gemini CLI is no longer an option for most individuals. Its repository now carries a notice that free individual access and Google AI plans moved to a separate product, Antigravity CLI, in June 2026, and that Gemini CLI is maintained for enterprise licenses.
Recent evidence suggests the big vendors now behave alike on exploit work. CyberDualEval, a preprint from November 23, 2026, ran 430 vulnerability tasks through ten current models. Five of the seven closed-weight models, from Anthropic and OpenAI, refused every proof-of-concept and exploit request. Nearly all of those refusals came from provider content filters and model fallbacks.
Fits: researchers whose blocked work is defensive or borderline, and who want a second tool for when one vendor's classifier misfires. Does not fit: exploit development, where both vendors block by default. Our guide to ChatGPT alternatives for penetration testers covers the OpenAI side.
Option 3: Use an open-source agent with a model you choose
Open-source coding agents separate the harness from the model. You keep the Claude Code way of working and decide what sits behind it, including a model on your own hardware.

| Agent | License | Stars, November 30, 2026 | Local models, per its docs |
|---|---|---|---|
| OpenCode | MIT | 230,106 | Ollama, LM Studio and vLLM, with built-in discovery |
| Cline | Apache 2.0 | 71,995 | Ollama and LM Studio |
| Aider | Apache 2.0 | 50,323 | Ollama and OpenAI-compatible endpoints |
| Qwen Code | Apache 2.0 | 31,048 | Ollama and vLLM, or any third-party provider |
A few details from the projects' own pages:
- OpenCode describes itself as the open source coding agent. Its provider documentation says it detects a running Ollama server and adds its models without an account. Its permission rules can ask before shell commands and block specific ones.
- Cline runs as an IDE extension, a desktop app or a command-line tool. Its local-models guide gives hardware guidance: 16 to 32 GB of RAM for small or quantized models, 32 to 64 GB for mid-size coding models, and 64 GB or more for larger ones.
- Aider is a terminal pair programmer with Ollama support. Its last commit on GitHub was in May 2026, so check its activity before you depend on it.
- Qwen Code says in its README that it supports OpenAI, Anthropic, Gemini and Qwen APIs, plus any third-party provider or local model.
Stars measure attention, not quality. They do show these are large, maintained projects and not weekend experiments.
The harness is the easy half. The model you connect decides whether this option works, and the next section covers that.
Fits: researchers who want control over the whole stack, or whose client data cannot leave their machine. Does not fit: anyone expecting Claude-level results from a model that fits on a laptop.
Which model do you put behind an open agent?
You have three choices of model for an open agent: a local open-weight model, a hosted model that does not refuse, or a frontier model under its vendor's safeguards. Each has a known cost.
A local model. Nothing leaves your machine and no provider classifier sits in the path. The cost is capability. A May 2026 preprint on safety alignment in security agents found that a less-restricted version of a 31-billion-parameter open model raised success on vulnerability-analysis tasks from 0.7% to 14.0%. That is a real gain and a low ceiling. We compare the routes in hosted versus local uncensored models.
A modified model. Models with refusals removed, known as abliterated models, are easy to download. In October 2026 the consultancy Include Security compared one with its base version on application testing. The abliterated model produced 26% fewer findings overall, and the authors warn that such a model may take destructive or out-of-scope actions. In an agent that runs commands, that warning matters more than it does in chat. Our explainer on what abliteration is covers the technique.
A frontier model through its API. The agent works well and the vendor's safeguards come with it. You are back where you started.
Agent work is harder on a model than chat. The model has to call tools correctly, keep track of a long task and recover from errors. Test a candidate on a real task before you build a workflow around it.
Option 4: Use an agent built for security work
Agents built for security work supply both layers: a harness designed for testing and a model that engages with offensive tasks. You trade the flexibility of the open route for something that works on day one.
AiTM AI Agent
The AiTM AI Agent is an unrestricted AI agent for authorized security work, from AiTM (aitm.io). It runs on your own macOS, Windows or Linux machine. It plans a task, reads and edits files, runs shell and PowerShell, manages background tasks, searches the web, drives a browser and verifies its own work.
It has three permission modes: Manual, where you approve every action; Accept-edits, which applies file edits and asks for the rest; and Full auto. According to AiTM, the platform keeps no transcript and no source code, and you can bring your own provider key.
Agents are included from the Business plan at $150 a month on the pricing page, and the site states a 7-day free trial of the assistant and the agent with no card needed.
Limits: AiTM is a new product, paid plans are billed in Bitcoin only, and the underlying model is not disclosed. Use is governed, and accounts can be suspended for abuse.
HackerAI
HackerAI describes itself as an AI agent for penetration testing. The agent runs on your machine with your user's privileges or in an isolated sandbox that HackerAI hosts. The pricing page lists a limited free plan and Pro at $29 a month.
Limits: its trust page says the service is in beta, holds no SOC 2 or ISO 27001 certification, and that local mode has no container isolation.
Strix
Strix is an Apache 2.0-licensed agent for finding vulnerabilities in applications, with 78,332 stars on November 30, 2026. It runs locally in Docker with your own model key, and a hosted version is priced at $29 per developer a month with pentests billed separately.
Limits: Strix is a harness. Like the agents in Option 3, it refuses whatever the model you connect refuses.
Shannon
Shannon is an AGPL-3.0-licensed AI pentester for web applications and APIs, with 52,491 stars on November 30, 2026. It reads your application's source code, then runs real exploits against the running application and reports only what it could prove. Its README says it supports Anthropic, OpenAI and xAI models, compatible APIs, and local models served through Ollama, vLLM or LM Studio.
Limits: web applications with source access only. The README warns that Anthropic and OpenAI apply real-time safeguards to cybersecurity workloads, which can interrupt a scan mid-run.
Burp AT
PortSwigger's Burp AT puts an agent inside Burp Suite for web testing. It is in public beta for Burp Suite Professional users, with plans at $19, $89 and $249 per user a month.
Limits: web targets only. PortSwigger's data-handling page says it currently uses models from OpenAI and Anthropic, and does not say how those providers' cyber safeguards apply.
This group fits: independent researchers and small firms who want to work today. Check first: what each vendor stores, and which machine you let the agent run on.
What do you give up when you leave Claude Code?
You give up three things when you leave Claude Code, and none of them is trivial.
The model. Claude Code runs Anthropic's newest models, and Anthropic's own test shows what they can do once the blocks are lifted: 34 of 50 offensive tasks completed. A local model will not match that. Hosted alternatives may or may not, and no independent benchmark compares them.
The ecosystem. Claude Code is widely used; its GitHub repository had 157,568 stars on November 30, 2026. A smaller tool has fewer integrations and fewer people who have hit your problem before.
A published safety record. Anthropic documents its safeguards, policies and incidents in detail. Several alternatives are young, and some do not name their model.
What you gain is a tool that finishes the task. For work Claude Code handles, there is little reason to leave. A sensible setup keeps Claude Code for source review and defensive work and adds a second agent for the offensive tasks it blocks.
How do you choose a Claude Code alternative?
Choose by what is blocking you and who you are.

| Your situation | Start with | Why |
|---|---|---|
| Organization on an Enterprise or API plan | Red Team Access | Same tool, no blocks in Anthropic's test |
| Independent researcher who needs to work now | An agent built for security work | Open to individuals, no review period |
| Client data must not leave your machine | An open agent with a local model | No provider in the path |
| Mostly web application testing | Burp AT, Strix or Shannon | Built around web targets |
| You want to own the whole stack | OpenCode or Cline with a model you pick | Open source, model-agnostic |
Whichever you pick, test it the same way. Take a task Claude Code blocked on a past engagement, replace client details with lab values such as lab.local, and run it on a dedicated test machine in the strictest permission mode. Judge the result on correctness.
Where does the AiTM AI Agent fit?
The AiTM AI Agent fits researchers who like how Claude Code works and need it to keep going on authorized offensive tasks.
- The AiTM AI Agent is an unrestricted AI agent that runs in your own environment on macOS, Windows or Linux. It plans the work, reads and edits files, runs shell and PowerShell, searches the web, drives a browser and verifies its results, under the permission mode you set: Manual, Accept-edits or Full auto. According to AiTM, the platform keeps no transcript and no source code.
- Unrestricted AI is the chat assistant, for methodology, scripting, CVE research and reporting. It reads images and PDFs and searches the live web.
As of November 30, 2026, the site offers a 7-day free trial of the assistant and the agent with no card needed. Paid plans run from $30 to $300 a month, with agents and bring-your-own-key included from the $150 Business plan.
The limits: AiTM is a new product, paid plans are billed in Bitcoin only, and the underlying model is not disclosed. It is for authorized, in-scope security work only, and accounts can be suspended for abuse. For a wider list, see our comparison of unrestricted AI tools for security work.
FAQ
What is the best Claude Code alternative for security research?
No single tool is best, and no independent benchmark compares them. Organizations on Enterprise or API plans can apply for Anthropic's Red Team Access and keep Claude Code. Independent researchers can use an agent built for security work, such as the AiTM AI Agent or HackerAI, or an open-source agent such as OpenCode with a model they choose.
Is there an open-source alternative to Claude Code?
Yes. OpenCode, Cline, Aider and Qwen Code are open-source coding agents under MIT or Apache 2.0 licenses. OpenAI's Codex CLI is also open source. The open harnesses document support for local models through Ollama. They are harnesses only, so results depend on the model you connect.
Can I run a Claude Code alternative with a local model?
Yes. OpenCode, Cline, Aider and Qwen Code all document local-model support through Ollama, and some through LM Studio or vLLM. Cline's guide suggests 32 to 64 GB of RAM for mid-size coding models. Local models are far smaller than Claude, so expect weaker results on long, multi-step tasks.
Does switching to Codex CLI avoid security blocks?
Not for offensive work. Codex CLI runs under OpenAI's cyber safeguards, and OpenAI's documentation says legitimate cybersecurity activity can still trigger them. A November 2026 benchmark found five of seven closed models from Anthropic and OpenAI refused every exploit request. Codex can help when one vendor's classifier misfires on defensive work.
Can an individual get Claude Code unblocked for penetration testing?
Not for the offensive tier, as of November 2026. Anthropic's Red Team Access, which covers penetration testing and exploit development, is for organizations on Enterprise and API plans. Individuals can apply for Defense Access with a government-issued photo ID, which covers incident response, malware analysis and vulnerability triage.
Does PentestGPT replace Claude Code?
No. PentestGPT's current version drives the Claude Code or Codex command-line tools as its engine, so it adds a testing workflow on top of them and inherits their blocks. An older mode accepts other providers or a local model through Ollama, which changes the model and so changes what gets refused.
The short version
Claude Code alternatives for security researchers work only if they change the model or the access level. Organizations can get Red Team Access and keep Claude Code. Everyone else chooses between another vendor's agent with similar safeguards, an open-source agent with a model they supply, or an agent built for security work. Keep Claude Code for what it allows, and test any replacement on a task it blocked.
To run authorized security work with an agent that carries an in-scope task through, try the AiTM AI Agent or create an account.
