How do I clean up after an AI agent has been compromised?
You need a record of every step the agent took, made at the time and kept where the attacker could not change it, and a way to follow the compromise forward from where it was planted. sebbi.pro Aftermath seals each agent step as it happens: inputs, memory writes and reads, tool calls with the exact tool description seen, handoffs to other agents, outputs and actions, each naming what it used. When a compromise is found, one call names the point of compromise (a step, a fingerprint, a memory entry, a tool, a source or an agent) and Aftermath traces everything it reached across memory, runs and agents. It reports when the compromise was planted, when it first acted and how long it lay dormant, which agents and runs it reached, and which irreversible actions it caused, listed first. Everything named is revoked at once, so any later step that tries to use it is refused, and each affected step is cleared as it is dealt with, so the clean-up is measured rather than guessed. Every step, the incident and each clearance are timestamped into Bitcoin.
How it works
- Get a key at https://sebbi.pro/aftermath.
- Call POST /x/aftermath/record for each agent step, with kind, a SHA-256 fingerprint and the ids of the steps it used.
- When you find a compromise, call POST /x/aftermath/incident with the point of compromise.
- Undo the irreversible actions listed first, then clear each step with POST /x/aftermath/clear.
- Share the public report at https://sebbi.pro/aftermath/<AM-code>.