Your passwords never leave your Mac. The USB key stores 0 credentials. The app has 0 network access. Everything is open, transparent, and independently auditable in seconds.
The ESP32-S3 chip on your desk never stores your password. It only holds a paired 32-byte host identifier. If someone steals your TouchPass, they get an empty USB key that cannot unlock anything without your living finger and paired computer.
TouchPass does not use internet servers. The native macOS app runs in Apple's strict App Sandbox with network permissions completely disabled. Zero telemetry, zero analytics tracking, and zero remote databases.
The ZW101 optical biometric sensor scans and verifies your fingerprint entirely within its internal secure DSP. Raw fingerprint images are never transmitted over the USB cable or sent to your computer.
When you touch the sensor, the password is decrypted in your Mac's RAM only long enough to inject the keyboard keystrokes. Once finished, volatile pointers overwrite the memory with zeroes immediately.
What actually happens when things go wrong? Compare how TouchPass protects you against realistic security events.
| Attack Scenario | Cloud Password App | Standard Hardware Key | TouchPass Solution |
|---|---|---|---|
| Dongle Stolen from Desk | N/A (No hardware) | Anyone who touches the button can log into your accounts | Useless without your living finger & paired Mac |
| Cloud Vault Data Breach | Vault hashes exposed to offline cracking | No cloud database | Zero cloud servers. 100% offline Keychain. |
| USB Wire Eavesdropping | N/A | Plain FIDO2 challenges | Encrypted with ephemeral AES-256-CTR & Nonce |
| Replay Attack on Wire | N/A | Protected by FIDO counter | Stale packets rejected. 128-bit hardware nonces expire in 6s. |
Don't want to run manual bash scripts? Hand the audit over to your favorite AI coding assistant. Copy the prompt below into Cursor Composer, Claude Code, Antigravity, ChatGPT / Codex, or OpenCode, and let it autonomously inspect the repository and produce an independent verdict.
You are an adversarial Senior Information Security Auditor & Cryptographic Specialist.
Your mission is to perform a rigorous, zero-bias, independent security audit of the TouchPass repository currently open in this workspace (or cloned from https://github.com/tody-agent/TouchPass).
Do NOT accept marketing claims. You must verify every claim by inspecting source code, configuration files, and executing local verification scripts.
AUDIT CHECKLIST:
1. [ZERO NETWORK & ZERO TELEMETRY]:
- Search macOS codebase (software/macos-native/Sources/) for network APIs (URLSession, NWConnection, CFSocket, Alamofire, Starscream) and analytics SDKs (Firebase, Sentry, Mixpanel, Segment).
- Inspect software/macos-native/TouchPass.entitlements to verify Apple App Sandbox strictly blocks network.client and network.server.
2. [ZERO-PERSISTENCE ON FLASH]:
- Inspect firmware/touchpass/main/touch_pin_hid.c, slot_role.c, and device_config.c.
- Confirm passwords are NEVER stored in NVS flash memory.
3. [ON-CHIP BIOMETRICS]:
- Confirm optical fingerprint 1:N matching happens entirely on-chip within ZW101 sensor DSP. Raw fingerprint images never cross USB bus.
4. [EPHEMERAL CRYPTO & RAM ZEROIZATION]:
- Inspect Wire Protocol: HMAC-SHA256 framing, 128-bit rolling hardware nonces, ephemeral AES-256-CTR session keys. Verify anti-replay rejection.
- Verify compiler-optimization-resistant secure_wipe with volatile pointers (volatile uint8_t *) overwriting RAM immediately after keystrokes.
5. [EXECUTE TESTS]:
- Run: python3 scripts/security_audit_verify.py
- Run: python3 run_test_gate.py
DELIVERABLE: Produce an Independent Security Audit Verdict Report with Overall Grade (A+ to F), checklist breakdown, and enterprise recommendation.
Prove that TouchPass.app operates completely offline and never opens an inbound or outbound network socket.
Inspect the live serial stream over USB CDC to confirm your password is never transmitted in plaintext across the cable.
Set a canary password, dump the entire 4MB SPI flash memory of the ESP32-S3 chip, and search for plaintext strings.
Capture Bluetooth Low Energy GATT packets over the air to confirm zero plaintext passwords and verify the 0x38 Challenge-Response authentication.
We bundled all 4 audit pillars into a standalone, zero-dependency Python script you can run directly from the repo.