For security teams

Evaluate RawTrail on your team's Macs.

Your developers run Claude Code on their Macs, and its transcript lists only the tool calls it made. RawTrail records what those calls started, from the operating system, and ties it to the session and prompt. This page says how to try it on a handful of developer Macs without an MDM, and what you get if you do it with us.

Email hello@rawtrail.io Design partner terms

What you install

  • A server you host. One Linux VM with Docker: a 2 vCPU, 4 GB instance is comfortable for a pilot, and one script sets up TLS with Let's Encrypt (quickstart-vm.md). It runs MySQL, ClickHouse, the RawTrail server and Caddy. Size the disk for events: a busy host can add many GB a day, and raw events are kept 30 days unless you change it.
  • An agent on each Mac. Apple Silicon, macOS 26 or later, admin rights. A Developer ID signed, notarized .pkg from the releases page, with a Sigstore bundle if you want to check where it was built. You write /etc/rawtrail.conf with the server URL and enroll secret, run the installer, then approve two system extensions and grant Full Disk Access by hand (install-agent-manual.md). With an MDM, three profiles make those approvals silent (mdm-deployment.md).
  • Network. The Macs reach the server over HTTPS; Caddy listens on 80 and 443. The agent can pin the server's certificate by fingerprint (EDR_SERVER_FINGERPRINT). If the server is down, each Mac queues events in a local SQLite database and uploads them when it returns, up to the queue's cap.
  • Removing it. uninstall.sh on each Mac removes the agent, both extensions, its queue and its log, with a user logged in at the console; macOS may need a reboot to finish. It keeps /etc/rawtrail.conf, which holds the enroll secret, so delete that too and revoke the host's enrollment on the server. On a Mac whose extensions were approved by an MDM profile, remove the profile first.

Want to look before you install anything? docker compose -f docker-compose.demo.yml up from a clone runs the full UI with recorded sessions (try the demo).

What it records

  • Processes and file opens from Endpoint Security: exec, fork, exit and open, with code-signing details and file hashes.
  • Network connections and DNS from a network extension, attributed to the process that made them.
  • The agent's side from Claude Code's session transcripts: the prompts people typed, the tool calls, the model, token counts and the permission mode (for example bypassPermissions).
  • Agent sessions. Each session shows what the agent's log reports beside what the Mac ran, a timeline per prompt, and the process tree with files, connections and DNS lookups.
  • Credential guard. An alert when a process in an agent session opens an SSH key, ~/.aws/credentials or the AWS SSO caches, the GitHub CLI's hosts.yml, ~/.netrc, ~/.docker/config.json or ~/.kube/config with anything but that file's own tool, judged by code signature. In detect mode the open goes through and you get the alert. In protect mode the open is blocked.
  • Activity outside agent sessions too: RawTrail is a macOS EDR underneath, with behavioral detection rules mapped to ATT&CK, application control and process kill (detection-rules.md).

What it misses

  • Sessions are recognized for Claude Code only, by the markers it sets in the environment of the commands it runs. Codex and other agents are not tracked as sessions yet.
  • Apple Silicon and macOS 26 or later only. No Intel, no Linux or Windows endpoints.
  • If the agent falls behind during a burst, such as a large build, it drops events and the host page shows Event capture as Degraded, with how many were dropped.
  • Overhead on a developer Mac over a working week is not measured yet. An idle single-laptop stack uses about 450 MB of memory.
  • Homebrew builds of credential tools such as gh, kubectl and awscli are not vendor-signed, so the credential guard does not see them as the file's own tool: an alert in detect mode, a blocked open in protect mode, until you exclude them by cdhash or path (#1585). Start in detect mode.
  • It is pre-1.0.

Where the data goes

  • Each Mac sends its events to the server you host, with no SaaS dependency. OpenTelemetry export, on the agent and on the server, is off until you point it at a collector of your own.
  • The agent sends the prompts people typed. Recognizable credentials (cloud and API keys, tokens, private keys, passwords in URLs) are replaced with a placeholder on the Mac before sending, and a prompt is cut to 16 KiB. The redaction works by the shape of known credentials, so a prompt can still hold other sensitive text, and a short unquoted value such as DB_PASSWORD=hunter2 is sent as typed.
  • An admin can turn prompt capture off for every Mac in Admin settings > Data collection, or set EDR_CAPTURE_PROMPTS=0 on one Mac before installing. Commands and tool calls are still recorded, and so are token counts, the model and the permission mode. A new agent sends no prompts until it has received the setting, within minutes of enrolling.
  • Sign-in to the console is OIDC single sign-on or a passkey break-glass path, with five roles and an append-only audit log.

What to look at in week one

  1. Day one: every Mac shows up under Hosts, and the setup checklist at /ui/setup?host=<host id> is done for each. A missing Full Disk Access grant shows in red; until it is granted, that Mac records no process or file events.
  2. Agent sessions: pick a few ordinary sessions and compare the tool calls in the log with the processes the Mac ran, each tied to the prompt that led to it.
  3. Credential guard alerts: expect a few from people asking their agent to work on their own SSH or cloud setup. The session's prompts say what was asked.
  4. Permission modes: each session records the mode it ran in. Note which ran in bypassPermissions.
  5. Disk on the server after a week, so you can size retention before adding Macs.

Do it with us: design partner terms

Up to three teams run RawTrail at work for eight weeks and tell Victor what is missing. It is free.

  • Your side: a named owner, and RawTrail on at least five developer Macs within two weeks.
  • Every two weeks: a 30 minute call about what you saw and what is missing. A request is input, not a promise to build it.
  • Your data stays on your server. Victor sees only what you show on the calls.
  • If it worked, a quote or your team's name, published only with your approval.
  • At week eight, both sides decide on paid support, or part.

To start, email how many Macs you would begin with, which agents your developers use, and whether you manage the Macs with an MDM. We write the terms down in a one-page note.

Email hello@rawtrail.io Read the code on GitHub

Open source under MIT. Session tracking covers Claude Code today.