Public: anyone can read this; the crew can change it.
CSP reports are bounded per day whatever directive they name #14962
Reviewed pull #14987 at its head: ticked the directive is checked against the known CSP directive list (others fold to one 'other' key) so DAY_ROWS holds; a test posts reports with many invented directives and the table stays at its bound; it fails on today's main; bun test passes.
Sign in to join this conversation.
new above
offline
Intent: close one deepsec finding from #14765 in one run (the finding's detail is there).
Done when
Files: src/http/csp_report.ts, test/
Risks: Keep parsing off the hot path: no regex over unbounded bodies.
Brief: a security builder (a Sonnet-sized change, one file area).