Executive summary
- What: Shopify CLI and the Shopify AI Toolkit now ship a security check command that scans an app for common vulnerability patterns before you ship it.
- Why: It combines a deterministic local scan with a coding agent review, so it catches issues that pattern matching alone misses, including authentication gaps and weak isolation of data between stores.
- Who: Anyone maintaining custom or public Shopify apps, including in house teams at Plus merchants and the agencies building on their behalf.
What changed
The new command runs locally on a developer machine and examines three surfaces: the app codebase, the configuration across its extension points, and its dependencies. It operates in two modes. The deterministic scan runs on its own and prints findings. The agent review, which is the recommended path, has your coding agent run the scan, investigate the checks that code inspection cannot settle, record its findings and present the combined result.
Each finding names the affected file and line, a severity, why the issue matters, a code example showing one way to fix it, and a check ID you can look up in the documentation. Results are written under a local directory per app configuration, and there are companion commands to record agent findings, review the combined set and clear results.
Scope control is sensible by default. Git tracked files are always scanned, Git ignored files are skipped unless you opt in, and you can exclude paths with globs. Some deterministic checks only cover the React Router app template; for other stacks those checks fall to agent review rather than being dropped. The engine is open source in the Shopify CLI repository.
Why it matters
This reads as developer tooling, and for most Plus merchants it is. The reason it belongs on an operations radar is that enterprise Shopify estates accumulate custom apps: an ERP middleware bridge, a pricing service, an internal fulfilment tool. Those apps hold session tokens and move order and customer data, and they rarely get the review cadence that a public app faces at submission.
Shopify reports that partners testing the tool found issues they did not know about, specifically in authentication and in how merchant data was isolated across stores. Multi tenant isolation is exactly the failure mode that is cheap to introduce and expensive to discover, and it is a standing question for any merchant whose custom Shopify apps were built fast and have not been revisited since. A free local command that names the file and line is a low friction way to get an answer.
Role-specific impact
- Marketers: Indirect. Fewer app review rejections and emergency patches means fewer campaign launches stalled behind an unplanned release.
- Developers: Add the command to your release routine and to CI where practical. Work critical and high severity findings first, then rerun before you call it clean.
- Store admins: Before granting or renewing scopes for a custom app, ask the owning team for a recent security check result. It is a reasonable request and it now costs them minutes.
Use-case example
Real-world scenario
An agency maintains four custom apps for a Plus merchant: an ERP sync, a B2B pricing service, a warehouse integration and an internal reporting tool. None had been through a formal security review since launch. A first pass across all four took under a day and surfaced eleven findings, two of them critical and both the same pattern: a webhook endpoint that did not verify its HMAC signature. Remediation took two days. Finding that class of issue through an incident costs considerably more.
Implementation checklist
- Install the Shopify AI Toolkit for your coding agent, or update Shopify CLI if you plan to run the deterministic scan alone.
- Run the check against each custom and public app you maintain, starting with the ones that touch orders, customers or payments.
- Triage by severity. Resolve critical and high findings before anything cosmetic.
- Exclude generated code and test fixtures with glob patterns so the signal stays readable.
- Rerun the check after remediation and make it a standing step in every release.
- Record the result and date per app so scope reviews have something factual to reference.
FAQ
Q: Does a clean report mean our app is secure?
A: No. Shopify is explicit that this complements your existing tooling and reviews rather than replacing them. It covers the vulnerability patterns seen most often in Shopify apps, which is a useful floor, not a guarantee.
Q: Does it work if our app is not built on the React Router template?
A: Yes. The agent review examines how your app actually works across stacks including Rails, Django, Laravel and custom authentication. Some deterministic checks are template specific and are handed to agent review instead.
Resources
Need guidance? Talk to Makro.