Home › Articles

Security rules for AI coding agents: a practical checklist

Updated 2026-10-16

In short: AI agents happily hardcode keys, trust request bodies and log tokens. A short, always-on security rule fixes most of it, as long as each line is concrete and checkable.

What to put in an always-on security rule

Why concrete beats vague

"Be secure" does nothing. "Verify the X-Signature HMAC over the raw body with timingSafeEqual" gets followed and can be reviewed. Pair the rule with a /security-audit skill that walks the diff against the checklist.

The free sampler includes our security rule in every tool format. The SaaS Starter shows it applied: signed sessions, scrypt hashing and a verified Lemon Squeezy webhook.