Black Hat Europe 2026 Arsenal · Wednesday 9 December, 14:30 to 15:50 · Business Hall, Station 4

The agent's log next to what the Mac saw.

Claude Code's transcript lists the tool calls it made. RawTrail records what those calls started, from macOS Endpoint Security and a network extension, and puts the two side by side. In the 3-minute demo, the agent ran 3 commands and the Mac ran 81 processes. One of them went looking for an SSH deploy key.

Watch the 3-minute demo Star it on GitHub

Watch the 3-minute RawTrail demo on YouTube: 3 tool calls, 81 processes, what my AI agent actually did

Try the demo

The demo runs the server, UI and detection pipeline in Docker on any machine, with sessions recorded on real Macs. It shows recorded activity, not live capture.

git clone https://github.com/rawtrail/rawtrail.git
cd rawtrail
docker compose -f docker-compose.demo.yml up

Open https://localhost:8088/ui/, accept the self-signed certificate warning, and sign in with demo@rawtrail.local / demo. Under Agent sessions you'll find four Claude Code sessions. One is a prompt injection from a poisoned repository: the agent's log shows 3 tool calls, the Mac saw 21 processes, and the credential guard blocked its open of an SSH key.

The demo uses checked-in dev secrets, so keep it on your machine. More in the demo guide.

Watch your own agent

On an Apple Silicon Mac with macOS 26 or later and Docker, the server and the agent run on your laptop and nothing leaves it.

git clone https://github.com/rawtrail/rawtrail.git
cd rawtrail
scripts/laptop/rawtrail-laptop install

The console walks you through the approvals macOS asks for. Start a Claude Code session and open Agent sessions. rawtrail-laptop uninstall removes all of it. What it records and how to remove it: watch-your-agent.md.

How it works, and what it misses

  • Processes and files: a system extension subscribes to Endpoint Security for exec, fork, exit and file opens. Connections and DNS: a separate network extension, attributed per process. Both ship in a Developer ID signed, notarized package.
  • The agent's side: a Go agent reads Claude Code's session transcripts for the prompts, tool calls, models and permission modes. Recognizable credentials in prompts are replaced before they're stored, and prompt capture can be turned off.
  • Tying it to a session: every process descended from the Claude Code process, plus jobs it handed to launchd through open or launchctl, which are linked by timing and target rather than lineage.
  • Credential guard: a credential file opened by anything other than its own tool, judged by code signature, raises an alert. ssh reading a key for git push is not reported. Protect mode denies the open.
  • What it misses: Claude Code only for now. Apple Silicon and macOS 26 or later. A local admin with root can interfere with it, as with any endpoint agent. CPU and disk overhead over a working week are not measured yet; an idle laptop stack uses about 450 MB of memory. Protect mode also refuses unsigned Homebrew builds of gh, kubectl and awscli (#1585).

Using agents at work?

hello@rawtrail.io Tell us what your agent did

RawTrail also deploys to a team's Macs through any MDM, reporting to a server you host (how it deploys). Victor is looking for up to three design partner teams to run it at work and tell him what is missing: the evaluation guide has what to install, where the data goes, and the terms. Write to him, or post a session you found surprising in the GitHub discussion.

Open source under MIT. Pre-1.0. Session tracking covers Claude Code today.