---
title: "Building secure mobile apps in the agentic era"
description: "Shopify keeps pace with an 11x jump in mobile code output (~434k lines changed per week during a 12-week agent-driven rewrite) by maintaining a per-app attack surface map covering deep links, WebViews, stored data, permissions and dependencies, where every item carries one of five verdicts and a code link."
url: "https://swe.quest/articles/building-secure-mobile-apps-in-the-agentic-era-7500fbc38f176116"
canonical: "https://shopify.engineering/secure-agentic-apps"
source: "Shopify Engineering"
published: "2026-11-18"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["appsec","mobile","ai-agents","security","llms"]
---

# Building secure mobile apps in the agentic era

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2026-11-18, 6 min read, Case study. Original: [https://shopify.engineering/secure-agentic-apps](https://shopify.engineering/secure-agentic-apps)

## Summary

Shopify keeps pace with an 11x jump in mobile code output (~434k lines changed per week during a 12-week agent-driven rewrite) by maintaining a per-app attack surface map covering deep links, WebViews, stored data, permissions and dependencies, where every item carries one of five verdicts and a code link. Each surface has a reusable agent skill built from OWASP MASVS/MASTG plus lessons from past incidents and HackerOne reports. The skill first inventories every item and then has the model review one item at a time with only the relevant code, which keeps findings specific and verifiable. A weekday pipeline (prepare, review, publish) diffs the map against the last accepted version and validates model output, while agents also read security news and alert the team only when something affects the apps.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Application security](https://swe.quest/tags/appsec.md) (Security)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Security](https://swe.quest/tags/security.md) (Security)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- mobile app attack surfaces ([easy posts on Mobile](https://swe.quest/tags/mobile.md?difficulty=easy))
- deep links and WebViews
- LLM agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Shopify, OWASP MASVS, OWASP MASTG, HackerOne, Dispatch, WebView

## Related posts

- [Building an agentic harness that outlasts the model](https://swe.quest/articles/building-an-agentic-harness-that-outlasts-the-model-75504578038e6cc5.md): Shopify Engineering · 2026-07-29 · Medium · 8 min read · AI agents, Application security, Vulnerability research, LLMs, Ruby
  Shopify's AppSec team built Dispatch, a Ruby-orchestrated multi-agent harness that partitions codebases, runs parallel category-specific Hunter agents, verifies candidates with tests written by a different model inside each app's existing test suite, and opens draft fix PRs.
- [Helix: The internal tool powering our Shopify app's native migration](https://swe.quest/articles/helix-the-internal-tool-powering-our-shopify-app-s-native-migration-db9fcd596ae9b1fc.md): Shopify Engineering · 2026-09-21 · Medium · 8 min read · AI for coding, AI agents, Mobile, Refactoring & migrations, React
  Helix is Shopify's internal LLM tooling for rebuilding its 300+ screen React Native app in native Swift and Kotlin.
- [Cyber Chaos Monkey: Staying ahead of security threats with AI agents](https://swe.quest/articles/cyber-chaos-monkey-staying-ahead-of-security-threats-with-ai-agents-4152f3d289f09c90.md): Shopify Engineering · 2026-11-12 · Medium · 7 min read · AI agents, Vulnerability research, Sandboxing & isolation, Chaos engineering, Kubernetes
  Shopify's Cyber Chaos Monkey (CCM) is an agentic vulnerability hunter that attacks live production infrastructure using test shops, armed with source code, threat intel, past bug reports and deployment records.
- [How a beagle-shaped AI agent ships code to madewithvuejs.com](https://swe.quest/articles/how-a-beagle-shaped-ai-agent-ships-code-to-madewithvuejs-com-261c3874ad825315.md): Sentry · 2026-10-27 · Medium · 5 min read · AI agents, AI for coding, Deployment, Observability
  madewithvuejs.com runs an autonomous AI agent, "Milly," built as a custom harness around swappable cloud models.
- [From single pull requests to full software packages: Detecting malicious code at scale](https://swe.quest/articles/from-single-pull-requests-to-full-software-packages-detecting-malicious-code-at-717a58a001a046a1.md): Datadog Engineering · 2026-06-02 · Medium · 12 min read · Supply chain security, Threat detection, AI agents, LLMs, Cost optimization
  Datadog extended BewAIre, its LLM-based malicious code detector, from pull requests to full dependency packages by stacking a cheap filter model in front of an agentic investigation model.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
