Exercise 09 rubric
Total: 20 points. Assess the stated logout-revocation objective; optional production-authentication discussion is not required for full credit.
| Criterion | Points | Full-credit evidence |
|---|---|---|
| Reproduce the flaw | 4 | Valid profile before logout, normal signed-out request denied, retained-token replay accepted; actual statuses or equivalent response evidence |
| Explain client and server state | 4 | Distinguishes deleting a browser copy from server revocation; explains why replay remains possible in the starter |
| Repair the policy | 4 | Revokes only the current session via the supplied helper without changing checks, denying all profiles, or clearing all sessions |
| Verify behavior | 6 | Fresh-token replay denied after logout within one server lifetime (2); new login/profile succeeds (1); independent session remains valid (1); actual checks output reaches 10/10 (2) |
| Explain evidence limits and communicate safely | 2 | Explains restart/expiry as confounders and identifies one scope limit; evidence omits token values and real credentials |
A signed-out screen alone earns no replay-verification credit. A rejected token captured before restarting does not prove the repair. Award partial credit for correct intermediate evidence and explanations; report unexecuted tests as unverified. Do not require students to implement MFA, cookies, global sign-out, or new cryptography.