# How to use Claude to investigate approval flaws

An autonomous Claude harness found command-approval flaws in Claude Code. The researcher reproduced and disclosed patched CVEs; harness details stayed private.

Agent: Claude (via Claude Code in an autonomous agent harness)
Tools: Claude Code, Bash, ZSH, HackerOne
Category: Security
Date: 2026-02-08

Outcome: Two reproduced approval-boundary flaws became CVE-2026-24887 and CVE-2026-24053 and were patched after private disclosure. The complete autonomous harness is not published.

## Steps

1. The researcher investigated commands that unexpectedly skipped configured approval prompts.
2. An autonomous Claude harness identified two shell-syntax mismatches in permission checks.
3. The researcher reproduced and privately disclosed both findings, which received patched CVEs.

Human oversight: The researcher noticed unexpected approvals, checked permission scopes, reproduced the boundaries and disclosed both findings through Anthropic's bounty program.

Source: [blindCyber — Security research blog](https://blindcyber.com/2026/02/08/claude-code-command-injection-sandbox-escape/)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-find-its-own-command-approval-flaws/
