Notes · Security

What AI agents changed about how Retrospective stores passwords

November 2026 · 3 min read

In spring 2026 we began moving Retrospective from its old Eclipse RCP interface to a new one, and we did much of that work with AI coding agents. The first lesson came quickly: an agent delivers what you need only inside a tight harness. Without one, it reads whatever it finds and does whatever seems useful.

That lesson came back when we talked about an MCP server for Retrospective. Agents could then work with log data through Retrospective, but read-only. To know whether that could be made safe, we had agents carry out an in-depth security review of the existing Retrospective.

The review showed a risk that doesn't need an MCP server at all. People run agents on their own machines more and more. It is easy to let an agent check a CI build; why not let it use the command line to reach the build server too? Is the account it uses read-only? And could an agent, given a prompt injection, get at the passwords Retrospective has stored? In 7.x that was not reliably prevented. That had to change.

Your user account Retrospective AI agent uses can read too Configuration stored passwords, encrypted Master password only in your memory
Anything that runs as you reaches the same files as Retrospective. With a master password, nothing on the disk opens the stored passwords.

We soon arrived at a master password. The only secret that is really safe is one that exists only in your memory. Keychains would have meant three kinds of infrastructure for Windows, macOS and Linux, and we didn't want to depend on any of them.

In 8.0 every stored secret is encrypted with a random key that belongs to this installation alone. When you set a master password, that key is protected by it, and nothing left on the disk opens the credentials. Retrospective asks for the password the first time it needs a credential, and every use is written to an audit log. Once we had chosen the approach, building it was straightforward.

Like any software that signs in somewhere, Retrospective has to hold a password in memory for the moment it uses it. That limit applies to password managers, browsers and SSH clients alike, and the manual describes it. Our aim is to make access as hard as we reasonably can. What adds most on top is outside Retrospective: host accounts that may read logs and nothing else.

Whether the MCP server gets built is not decided. You can already give an agent a read-only account and let it collect logs itself. On the other hand, Retrospective has much of the infrastructure, and an agent could multiply the value of its profiles, custom columns and exports. Agents in autumn 2026 are far better than they were in spring, and we keep thinking about what that means for a tool like ours.

The details, and the limits, are in the manual chapter Security.

All notes