You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(arc-auth): prove magic-link is scanner/prefetch-safe (po-gq7)
Gov/enterprise mail security (Defender Safe Links, Proofpoint, Mimecast,
Barracuda) GET-prefetches links in email to scan them. Verify the existing
GET-safe design holds end-to-end: a bare GET is idempotent (read-only peek,
no token consume, no session cookie) and only the explicit human POST signs
in — single-use, replay-safe.
- Add route-level scanner-safety tests driving worker.fetch: 3x GET leaves
the token pending + sets no cookie; POST then completes; POST replay 400s;
GET on a consumed link never re-issues a session. Suite 56 -> 60 green.
- Document the idempotency guarantee + residual risk (JS-detonation sandbox
auto-submitting the form) and the OTP escape hatch in the GET handler.
No behavior change — verification + defense-in-depth doc only.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments