AI agents can do a lot of things now. From making API calls, to triggering deployments. If an attacker has compromised the laptop, the same is true. So, here's the question: did an authorized human intend this specific action?
voyt-kahmpf is the device they created to tell humans apart from synthetic replicants in Blade Runner so they used it for the name. For high-impact workflows, it verifies that an authorized person in the real-world performs a physical action before an operation is allowed. On macOS, this is simple Touch ID.
They had specific goals about what an approval meant:
- Be tied to a specific action. Not just a generic "yes".
- Require physical user presence.
- Be fast, unlike many modern security controls.
The design they came up with for GitHub consists of a server and a background macOS client. During registration, the client creates a P-256 signing key in the Mac's Secure Enclave, which cannot be exported. This should require Touch ID to unlock. For each approval, the client signs a payload that the macOS local client is requested to provide by the GitHub operation.
Here's the full flow for reviewing a PR:
- Reviewer approves PR but needs to sign off with the mechanism described above.
- GitHub sends a webhook request to the server.
- Server verifies the request and sends a message to the thick client.
- Touch ID prompt is shown about the PR. The user confirms or denies the request, and the client sends a response back to the server.
- Server verifies the signature and updates the GitHub status.
Requiring human intervention for sensitive actions is a good idea. I wonder how phish-proof this method is once the attacker has access to the computer?