教程 / 实战普通
Your guardrail regex didn't protect your agent. It froze your entire Python event loop.
内容摘要
Pydantic AI v2.70.0 and pydantic-ai-harness 0.70.0 patched two high-severity ReDoS advisories (GHSA-5m5q-5qj4-gx9h, GHSA-m4cr-m4qc-9hh3) where synchronous regexes blocked the asyncio event loop before size limits ran.