Free Resource

AI/LLM Security Checklist

A practical, class-by-class checklist for web, API and AI/LLM applications. Every item maps to a real, exploitable bug class. Download the free PDF.

Untrusted input → dangerous sinks

  • ✓Shell commands use argv (no shell=True)
  • ✓SQL parameterized
  • ✓File paths verified inside root
  • ✓LLM output treated as untrusted

Model loading

  • ✓No untrusted pickle/torch.load
  • ✓safetensors / weights_only=True
  • ✓trust_remote_code defaults False
  • ✓Model id allow-listed

RAG & ingestion (SSRF)

  • ✓Scheme allow-list (http/https)
  • ✓Block internal/loopback/169.254
  • ✓Re-validate on every redirect
  • ✓Hardened parsers (XXE/zip-slip)

Agents & tools

  • ✓Code runs in a real sandbox
  • ✓Args validated before the sink
  • ✓Prompt injection assumed
  • ✓No backend secret leakage

Multi-tenancy & authz

  • ✓Every by-id op tenant-scoped
  • ✓Bulk/export/v2 = same authz
  • ✓Scoped fetch, not post-filter

Transport, auth & secrets

  • ✓DNS-rebinding protection on
  • ✓No secrets in repo/bundle/logs
  • ✓Security headers (CSP/HSTS...)
  • ✓Never disable TLS verify

Model files & supply chain (MFV)

  • ✓Parser fuzzed under ASan
  • ✓Header sizes/offsets validated
  • ✓Deps pinned + scanned

Process

  • ✓Code review in last 12 months
  • ✓SECURITY.md + private channel
  • ✓Security logging (no leakage)

A checklist shows exposure — we prove it

A real finding needs read-only static review with file:line proof and a working PoC. Let us audit your code against this list.