v0.5.1
π₯ Breaking Changes
- Official plugin rename:
securityHeaders()/"security-headers"βheaders()/"headers"(options typeHeadersOptions; config tableheaders_config). Docs page was already/docs/plugins/headers.
β»οΈ Changed
- Rebased the
pluginsexport budget after passkey WebAuthn verify (13.21 kB β 13.84 kB), and refreshed the published budgets snapshot. sitejoins the version lockstep (bun run bumpupdatessite/package.jsonwithokengine+create-oke).- Site depends on
@fumadocs/base-ui(^) directly β dropped thefumadocs-uinpm alias.
π Security
twoFactorTOTP verify uses constant-time comparison across the Β±1 step window (no plain===short-circuit).passkeyregister / authenticate now require a real WebAuthn ceremony:clientDataJSONorigin + challenge,authenticatorDatarpId hash, and ECDSA P-256 signature against the stored SPKI public key. Presence-only authenticate is rejected; challenges are single-use. New optionorigins.- Exploit-proof HTTP audit tests for all seven Gate auth method plugins (rate limits, gate posture, single-use tokens, anonymous non-escalation, Channel delivery gap, TOTP compare, passkey signature/origin).