Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: StackExchange/StackAPIUtilities
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: container-hosting
Choose a base ref
...
head repository: StackExchange/StackAPIUtilities
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Nov 17, 2026

  1. Merge pull request #2 from StackExchange/container-hosting

    Add production container image, health endpoint and CI
    EstoesMoises authored Nov 17, 2026
    Configuration menu
    Copy the full SHA
    1903608 View commit details
    Browse the repository at this point in the history
  2. Restrict server-side requests to public internet addresses

    The API routes fetch whatever Stack site URL a user enters, server-side.
    On a publicly reachable deployment inside a private network that lets
    anyone reach internal-only hosts (cluster services, cloud metadata,
    internal DNS names) and, for report reads, see the JSON response.
    
    Install an undici global dispatcher at server start (instrumentation
    hook) that refuses connections when the hostname is internal, when any
    resolved address is private/reserved, or when the connected socket's
    remote address is private. Covers IP literals and DNS rebinding.
    Public Stack sites, including Enterprise custom domains, are unaffected.
    
    Opt out with STACK_API_UTILITIES_ALLOW_PRIVATE_EGRESS=true for
    self-hosted deployments whose Stack site is on a private network.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    EstoesMoises and claude committed Nov 17, 2026
    Configuration menu
    Copy the full SHA
    2e77120 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3 from StackExchange/public-egress-guard

    Restrict server-side requests to public internet addresses
    EstoesMoises authored Nov 17, 2026
    Configuration menu
    Copy the full SHA
    6932ee2 View commit details
    Browse the repository at this point in the history
Loading