Skip to content

Transport and outbound policy #33

Closed

Description

@somethingwithproof

Summary

One transport opens every connection, and it refuses anything the driver did not declare.

Requirements

  • REQ-NET-001 The transport MUST be the only code that opens a network connection.
  • REQ-NET-002 It MUST refuse URLs whose scheme, host, and port are not in the account's endpoint policy before resolving a name.
  • REQ-NET-003 It MUST refuse URLs with user info, fragments, backslashes, whitespace, control or non-ASCII bytes, or non-numeric ports.
  • REQ-NET-004 It MUST verify certificates and host names, refuse redirects, and enforce connect and total timeouts and a response size cap.
  • REQ-NET-005 Endpoint policies MUST be built from fixed tables in code and validated account fields, never from a setting.
  • REQ-NET-006 Retries MUST use jittered exponential backoff, honor Retry-After, and never retry authentication or permission failures.

Acceptance criteria

  • Transport tests against the local HTTPS server for every behavior.
  • A refused URL opens no socket.

References

Dependencies

Activity

  1. added
    type: requirementA testable behavior the plugin must have
    area: transportOutbound HTTPS, allowlists, retries, and limits
    area: securityTrust boundaries, permissions, and secret safety
    priority: blockerStops its milestone until resolved
    on Nov 14, 2026
  2. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Done in #81 (merged as b3730b1).

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

    area: securityTrust boundaries, permissions, and secret safetyarea: transportOutbound HTTPS, allowlists, retries, and limitsphase: 1 coreCore and DigitalOceanpriority: blockerStops its milestone until resolvedstatus: blockedWaiting on another issuetype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions