Duo Founder Shows How to Automate a YubiKey for Agentic Logins

vincent_koc · x · 2026-10-25

Jon Oberheide, founder of Duo, published a new post on automating a YubiKey for agentic logins. The backdrop: agents increasingly need to log into legacy web portals that lack APIs or MCP, forcing interactive login plus scraping. Handing a username/password to an agent is easy, but 2FA steps (TOTP, SMS, push, security keys) are designed for human interaction and painful to automate.

He built a fun (and unfortunate) workaround that automates the YubiKey touch confirmation so agents can complete security-key 2FA. The post also touches on CAPTCHAs and anti-bot friction for agents—part of the larger debate over designing the web for agents vs. humans.

Original post →

More from coding & agent

coding & agent channel →