WebhookAgent
Shopify Now Requires IP Allowlists. For Serverless Apps, the Fence Surrounds the Whole Cloud

Shopify Now Requires IP Allowlists. For Serverless Apps, the Fence Surrounds the Whole Cloud

Nov 14, 2026 27 min read

TL;DR

  • Shopify has made IP allowlists mandatory for public apps that call the Admin API. Bulk operations from apps without one started failing after November 12, and on November 20 at 11:59 PM ET apps without one are delisted from the App Store and blocked from new installs. In a November 14 update, Shopify said the vast majority of apps that run bulk operations have already turned one on.
  • Shopify's headline promise is that a leaked token "can't be used anywhere but your own servers." That holds for apps with fixed addresses. Apps on serverless platforms can allowlist their hosting provider's whole network by ASN instead, and Shopify's own documentation warns that anyone running servers on that network, with a stolen token, can use it from there.
  • The allowlist is a real improvement, and it would have filtered most of the traffic in the token theft campaigns the industry has documented. But for a large share of apps it checks which building a request came from, not who sent it. The controls that bind a token to its owner are the expiring tokens and private-key credentials Shopify is rolling out alongside it.

On November 7, a developer posting as Nils pasted an error message into Shopify's developer forum. A bulk query had come back with an access-denied code and one line of explanation: "Bulk operations require IP restrictions. Turn on IP restrictions for this app to run bulk operations." The official deadline for that rule was still five days away. Shopify had published it only two days earlier.

That thread, titled "App security updates: IP allowlist is now required," tells you most of what you need to know about the mood among Shopify app developers this month. One developer listed everything landing at once: Black Friday on the horizon, confusion about expiring tokens, inventory changes, App Store listing demands, API deprecations. Another, running everything on AWS Lambda, called the timeline really tight and asked for any guidance on serverless architectures. A third wrote that the system worked well and took about thirty minutes to set up. All three were right.

The facts of the change are simple. Since October 27, Shopify has let app developers list the addresses their servers use, and it rejects Admin API requests carrying the app's token from anywhere else with a 403. On November 5 it made that list mandatory for every public app. Bulk operations from apps without one were cut off after November 12. On November 20, apps without one are delisted from the App Store, blocked from new installs and flagged to merchants under Settings, Apps. Existing installs keep working until April 1, 2027, when their Admin API requests start failing. On November 14 Shopify thanked developers, reported that "the vast majority" of apps running bulk operations had complied, and announced that multi-factor authentication would be required on every partner account starting next week.

Almost all of the coverage, and almost all of the forum argument, has been about timing. This piece is about something else: what an allowlist actually checks once an app runs on serverless infrastructure, why the answer is closer to "which neighborhood" than "which house," and why the more important part of Shopify's security push is the part getting less attention. Shopify, to its credit, says the uncomfortable part out loud in its own documentation. Very few people seem to have read that paragraph.

What the allowlist checks, literally

Start with the mechanism, because it is narrower than the marketing line. When enforcement is on, Shopify looks at the source IP address of every GraphQL Admin API and REST Admin API request that uses your app's token. If that address falls inside the ranges you listed, the request goes through. If it does not, the request fails with a 403, and so does any request whose source address Shopify cannot confirm. The token is still valid. It simply stops working from the wrong place.

For an app that calls Shopify from a handful of fixed servers, this is close to what the slogan promises. You enter your addresses or CIDR ranges, up to 250 of them since a November 11 update, and nothing else on the internet can use your token against the Admin API. Shopify's documentation calls this "the narrowest allowlist, because only your own servers can use your tokens." The rules keep it narrow: no IPv4 entry wider than a /16, public addresses only, and if your servers sit behind a NAT gateway you list the gateway.

The trouble is that a large share of modern apps do not have fixed servers. Functions on serverless platforms leave through whatever address the provider's pool hands them at that moment. You cannot list addresses you do not know. So on November 5, the same day the requirement landed, Shopify added a second mode. Instead of addresses, you can list up to 10 autonomous system numbers, the identifiers for whole networks run by one organization, and narrow them to up to 10 countries.

A picture helps here. A fixed-address allowlist is a key cut to work only at your own front door. An ASN allowlist is a key that works anywhere inside your apartment building, and in the cloud, the building is enormous, it rents units by the minute, and the landlord does not ask tenants what they plan to do in them.

Shopify's own documentation is blunt about this. "A provider's network is shared with its other customers," it says. "Anyone who runs servers in an ASN that you allow, and who has a stolen token, can use it from there." The November 11 changelog repeats the point: an ASN "allows every address on your hosting provider's network, including addresses used by the provider's other customers."

For a fixed-address app, the allowlist checks who you are. For a serverless app, it checks where you live, and you share the address with millions of strangers.

How big the building is

It helps to put rough numbers on "enormous," with the caveats stated up front. Amazon publishes the IP ranges AWS uses in a file it updates continuously. The version dated November 13, 2026 lists 7,954 IPv4 prefixes. After merging overlaps, those prefixes cover roughly 102 million IPv4 addresses. The ranges tagged for EC2, the compute service that also carries much serverless traffic, cover roughly 80 million. Restrict that to AWS's commercial United States regions and you still have about 39 million addresses; the us-east-1 region alone accounts for about 21.6 million. Google's equivalent file for Google Cloud, dated the same day, lists 1,058 IPv4 prefixes covering roughly 19 million addresses.

Those counts are ours, computed from the providers' own published files, and they are a proxy rather than a measurement of any one ASN. An ASN and a provider's published ranges are not the same set, Amazon announces its space from more than one ASN, and Shopify does its ASN and country lookups against MaxMind's GeoLite data rather than the providers' files. The direction of the comparison is not in doubt, though. The widest entry Shopify allows in the address field is a /16, which is 65,536 addresses. A single ASN entry, limited to one country, can stand for hundreds of times more.

Which ASN to list is not always obvious either. On the forum, one developer pointed out that Lambda has no ASN of its own, and that Amazon's address space is split mainly between AS16509 (registered as AMAZON-02) and AS14618 (AMAZON-AES). RIPE's routing data confirms both are Amazon networks. Another developer, with a component on Fly.io, quoted an old Fly community answer suggesting that the addresses other servers see may not sit inside Fly's own AS40509 at all, and concluded the only clean fix was paying for a dedicated egress address. We could not confirm whether that still holds today, which is itself the point: the developer has to work out which building their traffic leaves from before they can lock its doors.

Shopify also notes a quieter edge. If the GeoLite data has no ASN for an address, or no country when you have set countries, the request is rejected. Country, the documentation adds, "is where the data places the address, not where the network's owner is registered." MaxMind's own page describes its free GeoLite ASN database as providing the network number and organization "for analytics," and says its free city-level data is considerably less accurate than its paid product. None of that makes the check useless. It does mean the fence is drawn from a map, and maps have errors at the edges.

The turn: the fence is real, and it still checks the wrong thing

It would be easy to read all of this as a takedown. It is not, and the evidence points the other way more often than critics of the deadline admit.

Look at the two best documented token and credential theft campaigns of the past three years. In 2024, Mandiant investigated a group it tracks as UNC5537, which logged into Snowflake customer accounts with credentials stolen by infostealer malware; Mandiant and Snowflake notified roughly 165 potentially exposed organizations. Mandiant named three primary factors behind the campaign's success, and one of them was that "the impacted Snowflake customer instances did not have network allow lists in place to only allow access from trusted locations." The group, Mandiant wrote, mostly connected through Mullvad and Private Internet Access VPN addresses and used servers from a Moldovan provider, ALEXHOST SRL, for exfiltration. An allowlist pinned to one major cloud and one country would very likely have turned that traffic away, unless the VPN exits themselves happened to sit inside the allowed network.

In August 2025, Google Threat Intelligence Group described a campaign by a group it tracks as UNC6395, which used OAuth tokens stolen from the Salesloft Drift integration to export data from numerous corporate Salesforce instances, from as early as August 8 through at least August 18. Google's published indicators list 20 IP addresses. Eighteen are Tor exit nodes. One belongs to DigitalOcean. One belongs to Amazon Web Services. Among Google's recommendations to Salesforce customers: set the connected app's "IP Relaxation" policy to enforce IP restrictions, and define login IP ranges that only allow trusted networks.

So on the published record, network restrictions would likely have blocked most of the observed attacker traffic in both cases. That is not nothing. It forces an attacker off Tor, off commercial VPNs and off cheap offshore hosting, and onto infrastructure that has billing records and an abuse desk.

Now look again at that one AWS address in Google's list. We checked it against Amazon's own ranges file: it sits in an EC2 range in us-east-1, the region in Northern Virginia, and RIPE's routing data places it in Amazon's AS14618. An app that allowlisted AS14618 and the United States, a perfectly reasonable configuration for a Lambda-based app in that region, would have let that request through. One address is not a pattern, and we are not claiming the Drift attackers would have targeted Shopify the same way. The point is narrower. The attacker had already done the thing the ASN option assumes attackers will not bother to do: rent a machine inside the same cloud as their victims.

This is the reframe the deadline argument misses. The allowlist does not prove a request came from your app. It proves the request came from a place you vouched for. When that place is your own server, those are nearly the same claim. When that place is "anywhere in us-east-1," they drift apart, and the token is once again the only thing that identifies you.

The allowlist raises the price of stealing a token. It does not change what the token is: a bearer secret that works for whoever holds it.

Why Shopify pushed now, and what it said

Shopify has not tied the change to a specific breach, and the coverage we read, including a write-up by Cyber Security News, did not name one either. What Shopify has said is in its October 20 post, titled "Securing your app, together." It warned that "alongside the rest of the industry, we are seeing the number of attacks increasing across the app ecosystem as AI gets better at finding vulnerabilities," and asked every app developer to act that week. The post promised "IP address restrictions so your keys only work from your servers," and said Shopify would share details and timelines "before any change takes effect, so you have time to prepare."

The time turned out to be short. The allowlist feature shipped on October 27 as a recommendation, with a note that support for serverless apps was "coming soon." It became a requirement on November 5, with the ASN option arriving the same day. On the forum, a developer who had enforced it for two apps praised the test button but wrote that going from "recommended" on October 27 to required on November 5 "doesn't sound professional." The same post complained that the tool forced a choice between addresses and networks, when the developer wanted a support machine's fixed address alongside the host's ASN. Shopify fixed that six days later.

A Shopify staff member posting as Blair answered the timing complaints directly. "I understand that the timing is bad. I too would rather this happen at any other time of the year," Blair wrote. "Timelines for required changes that are this short are rare for us, and I hope that the ecosystem takes that as a signal of how important the changes are." And then: "Don't do this because we ask you to. Do this because you care about merchant data and not being compromised."

Shopify's security documentation, rewritten as an "app security hub," frames the urgency the same way: "AI agents find weaknesses in minutes that used to take weeks of manual review, and that capability is as available to attackers as it is to you." It ranks the weaknesses attackers target most. Stolen tokens used from an attacker's servers sit at number seven. Endpoints that trust a shop parameter are number one, and unverified webhooks and app proxy requests are number five. That ordering matters for this story, because it is Shopify's own admission that the allowlist addresses one stage of an attack, after the token is already gone.

Some developers were less charitable. One wrote that Shopify "has been nothing but reactive" on security and found the tone "patronizing." Another replied that Shopify's own default app template had, for years, stored never-expiring offline tokens unencrypted in the app database. That last claim is one developer's description, not something Shopify has confirmed, but it lines up with the policy direction: expiring offline tokens became mandatory for new public apps created on or after April 1, 2026, and every remaining public app must migrate by January 1, 2027.

Pocket glossary: the words in Shopify's fine print

  • Egress address. The public IP address your request appears to come from when it reaches Shopify. On a fixed server it is yours. On most serverless platforms it is borrowed from a shared pool and changes.
  • CIDR range. An address plus a prefix length that describes a block. A /24 is 256 addresses; a /16, the widest IPv4 entry Shopify accepts, is 65,536.
  • ASN. An autonomous system number identifies a network run by one organization, such as a cloud provider or an ISP. Allowlisting an ASN admits every address in it, including other customers' addresses.
  • NAT gateway. A device or managed service that sends many machines' outbound traffic through a small set of fixed addresses. It is the usual way to give serverless functions a stable egress address.
  • Bearer token. A credential that works for whoever presents it. Shopify's Admin API access tokens are bearer tokens; the allowlist limits where they work, not who holds them.
  • Expiring offline token. Shopify's replacement for tokens that never expire. Its documentation says an expiring token lasts one hour and is renewed with a refresh token.
  • Sender-constrained token. A token bound to a key the client holds, so a copy is useless without the key. The IETF standardized two ways to do this for OAuth: mutual TLS in RFC 8705 (February 2020) and DPoP in RFC 9449 (September 2023).

An old idea with a long paper trail

Trusting a request because of where it comes from is one of the oldest habits in networking, and one of the most argued over. In the BSD Unix tools of the 1980s, rlogin and rsh let a machine skip the password check for hosts listed in a trust file. It was convenient, and it treated an address as an identity. Much of the history of network security since has been an effort to stop doing that.

The clearest break came from Google. In a 2014 paper titled "BeyondCorp: A New Approach to Enterprise Security," Rory Ward and Betsy Beyer described moving Google away from a privileged corporate network, so that access depended on the device and the user rather than the network a request came from. In 2020, NIST's Zero Trust Architecture guidance, Special Publication 800-207, made the same idea federal doctrine: no implicit trust granted on the basis of network location alone.

Yet API platforms keep returning to IP restrictions, and not by accident. They are cheap to enforce at the edge, easy to explain, and they do measurably reduce exposure. Stripe now offers "access policies" on API keys that can restrict a key to fixed addresses or, under an "Advanced" option, to ASNs, countries and the exclusion of Tor exit nodes, anonymous VPNs and public or residential proxies. Its own example policy allows ASN 16509, Amazon, in the United States, minus Tor. GitHub lets the creator of a GitHub App declare the addresses the app runs from, and organizations on its enterprise plan can inherit those addresses into their own allow lists; its documentation notes that the restriction does not apply to server-to-server tokens from apps installed on a user account. Salesforce has its connected app IP enforcement, the setting Google told Drift victims to switch on.

So Shopify is not inventing anything here. It is doing what Stripe and Salesforce already offer, and making it mandatory at a scale and speed most platforms have avoided. That is the genuinely new part. GitHub's own decision to block pull_request_target by default, which we covered earlier this month, followed the same arc: a long-standing optional safeguard turned into a default, because too few people chose it voluntarily.

The difference with network allowlists is the one the 1980s already taught. An address is a fact about routing, not about identity. Every time infrastructure gets more shared, that gap widens. Serverless is about as shared as infrastructure gets.

The part getting less attention: the token itself

Buried in Shopify's October 27 update is a change that addresses the gap more directly than any allowlist. Alongside the IP feature, Shopify launched what it calls client credentials access: if an app loses a refresh token, "your backend can now request a new access token signed with your app's private key, without waiting for a merchant to reopen your app." Combine that with the expiring tokens arriving on January 1, and the shape of the system changes. An Admin API token that lives for an hour is worth far less on a criminal forum than one that lives until uninstall. A credential that requires a private key to mint new tokens moves the crown jewel from "a string in a database" to "a key you can keep in a hardware-backed store."

The enforcement schedule for both requirements mirrors each other. For the allowlist: bulk operations blocked November 12, delisting November 20, merchant warnings January 15, 2027, API rejection April 1, 2027. For expiring tokens: delisting January 1, 2027, merchant warnings January 15, API rejection April 1. Shopify has said the later dates are there to give merchants time, and "should not be treated as extra time to migrate."

What neither requirement does yet is bind each request to a key. That is what the IETF's sender-constrained token standards exist for. Under DPoP, the client signs a small proof with a private key on each request, and a stolen access token alone fails. Under mutual TLS, the token is tied to the client's certificate. Both cost something: key management, clock handling, extra work in every SDK. Neither is currently part of Shopify's public requirements, and nothing in Shopify's posts suggests it is planned. We mention them because they are the honest answer to the question the ASN option leaves open, which is how to make a token useless to someone standing in the same building.

An allowlist asks "where are you?" An expiring, key-bound token asks "are you still you?" Only the second question survives a shared cloud.

What the merchant sees, and what it cannot

The detail with the widest reach may be the least technical one. Since November 5, merchants can see in Settings, Apps whether each installed app has expiring tokens and an IP allowlist, and after November 20 apps without an allowlist are flagged there. That turns a security setting into a visible trust signal, which is exactly what Shopify wants: a merchant choosing between two apps will notice which one is marked.

Shopify's posts describe the indicator as showing whether an allowlist is on. They do not say whether it distinguishes a single fixed address from a whole cloud ASN with no country limit. If it does not, the badge reads the same for the app that locked its token to two servers and the app that admitted every address in AWS. One developer on the forum asked whether merchants could see the actual addresses listed, worried it would expose servers hidden behind Cloudflare, and said an ASN entry would do instead if so. That is a reasonable call in that situation. It also shows how quickly a visible checkbox nudges people toward the wider option.

The same thread had a sharper example. A developer asked how to comply for an app built only on checkout extensions, which needs no external hosting at all. Another replied: "For now, I guess we can use a (secure) placeholder IP or ASN to avoid restrictions." A placeholder entry is harmless if the app truly never calls the Admin API from outside, and it may be the only practical answer until Shopify clarifies. It is also the purest form of the problem: a box ticked to satisfy a rule whose purpose does not apply. Merchants, looking at the badge, cannot tell the difference.

What we know, and what we don't

What is established, from Shopify's own changelog and documentation: the requirement, its dates and consequences; the October 27 launch and the November 5 switch to mandatory; the ASN mode with its 10 networks and 10 countries; the November 11 change allowing addresses and ASNs together and raising the address limit to 250; Shopify's explicit warning that an ASN admits the provider's other customers; the use of MaxMind GeoLite data for ASN and country lookups; the compatibility gaps, such as tokens used through Shopify Flow's "Send HTTP request" action, which Shopify says it rejects under an allowlist because it cannot confirm their source address. Also established, from Mandiant and Google's published reports: that network allow lists were missing in the Snowflake intrusions, and that one of 20 published Drift indicators was an AWS address.

What is not known: how many apps chose fixed addresses and how many chose ASNs, and how many ASN entries carry country limits. Shopify reported only that "the vast majority" of bulk-operation apps complied by November 12. Nor do we know whether the merchant-facing indicator will distinguish the two, or whether Shopify plans further tightening for ASN-based apps. We do not know what specific incidents, if any, prompted the compressed timeline; Shopify has cited a rise in AI-assisted attacks across the ecosystem without naming cases. And claims made by individual developers on the forum, about Fly.io's egress addresses or the old default template's token storage, are their accounts, not verified facts.

The weakest link in our own argument should be stated plainly: we have no evidence that any attacker has used a stolen Shopify token from inside an allowlisted cloud network. The risk we describe is structural, documented by Shopify itself, and demonstrated in a different ecosystem by a single address. It is a reason for care, not proof of an exploit.

A practical framework for the next six days and the next six months

For developers facing November 20, and the January 1 deadlines behind it, the order of operations matters more than any single setting.

  1. Find out where your Admin API calls actually leave from. Shopify's test checks your configuration against the last 30 days of your app's requests. Run it before you choose anything, and look for egress you forgot: a support script on a laptop, a third-party tool using your token, a cron job on a different host.
  2. Prefer fixed addresses, even for a serverless app. Most clouds can route outbound traffic through a NAT gateway or a dedicated egress address. If that is too costly for the whole app, route only the Admin API calls through it. A common pattern: serverless functions receive Shopify's webhooks, verify them, and put jobs on a queue; a small worker with a fixed address makes the Admin API calls. That worker needs the same discipline as any consumer, meaning retries, a dead letter queue and idempotent handlers, which our guide to resilient webhooks covers in detail.
  3. If you must use ASNs, make them as small as you can. List the fewest networks that cover your real traffic, always set countries, and recheck after any change to your hosting regions. Shopify warns that providers can add ASNs over time, so a list that works today can start failing tomorrow; that failure shows up as 403s, which deserve the same alerting and retry with backoff rules as any other dependency error.
  4. Treat the allowlist as a tripwire as well as a fence. Shopify's own guidance is to review your app's API logs by client IP and user agent. Inside an allowed ASN, a request from an address you have never used before is the signal worth an alert, because it is exactly the case the fence will not stop.
  5. Move to expiring tokens now, not in late December. One-hour tokens shrink the window in which a leaked token is worth anything. Store refresh tokens encrypted, keep your app's private key for client credentials out of application code, and test the recovery path before you need it.
  6. Do not ignore the inbound side. The allowlist protects calls you make to Shopify. Calls Shopify makes to you are still protected only by webhook signature checks, and Shopify ranks unverified webhooks fifth on its list of the weaknesses attackers target most.
  7. Audit custom apps before January 1. Agencies take note: from that date, a single custom app installed outside your organization without an allowlist blocks you from installing any of your apps on stores outside your organization. One forgotten client app can freeze the rest.

Teams building automation on top of Shopify, whether a Zapier-style connector or an agent connected through MCP, face a version of the same choice. An event-driven agent that calls the Admin API from a hosted runtime has an egress address someone else controls. Before wiring an agent's tools to a merchant's store, it is worth knowing which building those calls leave from, and whether "allowlisted" in that context means two servers or a continent.

The wider pattern

Shopify's move fits a pattern this site has tracked across very different stories. Platforms that once offered security as an option are now imposing it on short notice, and the burden lands on the developers least able to absorb it in a busy season. The same week, GitHub's late webhooks showed how much downstream logic quietly assumes a platform behaves the way it did yesterday. The revised incident report on Google's London outage made a related point about capacity: a safety mechanism is only as strong as the shared resource underneath it. And the rise of agents that ship code in one step is the flip side of Shopify's warning that AI finds vulnerabilities faster. The same tools speed up both the build and the break.

For anyone following API platform changes, the lesson is not that allowlists are theater. They are not. It is that a control's strength depends on a fact the control itself does not show: how many other people share the address you trusted.

Back to the building

The error that greeted one developer on November 7 has a simple cure, and by Shopify's account most bulk-operation apps have already taken it: turn on an allowlist, and the queries come back. After November 20, merchants will see a reassuring mark next to every compliant app's name. That is a real gain, and Shopify deserves credit both for forcing it and for stating the limits in writing.

But the useful question for any developer, and for any merchant reading that mark, is not "does this app have an allowlist?" It is "whose door does the key open?" If the answer is the app's own front door, the allowlist does most of what Shopify says. If the answer is the whole building, the lock on the lobby helps, and the real protection is somewhere else: in tokens that expire within the hour, in keys that never leave a vault, and in someone watching the logs for a neighbor who should not be there.

FAQ

What exactly happens on November 20 if my public app has no IP allowlist?

According to Shopify, the app is delisted from the Shopify App Store, blocked from new installs and flagged to merchants in Settings, Apps. Existing installs keep working. Merchants see a warning in their admin from January 15, 2027, and Admin API requests from the app start failing on April 1, 2027. Shopify says delisted apps are relisted automatically once they add an allowlist. Bulk operations from apps without one have been blocked since November 12.

Is an ASN-based allowlist good enough for a serverless app?

It satisfies the requirement, and it blocks traffic from outside your provider's network, such as Tor and commercial VPNs. But Shopify's own documentation warns that anyone running servers on an ASN you allow can use a stolen token from there. Set country limits, keep the list short, and where you can, route Admin API calls through a fixed egress address instead.

Does the allowlist protect my app's webhooks?

No. It applies to GraphQL and REST Admin API requests that use your app's token. Webhooks Shopify sends to your app still need signature verification, and Shopify lists unverified webhooks among the weaknesses attackers target most.

Are custom apps and merchant-created apps affected?

Apps that merchants create in the admin or the Dev Dashboard are not affected, and neither are custom apps installed only within your own organization. Custom apps installed on stores outside your organization need an allowlist for new installs from November 20, 2026, and for existing installs from January 1, 2027.