Developer Tools
LocalStack's Azure Emulator Enters Preview—Security Settings Bypass a Key Limitation
The local development tool now supports Azure services but stores security configurations without enforcing them, potentially masking vulnerabilities before production deployment.
InfoQ
LocalStack, a platform for emulating cloud services locally, has launched a public preview of its Azure emulator. The offering is available free and self-service, with general availability targeted for early 2027.
What LocalStack for Azure Does#
The tool allows developers to run Azure services on their machines and reuse existing infrastructure-as-code: ARM templates, Bicep files, Terraform modules, Pulumi programs, and Azure CLI commands all work without modification. The pitch centers on eliminating friction—developers can iterate on their applications without spinning up dev subscriptions or incurring per-test costs.
Support spans a substantial roster of services including AKS, Container Apps, Functions, App Service, Cosmos DB, Service Bus, Event Hubs, Key Vault, and Managed Identity. Each developer operates in an isolated sandbox, and LocalStack positions the tool as a development and testing aid rather than a production substitute.
A Critical Gap: Security Settings Are Stored, Not Enforced#
LocalStack's own documentation reveals a fundamental tradeoff. Configuration is frequently accepted and stored but does not actually take effect. On App Service, for instance, access restrictions, authentication settings, publishing credential policies, and the httpsOnly flag are all stored and returned—but not enforced. A web app configured with HTTPS-only still serves HTTP. Similarly, VNet integration is recorded in state but produces no network isolation.
Networking services show similar gaps. Virtual Networks do not route traffic or enforce security rules; peering is unsupported. Storage authentication has rough edges: any bearer token is accepted regardless of RBAC unless RBAC enforcement is explicitly enabled, and SAS tokens bypass re-checking principal permissions.
Why This Matters#
This design creates a subtle but serious risk. Code that passes locally—because permissive defaults bypass security checks—may fail in production Azure after deployment. A developer might commit code with misconfigurations that the emulator never flags because it accepts rather than applies security settings. AI agents using LocalStack for autonomous deployment iterations face the same trap: restrictions are stored as passes.

