# Auto-MFA Clipboard Thief (For Lazy Logins)

**URL:** <https://onehack.st/t/auto-mfa-clipboard-thief-for-lazy-logins/307698>\
**Category:** Tools & Scripts\
**Tags:** tools, programming, email\
**Created:** [July 2, 2025, 2:56pm UTC](https://onehack.st/t/auto-mfa-clipboard-thief-for-lazy-logins/307698 "2025-07-02T14:56:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SRZ](https://onehack.st/user_avatar/onehack.st/srz/32/146132_2.png) [@SRZ](https://onehack.st/u/SRZ)\
**Post date:** [July 2, 2025, 2:56pm UTC](https://onehack.st/t/auto-mfa-clipboard-thief-for-lazy-logins/307698/1 "2025-07-02T14:56:11Z")

</div>

### 🧠 What It Does

Watches your Gmail. Sees a 6-digit code. Grabs it.  
Then politely drops it in your clipboard before you even blink.

Basically: Apple-style SMS autofill… but for emails… on desktop… with attitude.

**Quick Steps:**  
Install ➜ Connect Gmail + AI brain ➜ Boom, code’s in clipboard

[https://raw.githubusercontent.com/yahorbarkouski/auto-mfa/main/assets/demo.gif(image larger than 4 MB)](https://raw.githubusercontent.com/yahorbarkouski/auto-mfa/main/assets/demo.gif)

* * *

### ⏱ Setup Guide (Even Your Sleep-Deprived Brain Can Follow)

1. **Install Python 3.9 or newer**  
(Old Python? It sulks and refuses to work.)

2. **Run these in terminal**

3. **Start the wizard:**

4. **Optional Bonus Round:**

* * *

### 🧠 What’s Really Going On

Behind the scenes, it stores your Gmail keys and settings in:

- `~/.automfa/` (basically a digital sock drawer full of secrets)
- Includes your tokens, config, accounts, and LLM choice
- If you’re fancy, you can edit things with a `.env` file—no need to restart setup

* * *

### ⚙ What Makes It Cool

- Works with local or online AI (Ollama or OpenAI)
- Handles many Gmail accounts
- Works on Mac, Windows, and Linux
- Keeps your Gmail clean and only sniffs for MFA emails
- Gives you one global command: `automfa`
- You press a button, and it does the smart thing™

 ![image](https://onehack.st/uploads/default/original/3X/9/6/960d1d63d247ca02e76a65009911ceccf62cda02.jpeg)

* * *

### 🚨 Warnings (Because Life Isn’t Perfect)

- Gmail API limits: Poll too often and Google gives you the silent treatment
- Your settings are encrypted… but anyone with your laptop can still get them. So don’t lose it.
- No support. No help desk. No guarantee. If it breaks, go cry in the terminal.

* * *

### 🧪 Reality Check

- It’s new. Not many stars. No updates yet. No one holding your hand.
- Gmail is slowly ditching email-based MFA for passkeys and push prompts. This trick might become vintage soon.
- It’s a tool for today. Use it before Google bans fun.

* * *

### 🧷 Download It Here (But Don’t Tell Anyone)

- **Code + Instructions:**  
[https://github.com/yahorbarkouski/auto-mfa](https://github.com/yahorbarkouski/auto-mfa)

* * *

### 🧻 Final Thought

Don’t waste 15 seconds staring at an email and typing 6 digits like a caveman.  
Use this. Let your keyboard pretend you’re smart.

OTP? Already in clipboard. Stay slow, peasant.
