Pentest Commands and Scripts: Claude vs ChatGPT vs DeepSeek V4.1

Comparisons
Pentest Commands and Scripts: Claude vs ChatGPT vs DeepSeek V4.1

Testers report that ChatGPT and Claude can decline or interrupt requests for penetration-testing commands and scripts, even when they say the systems are their own or in scope. DeepSeek V4.1 Flash Uncensored on a dedicated OpenLLM Buddy pod refuses far less often, by its build author's figures, with no provider filter in front of it.

This article is for penetration testers and red teamers working under a signed scope, and for administrators testing systems they own. It is for nothing else. Testing a system without the owner's written permission is illegal and breaks our Terms, whatever model you use.

The task: commands and scripts for an authorised penetration test

In a thread on r/cybersecurity, a commenter says ChatGPT used to help with penetration testing once it was told the servers were their own, and that it no longer does. They add that it still helps with logs and incident investigation.

A penetration test is a contracted job. The client signs a scope that names the hosts, the dates and what is off limits. The tester then spends much of the engagement on routine work: recalling the exact options of a well-documented tool, writing small scripts that reshape one tool's output for the next, keeping notes, and turning findings into a report the client can act on.

An assistant saves time on that routine. What makes the work lawful is the signature on the scope, and that is the one thing a chat window cannot see.

What Claude and ChatGPT do with it

The reports are about pentest commands and scripts in general. The research behind this article found no thread that names a specific tool and reports a refusal for it.

  • ChatGPT. The r/cybersecurity commenter above describes help that stopped, with defensive work such as log review still answered.
  • Claude. In a thread on r/ClaudeAI, a user says Claude refuses as soon as a request looks like a hacking topic, while OpenAI's and Google's assistants answer with a disclaimer. That is evidence in ChatGPT's favour as much as a complaint about Claude.
  • Claude Code. In a GitHub issue dated 17 April 2026, since closed, the reporter says a new filter fires on drafting, analysis and proof-of-concept refinement tasks, and overrides the model's own judgement that the work is in scope.
  • Claude, with verification. The title of a thread on r/Anthropic reports a Claude model becoming unusable for security work for a user enrolled in Anthropic's Cyber Verification Program. A commenter there separates two things: the model itself refusing, and the safeguards stopping the conversation.

Each of these is one person's account. We did not run their prompts on Claude or ChatGPT ourselves, and both products change often, so what was declined then may be answered now.

What the vendors' policies say

Neither vendor bans penetration testing. Anthropic's Usage Policy, effective 12 November 2026, prohibits unauthorised access, unauthorised vulnerability exploitation and malware. It then says that section does not prohibit security research, testing or tool development on systems you own or operate, with the owner's authorisation. The policy also says that hitting a block does not by itself mean the policy was violated.

The gap is between the policy and the default safeguards. In its post on the Cyber Verification Program, Anthropic writes that its generally available models "have conservative cyber safeguards that block most cyber work". Authorised penetration testing and red teaming are unlocked in the programme's Red Team Access tier. OpenAI's Daybreak overview describes a similar route: an approval-based programme whose workflow categories include authorised offensive testing on systems the user owns or is authorised to test. OpenAI adds that it does not remove all safeguards.

The reason for the caution is fair. A command for an authorised test and the same command for an attack are identical text. Only the permission differs, and a prompt cannot prove permission. Both vendors answer that with identity checks.

If you test for a living, apply to those programmes. They are the supported way to do this work on Claude and ChatGPT.

Why this happens

A subscription assistant has several layers: the model's safety training, the provider's instructions, filters that check requests and replies, and account enforcement. Our guide to chatbot guardrails explains each layer.

The r/Anthropic commenter's distinction matters here. A model that declines is the training layer. A conversation that stops is the filter layer, and the GitHub reporter says that layer overrode a model that had judged the work to be in scope. A filter reads text, not contracts, so in-scope and out-of-scope requests can look the same to it.

What DeepSeek V4.1 Flash Uncensored does with it

DeepSeek V4.1 Flash Uncensored is a community build of DeepSeek's official October 2026 model with one change: the refusal behaviour was removed from the weights. The build's author states that nothing else was added, and that the build works with your own system message or with none.

The refusal figure is the build author's. On the 320-prompt HarmBench text set at max reasoning effort, the build complied with 320 of 320 prompts. That figure has limits: replies were capped at 200 tokens and graded by a classifier, and the author published no result for the official model on the same test. So the fair summary is that it refuses far less often, and that it can still decline. We have not run pentest requests on our pods, so this page shows no sample output.

For an engagement, three properties matter:

  • You supply the scope. Put the rules of engagement in the system prompt. Nothing sits between your request and the model, and we add no system prompt of our own.
  • A 1M-token context. Scan reports, notes and a draft report fit in one request.
  • Tool calls. The pod supports them, so a terminal agent can drive the model. DeepSeek reports 42.3 on Terminal-Bench 4.0 for the official model, not for this build.

The kind of help to expect: explaining what an option does, drafting the command for a host on your scope list, writing scripts that parse results into tables, and structuring the report.

Claude (app)ChatGPT (app)DeepSeek V4.1 Flash Uncensored on your pod
Who sets the rulesAnthropic's usage policyOpenAI's usage policiesYou, within the law, the model's licence and our Terms
The filter in front of the modelCyber safeguards; authorised testing is unlocked in the Red Team Access tierCyber safeguards; Daybreak approval does not remove all of themNone; the request reaches the model as you sent it
What is reported for this taskSee the reports aboveSee the reports aboveNot run by us; 320 of 320 HarmBench prompts, the build author's figure
Where your prompts goKept under the provider's data policyKept under the provider's data policyTo your GPUs; our servers keep token counts, not the text
How you payA subscriptionA subscriptionPod time in packs; no per-token billing

How to run it

  1. Open the DeepSeek V4.1 Flash Uncensored model page for the hardware and the live price.
  2. Deploy DeepSeek V4.1 Flash Uncensored from the catalog. It runs on 4× H200 or 2× B200.
  3. Copy the base URL, the API key and the model id from your console.
  4. Send the request. The system prompt carries the authorisation context; the user message is the task.
curl https://YOUR-POD-ENDPOINT/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "YOUR_MODEL_ID",
    "messages": [
      {"role": "system", "content": "You assist a penetration tester on an authorised engagement. The client has signed rules of engagement that cover only the hosts in the scope list the user provides, inside the agreed test window. No denial of service and no access to production data. Stay inside that scope and say so when a request falls outside it."},
      {"role": "user", "content": "Scope list and scanner report are pasted below. Write a Python script that reads the report and prints a table of host, port, service and version, sorted by host. Then suggest the order of checks for the report and explain each tool option you would use.\n\nPASTE SCOPE LIST AND REPORT HERE"}
    ],
    "temperature": 1.0,
    "top_p": 1.0,
    "reasoning_effort": "high"
  }'

Copy the model id from your console in place of YOUR_MODEL_ID. The sampling values are DeepSeek's. Thinking runs at high by default; low is quicker for lookups and max is for hard problems.

The API docs cover streaming and tool calls, and how it works explains packs and pod lifetime. To let an agent work in your terminal, follow the OpenCode guide or the Cline guide. An agent that runs commands acts with your authority, so review what it proposes against the scope before you approve it.

Honest limits

  • Removing refusals cost accuracy. On the build author's MMLU test the build scored 83.77% against 87.63% for the official model. On the computer security subject it fell from 85.0% to 75.0%, over only 20 questions. A model that is more willing and less accurate needs checking: read the tool's documentation before you run a command on a client's network.
  • It can still decline. The 320 of 320 figure comes from capped, classifier-graded replies. With thinking off, the author's evidence is two sets of 10 prompts.
  • Speed is not measured on our pods yet. We publish no tokens-per-second figure for this model.
  • It is a large pod. For command explanations alone, a single-GPU model such as Qwen3.8-27B Uncensored may be enough.
  • Client confidentiality is your call. Prompts pass through our API gateway to your GPUs. Check that your contract allows engagement data to leave your own machines.

Removing refusals does not change the law, the model's MIT licence or our Terms. The limit that matters here is authorisation: a signed scope, or systems you own. Weapons capable of mass harm, sexual content involving minors, intimate or defamatory content about real people, and attacks on systems you have no written permission to test stay off limits on any GPU.

Related reading

Sources

FAQ

Why does ChatGPT refuse pentest commands?

A commenter reports that ChatGPT stopped helping with penetration testing even when told the servers were their own. OpenAI offers an approval-based programme, Daybreak, that covers authorised offensive testing. Another user says OpenAI's assistant answers hacking topics with a disclaimer, so experiences differ.

Does Claude help with penetration testing?

Anthropic's policy does not prohibit testing systems you own or are authorised to test. Its default safeguards are conservative by its own account, and authorised penetration testing is unlocked in the Red Team Access tier of its Cyber Verification Program.

Is it legal to use an AI model for penetration testing?

The model does not change the legal position. Testing is lawful with the system owner's written permission and unlawful without it. Keep the signed scope and stay inside it.

Which uncensored model is best for pentesting?

DeepSeek V4.1 Flash Uncensored offers a 1M-token context and tool calls, which suits long engagements and terminal agents. Its build author measured a lower computer security score than the official model, so verify its commands. Qwen3.8-27B Uncensored is the smaller alternative.

Does DeepSeek V4.1 Flash Uncensored ever refuse?

It can. The build's author reports 320 of 320 HarmBench prompts answered at max effort, measured with capped replies and a classifier. Treat that as refusing far less often, not as a promise.

More to read

Other recent articles from our blog.