Learn / AI security

AI Security Field Guide

Learn to test, defend, and govern AI systems without crossing the line.

A practical, beginner-friendly learning path for AI security: foundations, safe labs, machine learning, LLM threats, red teaming, detection, cloud controls, and governance.

Modules14

From foundations to incident response.

Learning paths3

Foundation, testing, and defense.

Practice modelSafe by default

Local, synthetic, or explicitly authorized.

UpdatedJuly 31, 2026

Current frameworks and links checked.

How this is different

A security-practitioner guide, not an exploit cookbook

The source PDF supplied a useful beginner topic map. This adaptation replaces unsafe live-target examples, outdated tool snippets, and unqualified claims with system thinking, controlled labs, current terminology, and evidence-led practice.

System

Look beyond the model

Data, retrieval, identity, tools, application logic, people, and operations determine the real risk.

Evidence

Verify every result

Models generate hypotheses. Reproduction, logs, tests, and source evidence turn them into findings.

Boundary

Test consequences

Prioritize data exposure, authorization failure, and side effects over clever prompt demonstrations.

Operation

Design for recovery

Every important control needs an owner, signal, stop path, retest, and rollback.

Choose your route

Three connected learning paths

Compare the paths
01

Start from zero

Build the vocabulary, lab discipline, Python confidence, and model-evaluation habits needed for every later module.

5 modules
02

Test AI safely

Threat-model an AI application, test prompt boundaries, review code, and run repeatable evaluations inside a documented scope.

5 modules
03

Build and operate securely

Design detection, constrain agents, secure the model supply chain, harden cloud deployment, and prepare response evidence.

4 modules

Foundation

5 modules

Test safely

5 modules

Defend and operate

4 modules

Non-negotiable

The field-guide safety contract

Every practical exercise in this section assumes these boundaries. If a lab cannot meet them, stop and redesign the lab.

  1. Use systems you own, intentionally vulnerable training applications, synthetic data, or targets covered by explicit written authorization.
  2. Define scope, permitted techniques, stop conditions, data handling, and an emergency contact before any assessment.
  3. Treat model output as a hypothesis. Verify findings with deterministic tools, logs, source code, and human review.
  4. Keep credentials, production data, customer information, and real personal data out of prompts and lab datasets.
  5. Prefer evidence that improves a control or a fix over demonstrations that merely prove an attack is possible.

Source and adaptation

What came from the document

The user-provided 2026 PDF supplied the initial topic map. This field guide is an original rewrite with a defensive-first structure, current sources, safer labs, corrected terminology, and enterprise operating context.

Visit Codelivly