Blog

Technical deep-dives on AI agent security

Runtime guardrails, compliance frameworks, and lessons from building the trust layer for production agentic systems.

/Updated /13 min read

Prompt injection detection: 6 detectors you can ship in a weekend

You do not need a fine-tuned classifier to start catching the trivial prompt injection and tool-misuse attempts against production agents. Six boring rule-based detectors catch the copy-paste ones. Here is the code, and why none of it is a complete filter.

prompt injectionAI agent securityOWASP ASIruntime guardrailsdetectorsagentic AI
Read more
/Updated /13 min read

How to build an immutable audit log with HMAC hash chaining

Append-only is not tamper-evident. Here is how to build an audit log that proves nothing in the past has changed, using HMAC-SHA256, a canonical schema, and a Postgres advisory lock. Lessons from production.

audit loggingHMAChash chaintamper evidencecompliancePostgres
Read more
/Updated /10 min read

Why your AI agent needs a gateway, not a system prompt

System prompts are suggestions. Gateways are enforcement. Here is why bolting safety instructions onto a prompt does not secure your agent in production, and what to build instead.

AI agent securityruntime guardrailsgatewayprompt injectionagentic AI
Read more