# Password recovery and account recovery

**Test family:** `ACR`

- **ACR-001** Request returns non-enumerating result and consistent timing for existing/non-existing identities.
- **ACR-002** Reset token is random, single-use, expiring, action/user-bound, and invalid after password/email change where appropriate.
- **ACR-003** Old, malformed, truncated, swapped, already-used, and concurrently used tokens fail safely.
- **ACR-004** Reset page does not leak token via referrer, analytics, logs, or third-party resources.
- **ACR-005** Successful reset rotates/revokes the intended sessions and sends a security notification.
- **ACR-006** Account recovery handles lost email/phone without trusting easily acquired profile facts.

## Comprehensive per-item coverage

- **ACR-007** Exercise new, active, unverified, invited, suspended, locked, disabled, deleted, merged, and partially provisioned identities.
- **ACR-008** Use identifiers containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, accents, mixed scripts, RTL, confusables, invisible characters, and boundary lengths.
- **ACR-009** Compare absent, unknown, malformed, valid, expired, revoked, replayed, and wrong-tenant credentials or identifiers without account enumeration.
- **ACR-010** Use UI, API, SSO, SCIM, invitation, import, admin, recovery, and migration paths; converge on one identity and policy model.
- **ACR-011** Test exact duplicates, case variants, normalization equivalents, alias collisions, recycled identifiers, and concurrent creation atomically.
- **ACR-012** Change username, email, phone, external subject, team, role, owner, and tenant; preserve links, history, authorization, and audit.
- **ACR-013** Change role or account state between rendering, authentication, challenge, and commit; reauthorize the final operation.
- **ACR-014** Attempt cross-user and cross-tenant lookup, suggestion, recovery, invite, export, cache, and error paths; reveal no hidden existence or data.
- **ACR-015** Brute-force, credential-stuff, enumerate, resend, and lock accounts within a safe test envelope; balance abuse resistance and denial-of-service risk.
- **ACR-016** Race login, logout, password reset, MFA reset, email change, suspension, deletion, and session refresh; define which security state wins.
- **ACR-017** Retry after timeout and replay old links, codes, tokens, signed requests, and callbacks; enforce expiry, audience, nonce, and one-time use.
- **ACR-018** Verify current and remembered sessions, trusted devices, refresh tokens, API tokens, and linked providers after each security-sensitive change.
- **ACR-019** Force identity provider outage, delayed email/SMS, expired admin session, partial provisioning, and rollback failure; provide a recoverable state.
- **ACR-020** Use keyboard, password managers, autofill, screen readers, zoom/reflow, translated errors, RTL, and mobile keyboards without weakening security.
- **ACR-021** Inspect URL, referrer, DOM, storage, clipboard, logs, traces, analytics, support tools, notifications, exports, and screenshots for credential or PII leakage.
- **ACR-022** Notify the right channels of sensitive changes without including secrets or actionable one-time credentials.
- **ACR-023** Record actor, authority, target, old/new security state, request/trace ID, time, source, and outcome in tamper-resistant audit.
- **ACR-024** Measure authentication, directory lookup, authorization, provisioning, and revocation latency at normal and supported load.
- **ACR-025** Delete, anonymize, retain, restore, export, and merge identities according to legal and product policy without orphaning ownership.
- **ACR-026** Test stale clients, clock skew, region failover, cache lag, and key rotation; fail closed for authorization while preserving recovery.

[Back to Authentication, people, and access index](../../auth-people-access.md)
