security: bound Zod inputs, add SSE per-user cap and tRPC body limit (#51) #59
Reference in New Issue
Block a user
Delete Branch "security/zod-audit-51"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #51 (except the ESLint rule + conventions doc follow-ups).
Summary
.max()bounds across 9 router schemas (IDs 64, names 200, search 500, arrays 100–5000 by domain).secrettomin(16).max(256)andurltomax(2048).formattopdf/xlsx.Test plan
pnpm test:unit(1945 API + 321 engine + 195 application tests pass)pnpm --filter @capakraken/web exec tsc --noEmitpnpm --filter @capakraken/api exec tsc --noEmitpnpm lint(0 errors)🤖 Generated with Claude Code