Cleanup Is Not Cover-Up: Matching Deleted Text Beats an LLM Reading Agent Logs
Ayodeji Adesegun · Team discreet
Submitted to Swarm Alignment Hackathon. Sprint projects are early-stage work by participants, not Apart Research publications.
When AI agents can delete the files and logs a monitor reads, an operator must distinguish routine cleanup from a cover-up that deletes the same things. In our two-agent sandbox, agent A submits a report and agent B tidies up, while a hash-chained gateway the agents cannot reach records every tool call. In cover-up runs, A also sends a fictitious canary to an unlisted address, and each has an honest twin with the same deletions, cleared log, and unlisted call, but no leak. With llama3.1:8b agents, the pre-registered analysis had only 2 eligible pairs, and a logged deviation added 150 seeds, giving 12. A rule that flags at least 8 characters of deleted text in an unlisted request got 12 of 12 pairs right. A language model (qwen2.5:7b) reading the agents' log got 8% right (exact McNemar test, Holm-adjusted p = 0.003), and it flagged 84% of honest cleanup runs but only 17% of open leaks. That log named the leak in only 3 of the 12 cover-ups, capping any reader of it; given the gateway record, the same model got at most 8 of 12 right. Rules flagging any deletion or any unlisted call flagged 99% and 100% of honest runs. Agents said the rule still sent the canary unencoded. Scripted encoded or split leaks evaded it, and a provenance rule caught those but flagged 83% of honest runs. Operators should record payloads and deleted text at a gateway and audit cleanup against that record.
Reviews
The matched twin design is the best part of this. Every cover-up run has an honest twin that deletes the same file, clears the same log and makes the same unlisted call, so you can actually measure false alarms. It shows very clearly why rules like "flag any deletion" or "flag any unlisted call" don't work (99 to 100% false alarms). The takeaway for operators is concrete: record deleted text and payloads at a gateway and check cleanup against that. Preregistration, a logged deviation, a positive control and checking the hash chains are all good habits. It's also short and easy to read.
Some ideas for next steps. The main result rests on 12 eligible pairs because the 8B agents rarely finished the leak, so a stronger agent model would give you many more cover-ups per run. The comparison with M1 is a bit uneven since M1 reads a log the agents can edit. M1g, the same model reading the gateway record, is the fairer comparison and I'd put more weight on it. M4 is beaten right away by encoding or splitting the secret, so adding the decode and join step you already use for ground truth seems like an easy win, along with a test on paraphrased secrets. It would also help to say something about what recording payloads costs in a real system (encrypted traffic, storage, privacy).
Read full reviewShow less
Cite this project
@misc{adesegun2026cleanup,
title = {{Cleanup Is Not Cover-Up: Matching Deleted Text Beats an LLM Reading Agent Logs}},
author = {Ayodeji Adesegun},
year = {2026},
month = nov,
note = {Submitted to Swarm Alignment Hackathon, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/cleanup-is-not-coverup-matching-deleted-text-beats-an-llm-reading-agent-logs-5o5zxtpiib}},
url = {https://apartresearch.com/sprints/projects/cleanup-is-not-coverup-matching-deleted-text-beats-an-llm-reading-agent-logs-5o5zxtpiib}
}Browse all projects