idunno.AtProto Security Feature Bypass
Description
The static helper methods on idunno.AtProto.Resolution issued HTTP requests through a plain HttpClientHandler instead of the SSRF-protected handler used everywhere else in the library. Because the destination host of those requests is derived from the handle or DID being resolved — values that are typically attacker-supplied — an attacker could cause an application to issue requests to hosts on its internal network that it would not otherwise reach.
Impact
An attacker who can influence a handle or DID that an application resolves through Resolution's static helpers can induce requests to arbitrary hosts reachable from the application, including services bound to loopback and cloud instance metadata endpoints. Applications that resolve handles from untrusted input — user profiles, mentions, search boxes, webhook payloads — are the realistic exposure.
Exploitation requires no authentication and no user interaction, but does require the application to call one of the affected static helpers with attacker-influenced input
Workarounds
Pass an explicitly configured HttpClient to the affected methods, or use AtProtoAgent rather than the static helpers. Validate handles and DIDs against an allowlist before resolving them and apply egress filtering at the network layer.