Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

immutable/ts-immutable-sdk
main @ c74228b
9
Fixes
0
CVEs
HIGH
Peak severity
62.5%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
packages/passport/sdk/src/authManager.ts: most-fixed (2 issues). Treat as high-risk during review.
7 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Expired access tokens were not reliably detected, allowing continued use past expiry; fix replaced weak check with isAccessTokenExpiredOrExpiring.
Auth Bypass: Refresh tokens were not revoked on logout, enabling token reuse after session end; also missing automatic refresh logic for silent sign-in.
Auth Bypass: zkevm transactions could execute with an expired access token because refresh was not performed before sendTransaction.