Audits
How the authentication handling audit works
Understand what the audit checks across sign-in, sessions, recovery, and sign-out.
Audit page Authentication handling auditWhat this audit answers
Authentication Handling examines whether a system establishes the intended identity and preserves it through sign-in, session use, recovery, and sign-out. It covers mechanisms the project supports, including its own integration with an external identity provider.
What Enji Guard inspects
Enji Guard traces identity proof through the code that issues, verifies, renews and invalidates a session. It checks six diagnostic areas.
- Identity establishment covers supported sign-in and service identity flows and the evidence each accepts.
- Credential verification and storage covers how credentials are checked and protected.
- Session issuance and transport covers the binding, validation, expiry and delivery of session proofs.
- Session renewal and invalidation follows refresh, expiry, credential changes and sign-out under the applicable policy.
- Recovery and account binding covers reset, verification and linking to the intended account.
- Lifecycle consistency compares the effective protections across entry points, clients and any delegated identity transitions.
How evidence becomes findings
A finding connects a supported entry point and its prerequisites to a concrete identity consequence. Enji Guard checks effective protections in project code, frameworks and provider integrations. Supported impersonation or delegation is legitimate within its grant. Findings concern deviations from the intended grant or session lifecycle.
Critical requires exceptionally broad identity compromise. High covers supported account takeover, consequential unauthorized impersonation, or broadly reusable session bypass. Medium covers a bounded authentication or session defect. Low covers a minor, demonstrated identity-control gap.
What the report includes
The report records the revision, supported identity paths, criteria, effective safeguards, findings, and limits on coverage. Findings explain the actor, the affected identity or session and the intended behavior. Evidence distinguishes source reasoning from isolated checks with synthetic identities and from checks suggested for later verification.
How the score works
Enji Guard calculates scores the same way across audits. The score starts at 100. Each distinct, evidence-supported finding deducts 25 points for Critical, 14 for High, 7 for Medium, or 3 for Low. Info deducts zero. The result stays within 0–100 and cannot exceed 69 when there is at least one Critical or at least two High findings. Diagnostic criteria do not contribute points to this calculation.
Limitations and boundaries
This read-only audit uses no real accounts or sessions and does not contact live identity providers. It can evaluate the owned integration while leaving provider internals unknown. The audit is not applicable when the project has no owned identity or account-lifecycle mechanism or integration. The audit applies the supported account and session policy, including bounded expiry when appropriate. Authorization to access an object or perform an operation belongs to the Public API access safety audit.
Review and rerun
After correcting a finding, verify the affected identity transition and the legitimate flows that share its controls. Rerun the audit on the resulting revision and compare the evidence for that transition.
Enji Guard