Security Engineering
14 guides · 50 glossary terms
Three surfaces that used to be separate disciplines and increasingly are not. AI systems act on your behalf and need identity and authorization of their own. Application and supply chain security decides whether the artifact you deploy is the one you built. Sender authentication decides whether mail claiming to be you reaches anyone. All three share a failure mode: they degrade silently, and nothing tells you.
Start here
The Email Authentication Stack: SPF to BIMI, and How Each Layer Fails
SPF, DKIM, DMARC, ARC, MTA-STS, TLS-RPT, and BIMI in one page: what each layer proves, where the boundaries sit, and why every one of them degrades silently.
Explainers
All explainers→How-To & Implementation
All how-to & implementation→Secure an MCP Server
advanced · 8 minAn MCP server hands a model the power to act. Here is how to secure it: authN/authZ per invocation, least-privilege tools, untrusted-output handling, brokered secrets, and audit logs.
Red-Team an LLM: A Practical First Pass
advanced · 8 minA first pass at LLM red-teaming: the four failure classes, a starter probe set, direct vs indirect injection, scoring, guardrail limits, and turning it into a CI regression suite.
Identity for AI Agents
advanced · 8 minAn agent is a new principal. Do not give it the user's cookie or the server's root key. Per-action auth, brokered secrets, and an audit id.
TLS Inspection with a Forward Proxy: What It Sees, What It Breaks
advanced · 10 minDeploy TLS inspection only with managed devices, a written bypass list, and a defensible retention policy. Here is what it sees, what it breaks, and where it stops working.
Egress Control for AI Agents: Stop Your Agent Reaching What It Should Not
practitioner · 10 minDefault-deny egress at a proxy the agent cannot route around is the highest-leverage single control for agent security. An allowlist alone will not stop exfiltration.
Gmail Blue Checkmark: What BIMI Actually Costs in 2026
practitioner · 10 minGmail's blue checkmark requires BIMI, DMARC at enforcement, a registered trademark, and a VMC costing $750 to $1,400 a year. Full requirements, steps, costs, and when to skip it.
Roll Out DMARC to p=reject Without Breaking Mail
practitioner · 9 minReaching p=reject takes six to eight weeks and one hard prerequisite: naming every system that sends as your domain. The staged rollout, the alignment rule people miss, and what breaks.
Verify an AI Agent: Web Bot Auth and Signed Agent Traffic
practitioner · 8 minWeb Bot Auth signs agent requests with a verifiable key, turning "this claims to be ChatGPT" into proof. The drafts, the CDN path, origin verification, and the policy that has to come first.
Verified Builds: SLSA Provenance and Sigstore Signing
advanced · 9 minSigstore proves who built it, SLSA provenance proves how. Generation is nearly free on hosted CI; verification with a real policy is the project. Levels, steps, and the silent failures.
Implement Content Credentials (C2PA) Without Breaking Your Pipeline
practitioner · 9 minSigning what you produce, verifying what you ingest, and deciding what absence means. The pipeline audit that decides whether any of it survives to the browser.
Teardowns
All teardowns→Replace Static API Keys
practitioner · 8 minA long-lived key in a repo or an agent env is a master key you cannot inventory. Workload identity, short-lived tokens, and brokered secrets are the replacement.
Blue Checks Are Not Security: What Each Badge Actually Proves
intro · 7 minGmail's checkmark proves a trademark. X's proves a payment cleared. LinkedIn's proves an ID matched a face. What each badge checks, what it costs to counterfeit, and why none of them make a message safe.
Vocabulary
Short, citable definitions for the terms these guides assume.
- MCP
- Prompt injection
- Jailbreak (LLM)
- Agentic AI
- Tool use (function calling)
- Guardrails (LLM)
- MLSecOps
- RAG
- Embeddings
- Vector database
- Fine-tuning
- Context window
- Inference
- Quantization
- SIEM
- SOAR
- EDR
- XDR
- Zero trust
- ZTNA
- SAST
- DAST
- SASE
- SSE
- CNAPP
- CSPM
- DSPM
- ASPM
- IAST
- SCA
- Forward Proxy
- Reverse Proxy
- SOCKS5
- TLS Inspection
- BIMI
- VMC
- DMARC
- SPF
- DKIM
- ARC
- MTA-STS
- Web Bot Auth
- C2PA
- SLSA
- Sigstore
- SBOM
- mTLS
- llms.txt
- AI Overviews
- Citation Share