toge

Security

How toge keeps pages away from your files, your agent and your machine.

toge assumes the pages it shows can’t be trusted. Agent-made pages load scripts from the internet and paste in raw data, and either could be hostile. So a page gets no power over your files, your agent, or toge.

The page runs in a box

What you open (127.0.0.1:4747/p/<id>/) is toge’s own page: the bar, pins, threads, Send and Share. The page you’re reviewing sits inside it, in a frame served from a separate port (127.0.0.1:4749) at a secret address.

Only your CLI can act as you

Opening files, replying as the agent, taking comments and stopping toge all need the owner key in ~/.toge/key, which only you can read. The CLI and the agent plugins send it; no web page can get at it.

The main port

What the agent reads

Each comment is quoted line by line in what the agent receives, so one comment can’t pretend to be another, or to be you. Comments from people you shared with are marked untrusted, and the agent is told to treat them as suggestions, not instructions.

Sharing

Your data

Everything lives in ~/.toge, which only you can read: your pages and threads (state.json, plus a backup of the last save), published copies, the owner key, your settings, the Worker’s address and secret, and the log.

What it doesn’t protect against