Entity · DiggingBeagle record
Pydantic AI Harness
Pydantic AI Harness is Python agent orchestration code that processes runtime model and tool messages. Two distinct November 2026 advisories concern expensive regular expressions applied to attacker-controlled strings: optional ANSI stripping and JWT-pattern redaction could each exhaust a shared event loop. T
Record description
Pydantic AI Harness processes agent tool messages and optionally filters or redacts their text. Two distinct November 2026 advisories describe quadratic regular expressions before safe truncation: strip_ansi=True could consume event-loop time on crafted tool output (affected 0.4.0 through 0.69.0), and JWT secret-pattern redaction could stall processing of untrusted prompt or tool content (affected 0.16.0 through 0.69.0). Version 0.70.0 is named as patched for both. Turning off secret masking without a replacement changes the confidentiality boundary even if it addresses one availability symptom.