Code audit
Authentication Handling
Enji Guard checks whether sign-in, sessions, recovery and sign-out keep the right identity.
What did the latest auth audit find?
Connecting to Enji Guard via MCP…
Reading the latest auth audit…
Worked 4 s · Enji Guard via MCP ›
Score 69/100 — needs attention. 2 findings:
- High riskPassword change leaves other sessions active
- High riskPassword reset links can be reused
Fix them.
Updating session and reset logic…
Running the sign-in tests…
Worked 52 s ›
Done. Both fixed and covered with tests:
- Password change ends all other sessions
- Reset links work once and then expire
Tests pass. Ready for your review.
What the audit checks
Six areas across sign-in, sessions, recovery and sign-out.
Identity proof
Sign-in via password, SSO, OAuth, API token, service or delegated identity.
Credential checks and storage
How passwords are stored, checked and changed, and what stops guessing.
Session issuance and transport
How cookies and tokens are issued: signature, lifetime, secure transport.
Session refresh and termination
Refresh, rotation, replay and expiry, plus password changes and sign-out.
Account recovery and linking
Link expiry, single use and binding to the right account.
One rule for every entry point
Do all clients reject invalid proofs and enforce delegation rules?
The audit follows the session
What a report can find at each step
Sign-in
What proves identity: password, SSO, OAuth, API token.
Session issuance
How cookies and tokens are issued: signature, lifetime, transport.
Session checks
Every client rejects invalid or expired access.
Refresh and access changes
Refresh, password change, reset, email checks and account binding.
Sign-out
What keeps working after sign-out.
What's in the report
- A 0–100 score
- Findings with severity, confidence and location in the code
- Scope — what was checked and what wasn't
What the audit is not
- Does not touch live systems or the identity provider
- Does not check access rights to objects and organizations
- Does not flag JWT use or missing MFA on its own
Connect a repository
GitHub or GitLab. The audit doesn't change your code.
Enji Guard