Menu
Shopify Engineering·October 19, 2026

Building Overexposed: An Inventory-Driven Application Exposure Scanner

Shopify's "Overexposed" tool addresses the critical challenge of accurately identifying exposed applications in a complex cloud environment. The article details the evolution from a configuration file-based scanner to an inventory-driven approach, highlighting the importance of real-time cloud asset data for effective security posture management. This shift underscores the architectural necessity of integrating security tools with dynamic infrastructure inventories to achieve comprehensive and accurate vulnerability assessments.

Read original on Shopify Engineering

The Challenge of Application Exposure in Dynamic Cloud Environments

In large-scale, dynamic cloud infrastructures, understanding which applications are exposed externally is a significant security and architectural challenge. Traditional methods, such as scanning configuration files, often fail to provide a complete and accurate picture due to the transient nature of cloud resources and the complexity of service deployments. Shopify's "Overexposed" project was born out of this need to develop a more robust system for identifying public-facing applications.

Evolution of the Scanner: From Static Configs to Dynamic Inventory

The initial iteration of the Overexposed scanner relied on reading configuration files, which proved to be insufficient. This approach had several limitations:

  • Incomplete Coverage: Missed applications deployed through less conventional means or with dynamically generated configurations.
  • Stale Data: Configuration files might not reflect the actual runtime state of services, leading to false positives or negatives.
  • Complexity: Parsing and correlating data from various configuration formats across a vast infrastructure was cumbersome.
💡

System Design Lesson: Source of Truth

When designing security or monitoring systems in distributed environments, relying on a single, authoritative, and real-time source of truth for your infrastructure state (like a cloud asset inventory) is paramount. This avoids discrepancies and ensures accuracy, especially with ephemeral resources.

Architectural Shift: Inventory-Driven Scanning

The pivotal architectural decision for Overexposed was to pivot to an inventory-driven approach. This involved leveraging a comprehensive cloud inventory system that provides a near real-time view of all deployed assets, their configurations, and their network reachability. The scanner then uses this inventory as its primary data source to identify potential exposure points. This method provides several advantages:

  • Accuracy: Directly reflects the current state of deployed resources.
  • Completeness: Captures all assets managed within the cloud inventory, regardless of deployment method.
  • Scalability: Integrates with existing cloud asset management pipelines.
  • Reduced Noise: Filters out non-existent or misconfigured entries by validating against live inventory data.

The article emphasizes the importance of a "careful probe" to validate the findings from the inventory, indicating that the system performs active checks against identified potential exposures. This hybrid approach—combining passive inventory analysis with active validation—is a robust pattern for security scanning systems.

security scanningcloud inventoryapplication exposureinfrastructure as codevulnerability managementasset managementcloud securityautomation

Comments

Loading comments...