DET-175 · agent · confidence Medium
Agent Log and Transcript Deletion
Detect deletes or truncation of agent transcripts, logs and memory stores.
Agent transcripts and tool-call logs are evidence. EDR file events on their known paths, and memory store API audit events for delete or clear calls, show when they disappear. Comparing local records with a central copy catches edits as well as deletes.
Agents that delete their own logs as part of a task may be following a user request, so check the transcript of the deleting session. Deletion right after a sensitive action deserves the closest look.
- Data sources
- EDR file eventsAgent platform audit logsCentral log pipeline
- Platforms
- macOSWindowsLinuxAI Platform
Logic
1. File delete or truncate events on `~/.claude/projects/**/*.jsonl`, `~/.cursor/**/logs`, `~/.codex/sessions/**`, and the agent's configured log directory. 2. Memory API events with action in (delete, clear, reset) where the caller is the agent identity. 3. Nightly: count sessions in central logs vs local files per host; alert on gaps.
False positives
Users clearing old sessions to free disk space, and retention jobs.