Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

SECURITY.md: sign-in links are one-time now; warn about approving other devices

Ada (kwant bot)c19a01f594ce
diff --git a/SECURITY.md b/SECURITY.md
index 495db157..90a456eb 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -38,4 +38,5 @@ Out of scope:
## Known limitations
- **Autofill with approvals off.** Saved-password autofill stays on while approvals are off. Chrome's DevTools port listens on loopback without authentication, so a bot with a shell can attach to it and read a field kwant has just filled. This applies to the built-in store and to Bitwarden. The planned fix is to start Chrome with `--remote-debugging-pipe`. Until then, keep approvals on for bots that use saved passwords. See [docs/saved-passwords.md](docs/saved-passwords.md).
-- **The sign-in link is a bearer token.** The `#kwnt_token=…` link that `kwnt serve` prints signs in as you. Anyone who can read the server's output or logs can use it. Serve kwant over HTTPS when it's reachable from another machine.
+- **Sign-in links in the logs.** The `#kwnt_token=…` link that `kwnt serve`, `kwnt signin-link` and `kwnt token` print works once and expires after 15 minutes. Until it's used, anyone who can read the server's output or logs can use it instead of you. You'd then see "used or expired", and their session shows under Settings → Signed-in devices, where you can sign it out. The API token itself (`kwnt token --raw`, `~/.kwnt/api-token`) never expires, so keep it private. Serve kwant over HTTPS when it's reachable from another machine.
+- **Approving another device.** Approve a "New device wants access" request only if its code is on a screen you're holding. If someone asks you to approve a code, deny it.