Why Claude blocks pentesting requests has a specific answer: on its newest models, Anthropic runs real-time classifiers that treat penetration testing, red teaming and exploit development as high-risk dual-use work, and block it by default. Anthropic's usage policy allows authorized security testing. The block comes from the safeguards around the model, which cannot see your authorization. This article explains how those safeguards work, who can get past them legitimately, and what OpenAI, Google, Microsoft and Meta say about the same problem.
Key takeaways
- Claude's policy permits security research on systems you own or are authorized to test. The blocks come from automated classifiers, added in April 2026.
- Anthropic lists penetration testing, red teaming and bug bounties as high-risk dual use, and says it sets its classifiers so that many benign requests are blocked too.
- In Anthropic's own test, an unverified account was blocked on the first prompt in all 50 offensive-security trials.
- Verified access exists, but the tier that covers penetration testing is for organizations only, on Enterprise and API plans.
- OpenAI and Google have built similar verified-access programs. The whole industry is moving the decision from the prompt to the account.
This article does not contain jailbreaks or prompt tricks.
Why does Claude block pentesting requests?
Claude blocks pentesting requests because a classifier stops them, usually before the model's own judgment comes into it. Since April 2026, Anthropic's most capable models have shipped with safeguards that screen every request for cybersecurity risk.
The change arrived with Claude Opus 4.7. Its launch announcement says the model was released with safeguards that automatically detect and block requests indicating prohibited or high-risk cybersecurity uses. The same post invited security professionals doing vulnerability research, penetration testing and red teaming to apply to a new Cyber Verification Program.
Two things about this are easy to miss:
- The model is not the main gate. Anthropic's Opus 5.5 system card says model refusals are only a secondary protection, and that the primary mechanism is the blocking classifier.
- The default is to block. For work in the high-risk category, an unverified account is stopped whether or not the request is legitimate.
So the experience many testers describe, where an earlier Claude model helped and a newer one will not, is real. It follows from a deliberate change in how Anthropic controls access.
Does Anthropic's policy ban penetration testing?
No. Anthropic's Usage Policy, effective November 12, 2026, prohibits attacks on systems without the owner's authorization. It then says in plain terms that this does not prohibit security research, testing or tool development on systems you own or operate, or with the system owner's authorization.
What the policy prohibits is specific: discovering or exploiting vulnerabilities without authorization of the system owner, gaining unauthorized access, building malware or ransomware, and running denial-of-service attacks. The line it draws is authorization, the same line the profession draws.
The policy also points to the mechanism. For work covered by Anthropic's real-time cyber safeguards, it says users may apply for adjusted access through the Cyber Verification Program.
Claude's published constitution, the document describing how Anthropic wants the model to think, is similarly open to security work. It uses a penetration tester asking about an existing piece of malware as an example of context that can make a request more credible. It also explains the caution: Claude is asked to imagine the same message sent by 1,000 different users and to answer as if setting a policy for all of them. A small number of hard limits cannot be unlocked by anyone, including creating cyberweapons or malicious code that could cause significant damage.
The gap between a permissive policy and a blocked request is the classifier.
How do Claude's cyber safeguards work?
Claude's cyber safeguards are classifiers that score requests and conversations, sort them into risk categories, and block or downgrade the ones above a threshold.
Anthropic published the categories in a July 2026 post about its Fable 5 model.

| Category | Examples Anthropic gives | Handling |
|---|---|---|
| Prohibited | Ransomware, wipers, malware, command and control, exfiltration | Blocked |
| High-risk dual use | Hacking, penetration testing, red teaming, bug bounties, exploitation | Blocked by default on its most capable models |
| Low-risk dual use | Lower-risk security tasks | Monitored, sometimes blocked |
| Benign | Secure coding, log analysis, incident response, malware reverse engineering | Allowed |
The post is candid about the second row. What separates the legitimate case from the harmful one, it says, is who is doing the work and under what authorization, and Anthropic expects to block these actions until it has better controls to limit access to known good actors.
Three design choices shape what users see:
- A wide safety margin. Anthropic's post on redeploying Fable 5 explains that classifiers are set to trigger on some requests that are probably benign, so a request has to look very clearly safe to pass. It says the margin for that model was much larger than in any prior launch, meaning many more benign requests would be blocked.
- Fallback to an older model. Blocked requests on the newest models are often sent to a less capable one. A help article on Sonnet 5.5 lists exploit generation, binary-based vulnerability scanning and penetration testing as requests that may fall back.
- Whole-conversation scope. The classifiers read the conversation, and according to the same help article, also files, search results and connected content.
Some security work stays open to everyone. The Opus 5.5 system card says vulnerability discovery in source code is allowed so developers can write more secure software, while vulnerability discovery in compiled binaries is blocked.
Terms such as classifier, safeguard and dual-use are defined in our AI guardrails glossary.
What does a Claude cyber block look like?
A cyber block looks different depending on where you use Claude, which is one reason it confuses people.
| Where | What happens |
|---|---|
| Claude apps | The conversation may switch to an older model, with a notice, or the request is blocked |
| Claude Code | An error says the model's safeguards flagged the message |
| API | The response ends with a refusal stop reason and the category cyber |
Anthropic's Claude Code documentation describes the error and its wording. The message says Anthropic's intentionally broad safeguards can sometimes flag legitimate cybersecurity work. The docs recommend the /feedback command for false positives and point to the Cyber Verification Program.
For developers, the API documentation says the cyber category covers requests that could enable harm such as malware or exploit development, and adds that benign cybersecurity work can also trigger it.
How much legitimate security work does Claude block?
A great deal, by Anthropic's own measurement, if the work is offensive and the account is unverified.
In October 2026, Anthropic published results from running its Opus 5.5 model through an offensive-security benchmark at each access level: ten challenges, five attempts each.

- Without verification: every task was blocked on the first prompt.
- Defense Access: 46 of the 50 trials were blocked at some point.
- Red Team Access: no blocks, and the model completed 34 of the 50 tasks.
That benchmark is made of offensive scenarios, so it shows the system working as designed. It also shows how complete the default block is.
The more telling number concerns the model itself. With the classifiers switched off, Anthropic's system card reports that Opus 5.5 in Claude Code refused 79.8% of a set of malicious prompts and helped with 99.8% of a set of dual-use and benign ones. Left to its own judgment, the model almost never turns down legitimate security work. The classifier in front of it does.
Users report the edges of this in public. On Anthropic's Claude Code issue tracker, one user reported in May 2026 that hardening their own software triggered a flag that then affected the rest of the session. Another reported in October that drafting a coordinated vulnerability disclosure was flagged. A third reported in August that an approved account was still being blocked. These are individual reports and do not show how common the problem is.
An agent feels this more than a chat does. A blocked chat message costs a minute. A blocked agent session stops a task partway. That is the gap an unrestricted agent is built 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.
Why did Anthropic build the safeguards this way?
Anthropic built broad safeguards because its tools were used in real attacks, and because the models became much more capable at offensive work.
The misuse is documented in Anthropic's own reports:
- In August 2025, it reported that an actor had used Claude Code for data theft and extortion against at least 17 organizations, with ransom demands that sometimes exceeded $500,000.
- In November 2025, it reported a state-sponsored espionage campaign that manipulated Claude Code into attempting to infiltrate roughly thirty targets, with AI performing 80 to 90 percent of the campaign.
The second case explains the design. According to Anthropic's full report, the operators got cooperation by claiming to be employees of legitimate cybersecurity firms doing defensive testing. A model that accepts "I am an authorized tester" from anyone can be used by anyone. After that, trusting the prompt was no longer a workable policy.
Capability is the other half. In April 2026 Anthropic said of its Mythos Preview model that it did not plan to make it generally available, and that safeguards would be developed on a less capable model first. The cyber classifiers are the result.
You can disagree with where the line sits and still see why there is one. Our piece on why ChatGPT refuses security questions covers the same reasoning at OpenAI.
Can verified security professionals get access?
Yes, through Anthropic's Cyber Verification Program, but the tier that covers penetration testing is limited to organizations.
According to Anthropic's program page, updated October 6, 2026, there are three tiers:
| Tier | Covers | Who can apply | Plans |
|---|---|---|---|
| Defense Access | Security operations, incident response, malware analysis, vulnerability triage | Organizations and individuals | Paid plans and API; not the Free plan |
| Red Team Access | Authorized penetration testing, red teaming, adversary emulation, exploit development | Organizations only | Enterprise and API |
| Specialized Access | Testing of critical infrastructure and the highest-severity research | A limited set of organizations | Enterprise and API |
Points to know before applying:
- Individuals need a government-issued photo ID and can reach Defense Access only.
- Data retention is required for everyone enrolled.
- Review targets are two days for Defense Access and two weeks for Red Team Access, and the page says reviews are currently taking longer.
- Some blocks remain. The page says you may still experience some model refusals and classifier blocks for allowed work. Actions that could cause physical harm or mass disruption stay blocked at every tier.
For an in-house red team at a company on an Enterprise plan, this is a real route to a very capable model. For an independent penetration tester or a small consultancy on a Pro plan, the offensive tier is not available.
What do other AI vendors say about security requests?
The other major vendors describe the same problem in similar words, and several have built the same solution: default restrictions, with a verified route for security professionals.

| Vendor | What it says | Verified-access route |
|---|---|---|
| Anthropic | Penetration testing and red teaming are high-risk dual use, blocked by default on its most capable models | Cyber Verification Program; offensive tier for organizations only |
| OpenAI | Its announcement says restrictions have historically created friction for good-faith work | Daybreak; offensive tier for approved organizations only |
| Its generative AI policy bans compromising security and generating malware | The Fairwind Program for governments, critical infrastructure operators and similar organizations | |
| Microsoft | Its AI code of conduct bans content supporting malicious cyber activity | A limited exception that needs Microsoft's prior approval |
| Meta | Its Llama use policy bans creating malicious code and malware | None found; the weights are open, so the policy is not enforced by a classifier |
Two patterns stand out. First, every vendor that hosts its own frontier model has moved toward checking the account instead of the prompt. Second, the offensive tiers are built for organizations. Independent testers are the group these programs serve least.
Does adding scope or authorization text make Claude comply?
On current models, no, and that is the point of the design.
A May 2026 preprint on cybersecurity refusals in AI agents tested older Claude models, released before the classifiers, against live websites. Claude Sonnet 4.5 refused every task when given only a production address. When the prompt added a scope and rules of engagement, it refused none. The authors treat this as a flaw: the scope text was never verified, and they describe adding it as trivial.
That finding is the argument for what Anthropic did next. If typed claims are enough, the safeguard protects nothing. Classifiers that look at what is being done, plus verification of who is doing it, do not depend on what the user says about themselves. The wider problem is explained in our piece on the dual-use dilemma.
In practice, users on the Claude Code issue tracker report that once a session is flagged, harmless follow-up messages are flagged too. Rewording is not a route. Verification is.
What can you do when Claude blocks legitimate security work?
You have five legitimate options.
- Report the false positive. In Claude Code, use
/feedback. In the apps, use the feedback control. Anthropic says it uses these reports to refine its classifiers. - Apply for the Cyber Verification Program. Defense Access suits blue-team and research work. Red Team Access needs an organization on an Enterprise or API plan. Our guide to how verified-access programs work covers the requirements and review times.
- Keep to what is open. Secure coding, source-code review, log analysis and incident response are in the allowed category for everyone.
- Run a model yourself. An open-weight model on your own hardware has no provider-side classifier. We compare the trade-offs in hosted versus local uncensored models.
- Use a tool built for authorized offensive work. Our comparison of unrestricted AI tools for security work covers ten of them, our guide to Claude Code alternatives for security researchers covers coding agents, and our guide to unrestricted AI for offensive security explains the category.
None of these changes the basic requirement: written authorization and a defined scope for every system you test.
Where does the AiTM AI Agent fit?
AiTM (aitm.io) is an unrestricted AI platform for authorized red teams, penetration testers and security researchers. It serves the people the verification programs leave out: independent testers and small teams who need help with offensive work today.
- The AiTM AI Agent is an unrestricted AI agent that runs on your own macOS, Windows or Linux machine. It plans the engagement, reads and edits files, runs shell and PowerShell, searches the web, drives a browser, and takes the work from recon to a drafted report. It helps with in-scope work instead of refusing it. Three permission modes, Manual, Accept-edits and Full auto, set how much it does without asking. According to AiTM, the platform keeps no transcript and no source code, and you can bring your own provider key.
- Unrestricted AI is the chat assistant, for recon and methodology, tooling and scripting, CVE research, security simulations and reporting.
As of November 27, 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 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. Access is governed, and accounts can be suspended for abuse.
FAQ
Why does Claude refuse penetration testing requests?
Claude's newest models run classifiers that treat penetration testing as high-risk dual-use work and block it by default. The classifier cannot see your authorization, so it stops the request whether or not it is legitimate. Anthropic's usage policy itself permits security testing on systems you own or are authorized to test.
Is penetration testing against Anthropic's usage policy?
No. Anthropic's Usage Policy prohibits exploiting systems without the owner's authorization, and states that it does not prohibit security research, testing or tool development on systems you own or operate, or with the owner's authorization. Blocks on legitimate testing come from real-time safeguards, not from the policy text.
What is Anthropic's Cyber Verification Program?
The Cyber Verification Program gives verified security users fewer interruptions from Claude's cyber safeguards. It has three tiers. Defense Access is open to organizations and individuals on paid plans. Red Team Access, which covers penetration testing and exploit development, is for organizations on Enterprise and API plans. Data retention is required for everyone enrolled.
Can an independent pentester get Red Team Access to Claude?
Not as of November 2026. Anthropic's program page lists Red Team Access as organizations only, on Enterprise and API plans. Individuals, including independent researchers and bug bounty hunters, can apply for Defense Access, which covers defensive work such as incident response, malware analysis and vulnerability triage.
Why did Claude switch to an older model in my conversation?
Claude's newest models send some flagged requests to a less capable model instead of blocking them outright. Anthropic's help pages list exploit generation, binary-based vulnerability scanning and penetration testing as requests that may fall back. The switch is a safeguard response to the content of the conversation, not an error.
Is there an AI agent that does not block authorized pentesting?
Yes. The AiTM AI Agent is an unrestricted AI agent built for authorized security work. It runs on your own machine and carries out in-scope tasks under permission modes you set. Open-weight models run locally are another route. Every option still requires written authorization for the systems you test.
The short version
Claude blocks pentesting requests because Anthropic's classifiers treat offensive security as high-risk by default, after real attacks showed that a model cannot trust what users say about themselves. The policy allows authorized testing; the safeguards cannot verify it. Organizations can apply for Red Team Access. Independent testers need a different tool.
To run authorized security work with an agent built for it, try the AiTM AI Agent or create an account.
