High

Pydantic AI Harness ANSI stripping DoS via quadratic regex

An attacker who controls tool output can craft unterminated ANSI sequences that freeze the event loop for minutes, blocking all other requests in the process.

Source
Get the fix in Telegram

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 4075 and your operating system.