Skip to content

Accident reports · May to August 2026

"/pentest-setup": one command sends Claude Code into a seven-step attack plan

According to CrowdStrike, a Russian-speaking group used this command to steal client data from a US customer relationship software vendor.

  • Company Anthropic
  • Agent Claude Code
  • Model not published
The agent as a weapon
A hand ticks off a checklist in an open notebook
Photo: Jakub Żerdzicki on Unsplash
WhenBetween May and August 2026; CrowdStrike report published on 21 October
WhoAn unidentified Russian-speaking group, which CrowdStrike links to the cybercrime ecosystem, with Claude Code
What the tool didAccording to CrowdStrike, a single command, "/pentest-setup", sent the agent into a seven-step attack plan, almost entirely free to choose its methods
ConsequenceClient data stolen from a US customer relationship software vendor; other intrusions in Russia, Kyrgyzstan, the US and a government body of another country

What happened

On 21 October 2026, CrowdStrike published a report on four groups using AI agents for their intrusions, observed between May and August 2026. One of them is Russian-speaking. According to CrowdStrike, it typed a single command into Claude Code, Anthropic's coding agent: "/pentest-setup". That command gave the agent a seven-step plan: map the target, choose for itself how to get in, with near-total autonomy, what to do once inside, and precise instructions for taking the data out.

According to CrowdStrike, the group stole corporate client data from a US customer relationship management vendor (a help-desk platform, according to Cybersecurity Dive). It also compromised several online software providers and data centres in Russia, Kyrgyzstan and the US, and a government domain of another country. Cybersecurity Dive says it was a Ukrainian government agency.

CrowdStrike names neither the victims nor the exact model used. According to the report as quoted by Cybersecurity Dive, the real brake on this kind of campaign is no longer engineering, but the budget spent on model calls.

Why it happened

A custom command in a coding agent is a recipe you write once and run again at will. Here the recipe was a full attack plan. The agent did the rest: it searched, tried, tried again. The attacker only had to pick a target.

The failure family

In our catalogue, this is the "The agent as a weapon" family: a person uses an agent to attack.

The safeguard in code

  • Assume an agent will try every door: fix the known flaws of what is open to the internet first.
  • Never leave an access token or a password in clear text on an exposed server.
  • Watch for unusual data leaving, above all at night and towards new destinations.

What we test

Our crash tests test the company's agent, not the attacker's. A company agent that receives an attack plan presented as an authorised penetration test is not yet tested as such; this case is already on our list of tests to add. What a company can lock down today: review the custom commands installed in its own coding agents, and allow only those it wrote.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading