Case · DiggingBeagle record

Browser protocols bypassed Pydantic’s HTTP and WebSocket policy hooks

Pydantic’s advisory describes WebRTC, WebTransport, WebSocketStream and FedCM paths outside ordinary HTTP and page-WebSocket enforcement in versions 0.24.0 through 0.73.0.

Published by DiggingBeagle:

Scope

Pydantic AI Harness 0.24.0 through 0.73.0 browser egress enforcement across the four named alternative protocols, with documented residual coverage limits in 0.74.0.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
not established
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

Assessment follows the primary document cited by the added Claim. No independent reproduction was performed in this research session. The source reports a patch; deployment and recovery of previously affected systems are not verified. Impact remains ungraded because the evidence does not establish an operational affected-population denominator or a defensible corpus-wide harm band.

Assessed Nov 26, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    An attacker controls script in a page the agent opens.

  2. 02

    The page invokes a browser protocol outside the ordinary HTTP or page-WebSocket guard.

  3. 03

    Protocol setup or response data crosses a destination policy the guarded routes would enforce.

Claims & evidence

CLM-N26-PYDANTIC-ALT-PROTOCOLSPydantic’s advisory describes WebRTC, WebTransport, WebSocketStream and FedCM paths outside ordinary HTTP and page-WebSocket enforcement in versions 0.24.0 through 0.73.0.supported

Basis: reported finding

Link to claim
CLM-E286-PYDANTIC-ALT-PROTOCOLSThe advisory distinguishes protocol consequences: WebRTC, WebTransport and FedCM did not expose ordinary internal HTTP response bodies, whereas WebSocketStream could read WebSocket responses. FedCM account requests can carry identity-provider cookies from the browser profile.supported

Basis: reported finding

Link to claim

Controls and mitigations

  • Apply 0.74.0 and a network filter covering UDP for the explicitly retained worker, attached-browser and frame exceptions; do not equate every reachable service with readable secret content.

Unknowns and contradictions

  • Actual disclosure or credential use in affected deployments.
  • Whether deployment-level filtering closes the documented worker, attachment, frame and UDP-related residual routes.

Sources and citation

Material revision history

  1. Nov 26, 2026 · Published version · first publication · revision 288