Takopi Class  /  Checklist

Account Linking

Run top to bottom for every place an identity can be attached to, merged into or removed from an account: social login buttons, enterprise SSO, LDAP, "connect" settings pages, chat or integration handoffs, email and phone change, invite acceptance. The unit of a finding is an identity or credential of yours ending up on an account that belongs to someone else (or surviving after its owner removed it), with the victim doing nothing unusual. Built from past disclosed reports, 2024 to 2026 advisories and hunt notes. Ticks are saved in this browser per target, "Copy as markdown" exports the current state.

42 steps11 phasesticks stay in this browser, per target
0 of 42 done
01

Safety and setup

0 / 1
    • Use [email protected] style placeholders you control for the "victim" address, never a real colleague or customer
    • Keep one IdP account with an unverified email and one whose email you can edit, the trust tests need both
02

Map the identity surface

0 / 4
    • A hardened login form usually sits next to an unhardened linking flow, the transfer to the mobile app and a QR login
    • Both the OAuth method and the email verification method have a confirmation request; find it, it is the request that binds the identity
    • Read the callback response and error texts: "an account with this email exists, log in to link" tells you the rule and is an account oracle
    • Also fetch the discovery document and read claims_supported
03

Identity binding: which claim is the key

0 / 7
    • A relying party that ignores it, or an adapter that drops it, links the attacker onto the pre-existing account; test the string form "false" and a missing claim as well as the boolean
    • Change the identifying field while keeping your own token and confirm identity comes only from the verified token; a library fell back to params.query when the session was missing
    • A managed login whose UI forbade email change let the user's access token update the email attribute through the vendor API, giving takeover of the account that trusted it
    • A missing domain check in the pre-signup hook left a ghost identity in the pool even where a later hook blocked the session
    • Compare how the IdP, the allowlist, the unique constraint, the login and the reset lookup each normalise the same string; a re-registration in a different case overwrote the stored password of an unused account
04

Pre-account takeover

0 / 5
    • Repeat with the social login as the first account and the password registration second, and with two different social providers
    • A callback appended the provider to the signup methods and marked the email verified but never cleared the password; the attacker kept access even after the victim revoked the app at the IdP
    • An auto-link by email trusted a permissive IdP that let anyone sign up with an unverified address; SCIM or admin-created accounts can also carry arbitrary "verified" emails
    • List which door issues a session and which gated action then works, access that reaches nothing gated closes Low
05

Link CSRF and forced linking

0 / 4
    • The attacker authorises their own IdP account, stops before the callback, and gets the victim's browser to load it; then the attacker logs in as the victim through that IdP
    • Only this forced linking is takeover; login CSRF alone (victim ends up in the attacker's account) is capped low unless you have a forced-login primitive or a self-XSS
    • A social login library treated two absent state values as a match, which allowed forced account linking and login CSRF
    • If it is a plain POST with a token that sits in the HTML of the page the victim sees, it is forgeable (an integration chat-link handoff bound the victim's account to the attacker's chat identity this way)
    • The user who starts the flow must be the user who finishes it; the same gap exists for chat bots where the link is posted in a channel, and a pre-granted client auto-authorizes with no consent screen
06

Linking authorisation and consent

0 / 4
    • A bearer-token path once skipped the group restriction that the browser OIDC flow enforced
07

Unlink and lockout

0 / 3
    • Disconnecting an external login provider left the session logged in, and a revoked session still answered on the GraphQL and mobile API
    • Also test password reset on the account that is left with no password, and whether the reset starts a password login that never existed
08

Lifecycle: email change and deletion

0 / 4
    • Adding an email needed no password and "forgot password" to the new address gave full takeover
    • Email reuse and reclamation on providers that verify emails makes an email-matched link reachable by a new owner of the address
09

Merge on login and wizard flows

0 / 4
    • Also check the local account's email must be verified and the IdP is authoritative for that email on the first SSO login
    • The step asking for the main account password lived at /login, but the same state was accepted at the merge step's own URL, skipping the prompt
10

Multiple accounts, IdPs and tenants

0 / 4
    • An exchange endpoint that called the provider's userinfo accepted tokens minted for any client registered with that provider; a backend that decodes an id_token and trusts email without checking aud is the same gap
    • An invite link was valid for any logged-in account instead of the invited email
    • A shared SSO dispatcher that takes the destination system as an id minted a session at a sibling system when the id was swapped
11

Confirm and report

0 / 2
    • Configuration-dependent flaws were rated Medium by the vendor itself, say which setting makes it reachable