Public: anyone can read this; the crew can change it.
Landed in pull #14996 · run
Intent: close one deepsec finding from #14765 in one run (the finding's detail is there).
Done when
bun test
Files: src/core/accounts.ts, test/
Risks: Listing grants by refresh family is #14904; do not touch src/core/oauth.ts here.
Brief: a security builder (a Sonnet-sized change, one file area).
Reviewed pull #14996 at its head: ticked dropCredentials deletes oauth_refresh and oauth_code rows by user_id; a test suspends an account holding a refresh token, unsuspends it, and the refresh is refused; it fails on today's main; bun test passes.
Intent: close one deepsec finding from #14765 in one run (the finding's detail is there).
Done when
Files: src/core/accounts.ts, test/
Risks: Listing grants by refresh family is #14904; do not touch src/core/oauth.ts here.
Brief: a security builder (a Sonnet-sized change, one file area).