{"success":true,"name":"protect-high-value-accounts-with-mfa-and-login-alerts","description":"App has admin accounts or accounts controlling money and data","category":"ai-brimind","path":"ai-brimind/protect-high-value-accounts-with-mfa-and-login-alerts/SKILL.md","file":"SKILL.md","content":"---\nname: protect-high-value-accounts-with-mfa-and-login-alerts\ndescription: \"App has admin accounts or accounts controlling money and data\"\n---\n\n# Protect High-Value Accounts With MFA and Login Alerts\n\n## When to use\nYour platform has accounts whose takeover would be serious (admins, sellers, finance), and login is currently protected by a password alone.\n\n## Example request\nAdmin accounts use only a password → passwords get phished and reused from other leaks; a second factor turns a stolen password into a failed login (multi-factor authentication). Building your own SMS code system from scratch → auth providers and libraries ship TOTP/passkey support ready-made; integration beats invention (use proven mechanisms). No message when someone logs in from a new device → users discover takeovers weeks later; a 'new login' email turns them into your detection system (login notifications). MFA offered but nothing nudges admins to enable it → optional security stays unused; require it for privileged roles (enforce where it matters).\n\n## Instructions\nAct like a defender who assumes some user passwords are already in leaked databases — because statistically, they are. Rank the accounts by damage on takeover: admins, finance, sellers, support with user access. For those tiers, add a second factor using an established mechanism — authenticator-app TOTP, passkeys, or your auth provider's built-in MFA — and never invent your own code-generation or verification scheme. Enforce MFA for privileged roles rather than politely offering it, and design the recovery path carefully, because backup codes and reset flows become the new weakest link if they bypass the second factor. Add detection alongside prevention: notify users by email on login from a new device or location and on password/MFA changes, with a clear 'this wasn't me' action. Rate-limit and expire verification codes like any guessable secret. If an identity provider already handles all of this, wiring it in is the correct engineering, not a shortcut. Only conclude once every high-value role requires a second factor and generates login alerts, and explain how this converts 'leaked password' from a full breach into a blocked attempt plus a warning.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #572\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}