Skip to content

[Request]: audit warnings for shared-key throttles and public metrics #575

Closed

Description

@jimhoyd

Problem or use case

Evidence comes from a first-party hosted URLCode service (private repository) built on core 0.5.9. It had to hand-write the code named below. Two deployment mistakes passed urlcode audit without a warning: (1) partition: client throttles resolved every caller to the load balancer address because --trusted-proxies was not set, so all callers shared one budget (audit reports unresolvedClient: "shared key" only as data); (2) --metrics served /_urlcode/metrics on the public listener.

Proposed behavior and alternatives

Make both explicit findings: warn when a client-partitioned throttle has no trusted proxy configuration, and when metrics share the public bind (or offer a separate metrics bind address).

Activity

  1. added
    enhancement
    ai-first
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-firstenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions