← Swym Trust Center

26 Nov 2026

Securing Your Store Under Shopify's New App Standards

In our blog on Strengthening Platform Security, we detailed the defense-in-depth controls and daily multi-perspective verification we run across our stack. Alongside those platform-wide safeguards, Swym aligns directly with the security standards established by our ecommerce platform partners.

Shopify’s updated security requirements for public apps roll out between November 2026 and April 2027. At Swym, we implemented all five controls ahead of schedule to ensure merchant and customer data remain strictly protected. Here is how each safeguard operates in production and how it measurably reduces risk beyond baseline compliance.

Executive Summary

Most application security incidents stem from three systemic weaknesses: credentials that never expire, tokens accepted from any network location, and overly broad execution privileges. Shopify’s requirements address all three directly.

What the Requirement Mandates Security Risk Eliminated
Expiring access tokens instead of permanent credentials Long-lived credentials that remain valid indefinitely after exposure
IP allowlisting for Admin API requests Unauthorized replay of stolen tokens from external networks
Declared hosts for storefront code Unapproved outbound channels for injected scripts to exfiltrate shopper data
Automated security checks on every release Unvalidated code vulnerabilities reaching production storefronts
Theme app extensions instead of legacy script tags Unscoped third-party JavaScript injection into merchant storefronts

Individually, each control narrows a specific attack vector. Together, they ensure that a compromised credential or dependency no longer grants persistent, unrestricted access.

1. Expiring Access Tokens

A permanent Shopify Admin token functions as an unchanging credential that remains valid until an app is uninstalled or manually rotated. An expiring token limits validity to 60 minutes.

This fundamentally alters exposure. With static credentials, the window between unauthorized exposure and revocation depends entirely on detection speed. With short-lived tokens, access terminates automatically after 60 minutes regardless of how quickly an exposure is detected.

At Swym, short-lived, 60-minute Admin tokens with automated background rotation are enforced across our Shopify applications, eliminating long-lived credentials without requiring merchant intervention.

2. IP Allowlisting

An IP allowlist instructs Shopify to accept Admin API calls using an app's credentials strictly from designated network addresses, rejecting all other traffic.

This control provides immediate containment. Credentials can be exposed outside application code through misconfigured logging or external tooling. With strict IP allowlisting enforced, a token extracted from any external source cannot be used outside authorized production egress infrastructure.

At Swym, Admin API access for all applications is now restricted exclusively to our authorized production egress addresses. Even if a credential were ever exposed externally, it cannot be used from any unauthorized network.

3. Declared Hosts

Applications executing code on a storefront must declare the exact HTTPS origins from which scripts load and to which network requests are sent. Shopify compiles these declarations to restrict which destinations storefront code can reach.

If an unauthorized script executes on a storefront via a theme modification or compromised dependency, these declarations limit where it can send data, blocking transmission to undeclared destinations.

At Swym, explicit HTTPS host declarations are enforced across all of our Shopify app configurations ahead of Shopify's enforcement deadline. Rather than relying on broad domain-level wildcards, we explicitly enumerate only the specific production endpoints required for storefront functionality, maintaining strict least-privilege boundaries.

4. Automated Security Checks

Shopify mandates automated static security scanning prior to app submission and across ongoing releases to detect vulnerabilities before code reaches merchant storefronts.

At Swym, automated security checks run on every pull request and deployment pipeline, blocking releases before any actionable finding can reach production. To ensure these gates provide genuine assurance rather than passive warnings, we enforce three strict pipeline controls:

5. Theme App Extensions

Legacy ScriptTag APIs permitted applications to inject arbitrary JavaScript directly into merchant storefronts. Standardizing exclusively on theme app extensions ensures storefront code executes within a structured, Shopify-managed framework. For merchants, this means predictable storefront performance and clean removal upon uninstall; for the broader ecosystem, it removes a primary vector for unmonitored script injection.

At Swym, all new storefront installations use theme app extensions by default, and we are actively migrating existing merchants from legacy ScriptTag integrations to theme app extensions with zero disruption to live storefronts.

What This Means for Merchants

While these controls operate beneath the surface of a store's admin panel, they materially reduce merchant risk.

When an installed application is targeted, security depends on constraining what an attacker can accomplish with compromised access. Under these five safeguards, an exposed Admin token expires within 60 minutes, is rejected from any unauthorized IP address, and cannot transmit storefront data to undeclared external servers.

Shopify is also surfacing this compliance posture directly to merchants. Apps that do not meet these requirements will be flagged inside the Shopify Admin under Settings > Apps, giving merchants direct visibility into application security standards.

Ultimately, these standards represent an ecosystem-wide shift away from permanent credentials and unscoped storefront access, raising baseline security across every store on the platform.

To explore how these controls fit within Swym’s broader seven-layer security architecture and daily automated verification framework, read our blog on Strengthening Platform Security. For enterprise security reviews or compliance documentation, contact our security team at security-reporting@swymcorp.com.

This page reflects our setup as of the date above. It is for information only and does not change any agreement with Swym.