claw

Security

Anyone holding an agent's token can run Claude Code on that machine, with that machine user's permissions. Treat tokens like SSH keys.

What protects you today

What doesn't

Rotating a token

Stop the agent, delete its agent.token (see Configuration), start it again, and update hosts.toml wherever it's used.

The web UI (clawsh web)

clawsh web holds every token in hosts.toml, so it guards itself:

It does not protect against software already running as your user on that computer, which could read hosts.toml anyway.

Edit this page on GitHub