# Cyber Chaos Monkey: Staying ahead of security threats with AI agents

DevFeed: [Cyber Chaos Monkey: Staying ahead of security threats with AI agents](<https://devfeed.tech/articles/cyber-chaos-monkey-staying-ahead-of-security-threats-with-ai-agents-130858.md>)

Original publisher: [Read original article](<https://shopify.engineering/cyber-chaos-monkey>)

Author: Dan Scofield

Published: 2026-11-12T14:57:16Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [AI in cybersecurity](<https://devfeed.tech/topics/ai-in-cybersecurity.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [Chaos Engineering](<https://devfeed.tech/topics/chaos-engineering.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2026](<https://devfeed.tech/tags/2026.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [chaos](<https://devfeed.tech/tags/chaos.md>), [cyber](<https://devfeed.tech/tags/cyber.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [monkey](<https://devfeed.tech/tags/monkey.md>), [production](<https://devfeed.tech/tags/production.md>), [production-infrastructure](<https://devfeed.tech/tags/production-infrastructure.md>), [risks](<https://devfeed.tech/tags/risks.md>), [security](<https://devfeed.tech/tags/security.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [systems](<https://devfeed.tech/tags/systems.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

Shopify's Cyber Chaos Monkey (CCM) uses AI agents to probe live production systems with test shops and organizations, aiming to find vulnerabilities before attackers do. Its Discovery component uses system knowledge and cyber models to identify leads; Sandbox agents test them with live requests, production logs, and source code, then report findings for further investigation. Shopify says the system has run tens of thousands of engagements and acted on dozens of impactful findings without causing an outage or incident. Safety measures include containerized, least-privilege jobs; ephemeral credentials managed through a proxy; restricted egress; and Rules of Engagement. A separately prompted judge agent reviews the executor's session in real time and kills it if it detects prohibited behavior. The run also terminates if the judge or executor fails, using pod-local orchestration and heartbeats. Shopify presents its knowledge of its own systems as an advantage; the account does not provide independent evaluation of CCM's effectiveness.

## Source excerpt

How we pair AI agents with our knowledge of Shopify's systems to safely attack our production infrastructure, find bugs, and reduce risks.