This repository contains the code examples and listings for the book "AI vs AI Cyber Defense: Blue Team vs Red Team Developing AI Cyber Tools on the Go" by Angel Sayani.
- Title: AI vs AI Cyber Defense
- Author: Angel Sayani
- Publisher: Manning Publications
chapter01/- Introduction: The Rise of AI-Augmented Offensechapter02/- Threat Modelling in a Post-GPT World- Each chapter contains numbered listings and example code
All code examples are written in Python 3.8+ and use only standard library modules, so no additional installations are required.
python --version # Should be 3.8 or higher
cd chapter01
python listing_1_1_ai_augmented_recon.py # Runs AI-augmented reconnaissance
python listing_1_2_ai_red_team_pipeline.py # Runs AI red team pipeline
cd chapter02
python listing_2_1_threatspec_example.py # Runs ThreatSpec security demo