Skip to content

approvals: https:// URL silently downgraded to plaintext TCP (token leak) #246

Closed

Description

@ajianaz

approvals.rs:324 http_call strips the scheme with trim_start_matches("https://") then opens a raw TcpStream — an https:// URL never gets TLS and the Bearer token goes plaintext. Scan 070-rescan #35 (MAJOR security). Fix: refuse https:// loudly (this transport is a loopback approval daemon), never downgrade silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions