Logic Foundry

Build with understanding.

Shopify’s Overexposed Checks Cloud Resources for Public Access Beyond Repository Configurations

As reported on November 18, 2026, Shopify rebuilt its internal scanner, Overexposed, to check whether GKE Kubernetes Ingresses and Cloud Run services can be reached from the internet without authentication. The first version read configuration files in infrastructure repositories. Shopify said that approach produced false positives and missed resources created elsewhere.

The distinction is between configuration intent and deployed state. Proxy-authentication annotations could make the repository-based scanner report an exposure incorrectly. Admission controllers could also rewrite settings when an Ingress was accepted—and not every cluster ran the same controllers. Ingresses created by other repositories or platform tools were outside the original scanner’s view.

The rebuilt scanner runs on a schedule and queries Google Cloud Asset Inventory for GKE-accepted Ingresses, Cloud Run services and load balancers. A separate query retrieves access policies without requiring cluster credentials. Shopify said the inventory also revealed Cloud Run services in projects the first version had never covered.

For each candidate, Overexposed makes an anonymous HTTP request: HEAD first, then GET if HEAD fails. It follows up to three redirects, checks every hop and tests path variants such as /ADMIN, because path matching can be case-sensitive. It assigns one of six outcomes: exposed, expected, protected, not found, unreachable or indeterminate. “Expected” means a public endpoint exactly matches a reviewed, code-defined allowlist entry for both hostname and path. Allowlisted endpoints are probed on every run; entries are flagged as stale if the endpoint becomes protected or disappears.

An HTTP status alone is not proof of protection. Shopify notes that a 404 behind an Ingress shows the proxy responded, even if the requested path does not exist. For Cloud Run, Google’s frontend may return a 404 before the application runs, so the scanner treats that result as indeterminate. It does not automatically treat a 403 as proof of protection either. For Cloud Run, the scanner checks ingress settings and IAM: it considers a service public only if allUsers has the invoker role or the invoker check is disabled. For services behind load balancers, URL Maps show path-to-backend routing and where authentication such as Identity-Aware Proxy is required.

In one July scan, roughly three-quarters of results were indeterminate. Shopify grouped those results by cause, added definite outcomes where evidence supported them and replayed rule changes against saved scan results before release. After several weeks of tuning, the share of indeterminate Ingress results fell by about 80%. Results without sufficient evidence remain indeterminate rather than being labeled protected. The scanner records outcomes, reasons and responsible teams, but not response bodies or credentials.

Because probing arbitrary hostnames creates a server-side request forgery risk, Overexposed checks every DNS-returned IP, rejects private and loopback addresses, connects directly to a checked IP to prevent DNS rebinding, and repeats those checks after each redirect. The authors also recommend restricting outbound network access, including access to cloud metadata endpoints. Shopify said its team used AI coding agents and AI code review while building the tool, then applied mutation tests to security safeguards and maintained a canary target for each outcome.

The approach does not make configuration checks obsolete. Repository checks can provide an early CI signal; asset inventory can find deployed resources they miss. Anonymous probing adds evidence about what an external visitor can reach when configuration alone cannot establish whether access controls took effect.