Ato methodology

From PurpleAILAB/Decepticon · View interactive version

Ato methodology is an AI agent skill from the GitHub repository PurpleAILAB/Decepticon. Account Takeover decision tree — 9 canonical ATO paths, chaining patterns (IDOR→ATO, XSS→ATO, OAuth→ATO), MFA bypass entry points.

How to use this skill

Skill file

Account Takeover (ATO) Methodology

ATO is an outcome, not a vuln class. Reach it via 9 canonical paths.

1. Password reset flaws

2. Email change without re-auth

POST /api/users/me/email {email: ...} without verifying current password.

Or with verification but verification token leaks.

3. Session fixation

Server accepts attacker-set session cookie. Victim's actions bind to attacker's session.

4. JWT-based ATO

See skills/exploit/web/jwt/SKILL.md — alg confusion, weak secret, kid injection.

5. OAuth-based ATO

See skills/exploit/web/oauth/SKILL.md — redirect_uri bypass + open-redirect chain → code to attacker.

6. IDOR-based ATO

7. XSS-based ATO

Stored XSS on victim-visible page → exfil cookie / session token to attacker.

8. CSRF on critical state

9. MFA bypass

Chain table

| Primary vuln | Chain partner | Outcome |

|---|---|---|

| Open redirect | OAuth redirect_uri allowlist | OAuth code → attacker → ATO |

| XSS (reflected) | session cookie not HttpOnly | Cookie exfil → ATO |

| XSS (stored) | victim views page | Cookie / session-storage exfil → ATO |

| IDOR on email change | reset flow | Change victim's email, reset, login |

| CSRF on password change | predictable URL | Phishing email triggers password change |

| Predictable reset token | weak RNG audit | Generate victim's token offline → reset |

| OAuth state missing | account linking by email | Attacker pre-creates account, links victim's OAuth → ATO |

| JWT alg=none | server accepts | Mint admin JWT → ATO |

| Email change w/o re-auth + ATO of email | full account graph | Standard playbook for multi-tenant SaaS |

Decision tree

Has user MFA enabled?
├── No → Standard password-reset attacks (paths 1-3, 6, 8)
└── Yes →
    Bypass MFA available?
    ├── Yes (path 9) → MFA bypass → standard reset
    └── No → Look for paths 5, 7 (OAuth, XSS) that bypass MFA by design
              OR path 4 (JWT) that doesn't touch the MFA flow
              OR account-linking via OAuth (path 5) which often skips MFA

PoC framing

Every ATO PoC should:

Severity

ATO is always Critical (9.8-10.0) when fully achieved. Severity downgrade only when:

Cross-references

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.