Skip to main content
Claude Partner Network - Certified

Gennoor is Certified in the Claude Partner Network.

Shopify Mobile Security: How to Review AI-Written Code at Speed

All Posts
AI Security12 min read

Shopify Mobile Security: How to Review AI-Written Code at Speed

G

Gennoor Technical Team

AI training and automation, Mumbai

November 29, 2026 · 12 min read

Join Discussion

By Gennoor Tech · November 29, 2026

Shopify says AI-assisted mobile development changed its security problem. The company described how security review had to change as code output increased.

This matters beyond retail. Many firms are seeing the same pattern. AI speeds up software work, but review, testing, and security can become the bottleneck. If review stays manual and broad, delivery slows down again.

Shopify’s example is useful because it shows an operating approach, not just a tool choice. The company broke mobile security into smaller repeatable checks, ran those checks often, and focused reviews on what changed.

For a manager, that is the main lesson. When code output rises, asking reviewers to work faster is not enough. The review process itself has to become simpler, narrower, and easier to repeat.

What changed at Shopify

Shopify said its mobile teams were shipping code much faster than before.

A line-of-code count is not a measure of quality by itself. But it does show scale. For a manager, the practical meaning is simple: if output rises sharply, the old review process can stop being fast enough.

Shopify also said architecture, tests, code review, emulator capacity, and team coordination became more important once agents started producing large amounts of code quickly. This is a familiar pattern in many teams using AI in delivery work. The hard part moves from writing to checking and approving.

That shift is easy to miss at first. AI can make output look like the main success measure. But once more code enters the pipeline every day, hidden limits appear. Review queues get longer. Testing windows tighten. Security checks that worked at one pace start to lag at another.

So the management problem changes. It becomes a throughput problem across the whole delivery system. Security is one of the first places where that pressure shows up, because security review tends to be slower, more specialised, and harder to scale by adding more manual effort.

The starting problem was security review

Shopify said the security problem changed because agents let teams ship much faster, while vulnerabilities still appeared even in codebases that humans had reviewed for years. In plain terms, more code moved through the pipeline, but risk did not fall just because AI helped write it.

The company already had vulnerability scans on changed code. A vulnerability scan is an automated check for known weaknesses. But Shopify said it wanted an added system to reduce each app’s attack surface, which means all the places an app could be exposed to abuse.

That goal matters because faster output can widen exposure in small ways. A new screen might add a new permission. A new library might handle stored data badly. A link might open the wrong place inside the app. None of these changes has to be dramatic to create risk.

For a manager, this is the key point: faster coding does not remove security work. It changes the shape of that work. The review process must become narrower, more repeatable, and easier to run every day.

That is why broad reviews become less useful as code volume rises. A team can still say it reviewed the app, but that statement means less if the review had to cover too much ground at once. Smaller checks are easier to schedule, easier to repeat, and easier to verify later.

This also helps with accountability. If a review is defined around one specific risk area, teams can see what was checked, what was left open, and who needs to act. That is harder when security is treated as one large pass near the end of a release cycle.

The core idea was an attack-surface map

Shopify’s answer starts with an attack-surface map for each app. This map lists security-sensitive areas such as deep links, WebViews, stored data, permissions, and dependencies, with a verdict and a code link for every item.

A deep link is a link that opens a specific screen inside an app. A WebView is an in-app browser window that shows web content. A dependency is a third-party software library the app relies on.

Each map item is limited to one of five verdicts: Fix, Tradeoff, Secure, Fixed, or Debug only. That sounds simple, and that is the point. A team needs a short list of statuses people can act on quickly.

This is a strong management choice. It turns a broad security discussion into a maintained inventory. It is like giving a building manager a room-by-room checklist instead of asking for a general opinion on whether the whole building is safe.

The map also creates a shared view across teams. Engineering can see which parts of the app are sensitive. Security can see which items still need action. Management can see whether open issues are shrinking or growing. A good operating system for security usually starts with a visible list, not a vague principle.

Another benefit is consistency. If a team defines sensitive surfaces once and keeps that list current, new reviews do not have to start from zero. Reviewers can work from the existing map. That saves time and makes handoffs easier when people change roles or projects.

This matters especially in mobile apps, where risks are spread across many features and platform behaviours. Permissions, links, stored data, and embedded web content can all create exposure in different ways. A map gives those areas a fixed place in the review process.

How Shopify reviewed each risk area

Shopify said it built a separate security skill for each surface. The starting point was OWASP Mobile Application Security Verification Standard (MASVS), a checklist for mobile app security requirements, and OWASP Mobile Application Security Testing Guide (MASTG), a guide for testing mobile app security.

Shopify then added lessons from reported mobile vulnerabilities, including its own incidents. That matters because a checklist alone can miss the patterns a team actually sees in its own work.

The company said these skills are reusable rather than tied to one tool. Scheduled reviews, one-off reviews, and any agent working in the code can use the same guidance. That reduces drift, where one team checks one way and another team checks a different way.

Shopify also said it did not ask a model to review a whole app at once. Instead, each skill first creates a full inventory and then reviews one item at a time using only the code that item touches. That keeps each review small enough to be clear and specific.

This point is easy to underestimate. Many teams still treat security review as a single large question. They ask whether an app is secure, or whether a release is safe. Shopify’s method breaks that into smaller questions that can be answered with less ambiguity.

That structure is useful for managers because it supports regular work. A review that depends on a broad expert judgment can be hard to schedule and hard to scale. A review built from small repeatable checks is easier to assign, track, and repeat on a fixed rhythm.

It also helps with quality. When a review covers only one risk item and the code linked to it, there is less chance of losing the thread. The reviewer can stay close to the exact behaviour under review rather than jumping across unrelated parts of the app.

Example: a deep-link review

Shopify gave a clear example. A deep-link review looks at one route. It checks the parameters that route reads and the code that handles them. Then it asks what happens if one of those inputs is hostile.

That is a good model for other teams because it is concrete. Instead of asking, “Is deep linking secure?” the process asks, “What does this one route accept, and what could go wrong with those inputs?”

This kind of item-by-item review usually works better than a broad pass over everything. It is the difference between checking every door lock one by one and walking around the outside of a building hoping nothing was missed.

The value here is not only technical. It is operational. Small checks are easier to document, easier to repeat, and easier to improve over time. If a team later finds a bug in one route, it can refine that review pattern and apply it again to similar routes.

That is why the approach can scale better than a large manual audit. It creates a repeatable unit of work. Once a team knows what one deep-link review should include, it can apply that pattern across the app instead of reinventing the review each time.

How the process stays current

Shopify said its system learns from incidents. When the team fixes a bug class after an incident or a HackerOne report, that bug class is added into the skills used for later reviews. HackerOne is a bug bounty platform where researchers report security flaws.

That matters because security work often fails when lessons stay local. One incident gets fixed in one area, but the same pattern appears somewhere else later. Shopify’s method turns each incident into a reusable test for future code.

The company also runs a scheduled review every weekday for each mobile app. It uses the latest accepted attack-surface map, prepares a diff, reviews only changed or new items, and then regenerates the accepted map after fixes.

A diff scan is a review that checks only what changed since last time. This is one of the most transferable ideas in the case. When code volume rises, reviewing only changed or new items is often the only way to keep pace without losing focus.

This creates a steady operating rhythm. Instead of waiting for a large audit, teams make security review part of normal delivery work. That lowers the chance that issues pile up unnoticed for long periods.

It also supports better prioritisation. If the process is already reviewing the latest changes every weekday, teams can spend their limited attention on fresh risk rather than reopening the whole app again and again. That is a practical response to rising code throughput.

For managers, this is important because it turns security into a measurable routine. A fixed schedule, a known map, and a review of changed items are easier to monitor than occasional broad reviews that vary by team or release pressure.

What transfers to other teams

This case is not only about mobile apps. The pattern can work in other software teams too. The central idea is to define the few security-sensitive surfaces that matter in your product, map them, and review them repeatedly.

For example, a business web app might map login flows, file uploads, admin screens, payment actions, external integrations, stored customer data, and third-party packages. Each area can then have its own checklist, verdicts, and follow-up process.

That approach is especially useful when your team is adopting AI-assisted coding. Faster generation increases the need for narrower review units. It is much easier to check 20 small known risk areas than to ask reviewers to inspect an entire release in one pass.

It also helps with handoffs between security, engineering, and management. A maintained map makes risk visible. A manager can ask, “How many items are still marked Fix or Tradeoff?” instead of asking for a vague update.

The wider lesson is to redesign the workflow around repeatable controls. If one part of delivery becomes much faster, every downstream control has to be examined. Otherwise the bottleneck simply moves.

This does not require copying Shopify’s exact setup. Different products will have different sensitive areas. But the same operating logic can still apply. Define the surfaces. Keep an inventory. Use simple verdicts. Review changed items often. Feed incidents back into future checks.

That gives leaders something practical to manage. It shifts the conversation from abstract concern about AI-written code to a concrete process for controlling risk as output grows.

What is still clear from the case

Shopify’s post is most useful as an operating example. It shows a clear pattern: higher code throughput led to a more structured review system, built around attack-surface maps, item-by-item checks, and weekday reviews of changed items.

For managers, that is enough to act on. You do not need every implementation detail to see the core lesson. When AI increases software output, security review has to become more systematic. It cannot remain a broad manual step at the end.

The strength of the approach is its discipline. It narrows the work, makes status visible, and creates a way to carry lessons forward. Those are management advantages as much as security advantages.

Questions to take to your team

If your developers are using AI to write or change more code, these are the questions worth asking now:

  • Which parts of the product are most security-sensitive?
  • Do those parts have a named inventory, or are they only known informally?
  • Can each item be given a simple status such as fix now, accepted tradeoff, or secure?
  • Are reviews focused on changed items, or are people still trying to review everything broadly?
  • When an incident happens, does the lesson become a repeatable future check?

If most of those answers are unclear, the problem is probably not your model choice. The problem is the review system around the model.

What to do next

Start small. Pick one application, define its main attack surfaces, and create a short map with clear verdicts. Then review only changed or new items on a set schedule, and update the checklist every time a real bug appears.

That kind of process gives management something concrete to track. It also gives engineering and security teams a shared way to keep up as AI increases code output.

Shopify’s case shows the practical lesson clearly: when software teams move faster, security has to become more structured, not just more urgent. If your team is planning that shift, training programs and related reading such as Agentic AI in Production: 5 Hard-Won Lessons from Enterprise Deployments can help shape the operating model before review becomes the bottleneck.

Frequently asked questions

Quick answers to the most common questions about this topic.

Shopify said its mobile teams were shipping code much faster than before. That changed the pressure on review. Security and approval had to keep up with a higher flow of changes. Shopify also said vulnerabilities still appeared even in codebases humans had reviewed for years, so faster delivery required a more structured way to reduce risk.

AI SecurityAI-Assisted CodingCode ReviewMobile SecurityVulnerability ManagementRetail
#AISecurity#AIAssistedCoding#CodeReview#MobileSecurity#VulnerabilityManagement
G

Gennoor Technical Team

AI training and automation, Mumbai · Gennoor Tech

Written by the Gennoor technical team.

Found this insightful? Share with your network.

Get new posts by email

One email a week, on Thursday, with that week's posts. No spam.