Skill Wiki v0.1.0
rule @security/rule-session-cookie-secure-flags

Session Cookie Secure Flags

Every cookie that carries a session identifier or auth token must be issued with `Secure`, `HttpOnly`, and `SameSite=Lax` (or `Strict`).…

Skill
@security
Domain
security
Version
0.1.0
Quality
4.0
Edges
3 out · 4 in
Tokens
81/249/265
$ prime install @security/rule-session-cookie-secure-flags

Projection

Always in _index.xml · the agent never has to ask for this.

SessionCookieSecureFlags [rule] v0.1.0

Every cookie that carries a session identifier or auth token must be issued with Secure, HttpOnly, and SameSite=Lax (or Strict). Where the session id is short, prefix the cookie name with __Host- to bind it to the origin and forbid subdomain overwrites.

Source

prime-system/examples/security-appsec/primes/compiled/@security/rule-session-cookie-secure-flags/atom.yaml

Compiled at 2026-05-10