Appendix B: Templates and Tools

This appendix lists the reusable templates and tools for AI-enabled defence in the repository that accompanies AI Red Team, each designed to be copied into an organisation's own repositories and kept under version control. Artefacts marked planned are described in the chapter briefs in BOOK_BLUEPRINT.md. The governance templates of AI Governance, Appendix C, and the platform templates of AI Platform and Security, Appendix B, are not repeated here.

Templates by CSF Function

Function Artefact Chapter Where
Foundations Programme charter for AI-enabled defence 1 Chapter 1
Foundations CSF profile as code with an AI focus 3 Appendix A
Govern Risk-appetite statement for security AI 5 planned
Govern Autonomy-level decision record 6 Appendix A
Govern Rules-of-engagement manifest 7 Appendix A
Govern Supplier assurance requirements 8 planned
Identify Agent asset record; threat model 9, 10 planned
Identify Patch-velocity policy; emulation plan 11, 12 planned
Identify AI red-team campaign and containment test plans 13 planned
Protect Synthetic-media-resistant approvals; deepfake exercise 14, 15 planned
Protect Guardrail policy; degradation modes 16, 17 planned
Detect Permission manifest for a SOC investigation agent 18 Appendix A
Detect Detection rule with test cases 19 planned
Respond Incident record; reporting-clock configuration 20, 21 planned
Recover Recovery plan as code; return-to-service checklist; restore drill 22–24 planned
Verification Chaos experiment manifest; safety-boundary policy 25 Appendix A
Improvement Finding record carried to verified closure 26 Appendix A
Improvement Purple-session agenda and metric definitions 26 planned

Repository tools

Tool Purpose
scripts/toc_definition.py Holds the table of contents and regenerates the index, navigation and chapter list
scripts/generate_outlines.py Regenerates the chapter briefs and the CSF coverage matrix
scripts/csf_data.py CSF 2.0 Functions, Categories and Cyber AI Profile focus areas
scripts/format_citations.py Derives citation labels from the bibliography
scripts/renumber_sources.py Keeps the bibliography numbered 1..N without gaps
scripts/check_mermaid_diagrams.py Renders and validates the diagrams