If you discover a cryptographic bug, timing side-channel, signature bypass, or header-redaction flaw in hookspec, please report it privately via GitHub Security Advisories on seedfunded/hookspec rather than opening a public issue.
- Constant-time comparisons: All signature checks use constant-time byte comparisons (
timingSafeEqual). - No external runtime dependencies: All cryptographic primitives rely exclusively on the standard Web Crypto API (
globalThis.crypto.subtle). - Replay protection: Timestamped providers (Stripe, Slack, Svix/Clerk/Resend) enforce a default 300-second tolerance window unless explicitly configured otherwise.
- Fixture sanitization: The local
recordproxy redactsauthorization,cookie,set-cookie,proxy-authorization, andx-api-keyheaders before writing fixtures to disk.