# How to use Claude to attempt a Kubernetes CTF

Claude Code captured six of eight flags in a Kubernetes CTF. Human steering, remote tool failures and incomplete evidence retention limited the autonomous run.

Agent: Claude (via Claude Code with Opus 4.6)
Tools: Claude Code, Ubuntu VM, SSH, kubectl, CTF skills
Category: Security
Date: 2026-03-25

Outcome: Six of eight competition flags were captured. The human corrected the agent's inflated later count, and remote-execution and raw-evidence problems remained documented.

## Steps

1. Iain placed Claude Code in an isolated VM with solving and evidence-reporting skills.
2. The agent investigated challenges while Iain redirected stalls and checked remote tool context.
3. Iain verified six captured flags and corrected the agent's inaccurate later count.

Human oversight: Iain isolated the run in a VM, monitored progress, redirected stalled challenges and checked actual flags against the agent's later evaluation.

Source: [Iain (@smarticu5) — Personal blog](https://blog.iainsmart.co.uk/posts/2026-03-25-claudes-ctf-experience/)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-attempt-a-kubernetes-security-ctf/
