Project-Template/docs/qa
null 29fb908932 feat(qa): pass H, authorization and abuse
The passes stopped at G, and A-G share an assumption that hides an entire class
of defect: every one of them asks a legitimate user to do legitimate things.
Nothing looked at what happens when the caller is not who they claim, does not
own what they ask for, or asks too often.

That assumption has already cost this portfolio once. requireCoupleContext in
Closer-Couples never verified the caller belonged to the couple whose data was
returned -- authentication present, correct, and proving nothing about
ownership. No pass A-G would have found it.

Pass H covers six cases: authenticated endpoints called logged-out, a list
endpoint checked for rows the caller should not see, User A requesting User B's
object by id, a privileged route opened as an ordinary user, the expensive
endpoint hit repeatedly, and the built bundle and localStorage inspected.

The organising sentence, which is the reason it is a separate pass rather than
more rows in B: authenticated is not the same as owning, and neither is the
same as permitted.

closes #2

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-17 22:53:53 -05:00
..
ClaudeQACoverage.md feat(qa): pass H, authorization and abuse 2026-08-17 22:53:53 -05:00
ClaudeQAPlan.md feat(qa): pass H, authorization and abuse 2026-08-17 22:53:53 -05:00
ClaudeReport.md chore(repo): put the template under version control 2026-08-17 22:44:26 -05:00