Refactor the PDF build script to support a new "gumroad" edition that redacts offensive prompts, abuse payloads, and exploitation code while preserving defensive guidance. Key changes:
- Abstract build configuration into `EditionConfig` dataclass for reusable edition definitions.
- Add full-chapter redaction for three sensitive chapters and token-based redaction for risky payload strings.
- Update chapter titles to focus on defensive assessment rather than exploitation.
- Add command-line `--edition` option (default "full", alternative "gumroad").
- Update `.gitignore` to include the new Gumroad PDF and all PDFs.
- Commit the generated `AI_LLM_Red_Team_Handbook_Gumroad_Edition.pdf`.
- Significantly expanded Chapter 7 with detailed guides and code examples for AI red teaming lab setup.
- Introduced comprehensive sections on local LLM deployment, API-based testing, and network isolation.
- Added critical safety controls including kill switches, watchdog timers, rate limiting, and cost management.
- Included advanced topics such as testing RAG, agent systems, and multi-modal models.
- Provided pre-engagement and daily operational checklists, risk management, and incident response procedures.
- Implement URL scheme validation for LLM endpoint connections.
- Mitigate Server-Side Request Forgery (SSRF) by ensuring only 'http' and 'https' schemes are allowed.
- Sanitize report output paths to prevent directory traversal attacks.
- Ensure test reports are saved only within the current working directory.
- Update RAG pipeline documentation to use Mermaid for improved flow diagram rendering.
- Fixed duplicate headings in Field Manual and Configuration.md by using bold text for repetitive sub-sections
- Added missing language identifiers to fenced code blocks
- Fixed header increment issues
- Moved docs/Configuration.md to scripts/docs/Configuration.md
- Updated docs/README.md to point to new location
- Updated internal links in Configuration.md to be relative to new location
- README.md: Update requirements.txt and runner.py paths
- .gitbook.yaml: Fix chapter count (24 → 51) and date (Jan 2026)
- Configuration.md: Update all script paths to new structure
- Remove broken links to non-existent files
- Extracted all code examples from handbook chapters
- Organized into 15 attack categories
- Created shared utilities (api_client, validators, logging, constants)
- Added workflow orchestration scripts
- Implemented install.sh for easy setup
- Renamed all scripts to descriptive functional names
- Added comprehensive README and documentation
- Included pytest test suite and configuration