implementing-security-chaos-engineering

Implements chaos experiments that disable security controls to verify detection and response.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill implementing-security-chaos-engineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementing-security-chaos-engineering
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/security-operations/implementing-security-chaos-engineering
Command: npx skills add https://github.com/xalgord/xalgorix --skill implementing-security-chaos-engineering

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3.

What problem does it solve?

Security teams often assume their detection and alerting pipelines work, but never prove it. This Skill validates SOC detection coverage by deliberately breaking security controls—opening security groups, disabling CloudTrail, disrupting log pipelines—and measuring whether alerts and response actions actually fire within SLA.

Core Features & Use Cases

  • Controlled Chaos Experiments: Deliberately degrade controls such as WAF rules, firewall rules, CloudTrail logging, and EDR agents using boto3 and subprocess, with mandatory rollback functions.
  • Detection & Response Verification: Measure end-to-end detection time and confirm response actions (isolate, page, ticket) execute, distinguishing real detection gaps from silent control failures.
  • Use Case: A security engineer opens a security group to 0.0.0.0/0 in an isolated test account, verifies that AWS Config and GuardDuty alert within the SLA, then rolls back the rule automatically.

Quick Start

Run a chaos experiment that opens a security group in my test AWS account and verify that Config and GuardDuty detect it within five minutes, then roll back the change.

Frequently Asked Questions about implementing-security-chaos-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test if my security monitoring actually detects attacks?

Use security chaos engineering: deliberately break a control, such as opening a security group to 0.0.0.0/0 with boto3, then verify that GuardDuty or AWS Config alerts fire within your SLA. Always wrap the experiment in setup, verify, and rollback functions.

What is security chaos engineering in AWS?

Security chaos engineering intentionally degrades security controls—disabling CloudTrail, creating IAM admin users, opening firewall rules—to confirm detection and response systems work. Experiments run in tagged, isolated accounts with abort conditions and guaranteed rollback.

How do I safely run chaos experiments without leaving my environment exposed?

Wrap every experiment in a try/finally block that guarantees the rollback function executes, enforce a tight timeout, and assert post-conditions like rule removal or restored CloudTrail logging. Run only in a scoped, isolated account with a tested abort path.

Why did my chaos experiment show no alerts after breaking a control?

A quiet console can mean detection works or that the log pipeline you disrupted feeds the detection source. Check the detection source directly, such as GuardDuty findings or SIEM ingestion lag, to distinguish a silent control failure from a genuine detection gap.

Can I run security chaos experiments in production?

Experiments belong in a tagged, isolated account or network segment with defined abort conditions, not production. Confirm the abort path works before any real run, and obtain appropriate authorization for all testing activities.