
Shopify Engineering · 6 min readSecurity
Cyber Chaos Monkey: Staying ahead of security threats with AI agents
Shopify’s Cyber Chaos Monkey uses AI agents to probe its own production systems for vulnerabilities, combining a discovery engine with sandboxed exploitation. The system employs strict containment, credential rotation, and a two‑agent alignment check to prevent misuse. This approach turns AI‑driven red‑team testing into a continuous, low‑risk security practice.
- Agents run in isolated containers with only temporary credentials, preventing privilege escalation.
- A second, differently‑prompted agent monitors execution and kills the attacker if rules are breached.
- Discovery refines human or automated ideas into structured tests, feeding results back for iterative improvement.