PassBridge
The local AI finds the field. The device types the secret.
DT IT Hackathon 2026 · Challenge 5 "Make It Disappear" · team DEADBEEF
PassBridge is a smart password wallet you can hold. It keeps your passwords, 2FA codes, payment cards and an SSH key, and a local AI on your computer fills in logins and forms for you. You confirm each fill with one button, and your stored secrets never leave the device except as the keystrokes it types.
Source of the Devpost story. Devpost's "About the project" field takes Markdown, so the sections can be pasted as they are.
Inspiration
- We retype the same things every day: passwords, codes from the phone, card numbers, VPN passphrases.
- Browser managers stop at the browser. Cloud vaults put everything behind one online account.
- The clipboard shares what it copies with every app.
- We wanted the hassle gone without giving a secret to the computer or to an AI.
What it does
- A small USB device with an e-paper screen and four buttons keeps the secrets.
- Press
Ctrl+Alt+P. The local AI reads the window and tells the device which fields to fill: site, page kind, field types. No values. - The device checks the exact site, shows it on its screen and waits. Hold B4 and it types the values itself as a USB keyboard.
- B1, or 60 seconds without a press: nothing is typed.
The same gesture covers:
- Login: user name, password, Enter.
- 2FA: the code comes from the device clock, no phone.
- Multi-step sign-in: login, password and 2FA pages with one hold (up to 5 pages, 180 s, same site).
- Forms: name, address, contacts. Typed, never submitted.
- Payment card: the screen shows the full shop address and •••• 1234. The device types holder, number and expiry. No CVV stored, Pay never pressed.
- SSH: the device is also a smart card (PIV). Every signature needs a hold.
- Change password: the device makes the new password and keeps the old one until you confirm.
- Manual mode: no software at all. Pick an entry on the device, press TYPE.
What the device does on its own:
- Binds every login to the exact host. A look-alike page gets "BLOCKED, nothing was typed".
- The AI's phishing hint can only make it stricter, never looser.
- Types secrets two characters at a time; typing stops if the focus or the site changes.
- No command ever returns a stored password, 2FA seed or card number.
- Three wrong PINs erase the vault. Locks when idle or when USB goes away.
Also on the device: password generator, encrypted backups with six recovery words, fill history, expiry warnings, a QR code of the site address, CPU/RAM of the computer on the idle screen, time zone, and a tiny Tetris.
Desktop app: vault editor, fill history, backups, device settings, clock sync, notifications, setup wizard, mock mode without hardware.
How we built it
- Device: STM32C5 NUCLEO board, 2.9" black/white/red e-paper, four buttons. Firmware in C.
- Crypto on the chip: AES-256-GCM vault, hardware key that never leaves the chip, TRNG, P-256 for the smart card.
- USB: keyboard, serial link, read-only drive while unlocked, smart-card reader.
- Local AI: accessibility tree first, OCR as fallback, then a small Qwen3 model through llama.cpp on the CPU. Its answers are limited to fixed lists.
- Our own field classifier: field accuracy on unseen wording from 70.6% to 79.9%, 0.28 ms per field.
- Encrypted link: ECDH P-256 pairing with a six-digit code on the e-paper, AES-256-GCM frames. Built and tested, off in the demo build.
- App: daemon
passbridgedwith a local web UI, Python. - Demo: 16 fictional sign-in sites plus look-alikes, live on a public server.
- Tests: firmware tests on the host, fuzzers for the link and the smart card, a 109-check attack test of the app API, end-to-end runs on the board that check what the keyboard really typed.
Challenges we ran into
- A web page can try to instruct the model. So the model only picks from fixed lists, and the device has the last word.
- Typing as a keyboard is fragile: layouts, modifier keys, apps that drop fast keystrokes.
- Our pairing had a weakness (the six digits could be ground). Fixed with commit-then-reveal.
- E-paper is slow. We use partial refresh and keep screens simple.
Accomplishments that we're proud of
- The AI never gets a stored secret. The plan has no value field.
- One gesture for login, 2FA, forms and cards, in the browser and other apps that take a keyboard.
- A real PIV smart card in the same device: OpenSC sees it, SSH works, the key never leaves the device.
- Measured focus attack on the board: 0–1 characters reached the wrong field, against 15–18 before chunked typing.
What we learned
- Split the system so the AI and the vault do not have to trust each other.
- Small local models work when the screen is described well.
- Measure the leak; do not claim zero.
What's next for PassBridge
- Shared admin accounts for teams, and a management console built on the desktop app.
- Encrypted link on by default, signed firmware.
- A real board with readout protection and a secure element; battery, pocket size.
- More keyboard layouts.
- FIDO2, phone support, VPN profiles on the USB drive.
- For teams: a pilot with a few Linux admins, then inventory, policy and audit export.
Built with
c · stm32 · arm-cortex-m33 · e-paper · aes-256-gcm · totp · usb-hid · ccid · piv · opensc · python · llama.cpp · qwen3 · tesseract · at-spi · raspberry-pi · uconsole
Try it out
- Source: https://github.com/xdexad/PassBridge
- Releases (app package and demo firmware): https://github.com/xdexad/PassBridge/releases
- Security and demo steps: in the README, https://github.com/xdexad/PassBridge#security
- No hardware:
passbridge daemon --mock --openafter./install.sh.
Prototype on a development board, Linux only, US keyboard layout. Not for real secrets yet.
