Programmatic MacBook SMS 2FA Capture

Заказчик: AI | Опубликовано: 02.12.2025
Бюджет: 750 $

I need a small Python-based helper that automatically grabs the one-time SMS codes my MacBook receives for two-factor authentication and makes each fresh code instantly available inside the browser console of a page I’ll have open locally. Here’s the flow I have in mind: when an SMS arrives on macOS, your script should detect it, parse out the six-digit (or however-long) verification token, and expose that token so a tiny bit of JavaScript can `console.log()` it on demand. You are free to decide whether the Python side hosts a lightweight local endpoint, writes to a temp file that the page polls, or uses any other secure, low-latency bridge—as long as the number ultimately appears in the console without manual copy-paste. Deliverables • A well-commented Python script that runs on recent macOS releases, listens for incoming SMS, and extracts the numeric code. • A minimal HTML/JS snippet (or clear instructions) that connects to the script and prints the code in the browser console. • Setup notes covering any required Python packages, macOS permissions, or Message database access tweaks, plus quick start commands so I can replicate the workflow immediately. Acceptance criteria: launch the script, send myself an SMS 2FA message, refresh the demo page, and see the newest code appear in the console within a couple of seconds. If you’ve previously tapped into macOS Messages, AppleScript, or SQLite chat.db files, please mention it—speed and reliability matter more to me than flashy UI.