Open source Self-hosted Apache-2.0

Every agent action, on the record.

Attestyx records what Claude Code, Codex and other coding agents do on each laptop, scores every session on your own server, and flags the ones that put credentials, data or systems at risk.

Claude Code and Codex are verified live. See all agents

Looping animation of three sessions from the demo dataset. An agent's steps leave the laptop as cards, Attestyx records each one, the risky steps are linked into a trail, the trail is stamped CRITICAL and the session drops into the Needs review list. First: the agent runs cat .env (rule R04), then posts the contents to a paste site (rule R01). Trail C01: a secret was read, passed on and sent to another host. Second: a README holds a note addressed to AI coding agents, and the agent then writes .mcp.json (rule R33). Trail C05: the agent acted on an instruction found in content. Third: the agent adds .env.staging to git (rule R27) and pushes it. Trail C04: a secret file was added to git and then pushed.

Coding agents run commands, read files and call tools all day. Attestyx puts every step on the record, links the risky ones into a trail, and hands your security team the evidence.

How it works

Collect. Score. Review.

  1. Collect on the laptop

    The attestyx collector is a single program of about 10 MB. A pass-through proxy records model traffic, and a session reader tails the transcripts each agent already writes. Credentials are redacted before anything is stored.

  2. Score on your server

    Your server rebuilds each session into turns and scores every turn in three layers. No LLM is called.

    How it works in detail

  3. Review in the dashboard

    Flagged sessions, riskiest first. Each alert shows the rule that fired, the exact command with secrets masked, and the chain of steps behind it. Confirm threats or mark false positives. Every admin action is in the audit log.

    Open a flagged session in the live demo

Severity

Rules decide. Models only add clues.

  1. Rules and trails decide severity.
  2. A model clue alone never raises a session above MEDIUM.
  3. No model ever lowers a severity.

How severity works

  1. CRITICALHarm is very likely.
  2. HIGHA dangerous action on its own.
  3. MEDIUMWorth a look.
  4. LOWNormal work. Recorded, not alarmed.

A model clue alone stops here

Detection coverage

What it looks for

Coverage by area and the full rule reference

  • Secrets

    Reads of .env, SSH and cloud keys, keychains and password managers. Secret values shown to the AI. Secret files committed.

    R03R04C01C04

  • Data leaving

    Uploads, paste and webhook sites, tunnels, messages and emails, database dumps sent out.

    R06R07R24C07

  • Destruction

    Recursive deletes, dropped tables, cloud and cluster deletes, force-pushes, discarded uncommitted work.

    R09R10R11C08

  • Prompt injection

    Instructions in web pages, files, MCP results and skill text, and whether the agent then acted on them.

    G01M10C05

  • Remote code

    Scripts downloaded and piped to a shell, downloaded binaries run, packages from swapped registries.

    R08R35C06

  • Persistence and access

    SSH keys, cron jobs, services, shell profiles, git hooks, sudo, reverse shells, open firewall rules.

    R13R20R21R29

  • Weakened safety

    Disabled tests, linters and CI checks, --no-verify, history and log wipes, stopping the monitor itself.

    R15R16R17R23

  • Agent configuration

    New MCP servers, hooks or permissions added to an agent's own settings.

    R33

  • Tool governance

    Approve or deny the skills, plugins and MCP servers each agent loads.

    R19

Skills, plugins and MCP policy

Decide what each agent may load. Report it, or block it.

The server keeps a review state for every skill, plugin and MCP server it has seen, per agent: approved, denied or unreviewed.

Default

Report mode

Nothing is stopped. When a request loads a denied item, the collector stores a finding and the request goes on to the provider.

reportedThe request went through.

Optional

Block mode

The proxy reads the request first. If it loads a denied item, the proxy answers locally and the request never reaches the provider.

blockedRefused on the laptop.

  • The collector downloads the policy at start and then every 60 seconds.
  • It fails open: with no cached policy or an unrecognised agent, the request goes through.
  • Both modes were tested live with Claude Code and Codex.

How the policy works

Bypass detection

A session that skips the monitor still shows up.

The session reader compares the agent's own session files with what went through the proxy.

  • Session Aon disk, and seen by the proxyproxied
  • Session Bon disk, never seen by the proxyBYPASSED
  • Session Cagent with no verified join keyunmatched

Claude Code is checked per request, Codex per session. Both are verified. To prevent bypass, IT can enforce routing through each agent's managed settings.

How bypass detection works

Secrets

Hidden by default. Reveal is audited.

Secrets that appear in agent activity are masked in the dashboard.

DEPLOY_TOKEN=••••••••••••••••

Masked. Nobody has revealed this value.

The collector redacts authorization headers, API keys, cookies and ?key= parameters before storage. Revealing a masked secret is an audited action.

Privacy and security

Self-hosted

Agent conversations are sensitive. They stay on your server.

Attestyx stores what your developers and their agents said and did. So it runs on your own infrastructure, and nothing is sent to a third party.

  • No LLM is called.Fixed rules and two small classifiers that run with ONNX Runtime on the server's CPU. No GPU, no external API.
  • Credentials are redacted.Authorization headers, API keys, cookies and ?key= parameters are removed before storage.
  • Secrets are masked.The dashboard hides secret values. Reveal is an audited action.
  • Closed by default.The database and server bind to localhost. Laptops authenticate with per-device keys issued at enrolment.
  • Pinned models.The models are downloaded at build time, pinned and checksum-verified.
  • Every admin action is logged.That includes each reveal of a masked secret.

Privacy and security

Deploy

Run it yourself in one command.

This needs Docker. It builds and starts the server and database, then loads 21 realistic demo sessions from four laptops. Leave out --demo for an empty server.

git clone https://github.com/Liceron/attestyx.git && cd attestyx
./quickstart.sh --demo
  1. Then

    Enrol a laptop

    Download the collector for Linux, macOS or Windows from GitHub Releases and verify it with SHA256SUMS. Each laptop gets its own key at enrolment.

    attestyx enroll --server https://attestyx.example.com --token <ATTESTYX_ENROLL_TOKEN>

    Install the collector

  2. Then

    Route the agents

    attestyx wrap runs an agent through the local proxy. To enforce routing company-wide, set the same values through each agent's managed settings.

    attestyx wrap claude

    Getting started guide

Questions

Asked before a rollout

All questions

Does any data leave my network?

No. Attestyx is self-hosted. Conversations stay on your server, nothing is sent to a third party, and no LLM is called. The collector only forwards each request to the model provider the agent was already calling, and keeps a copy.

Does Attestyx block agents?

Not by default. It is a monitor: the collector records traffic and never changes what the developer sends. The one optional exception is policy block mode, where a request that loads a denied skill, plugin or MCP server is refused on the laptop.

What does it cost to run?

It is open source under Apache-2.0. It needs a server with PostgreSQL. There are no LLM calls and no GPU: the models are small ONNX classifiers that take about 85 ms per step on a single CPU thread.

How accurate is the model?

Severity comes from rules and trails, not from the model. On a sealed holdout the step model reaches an any-risk AUC of 0.867. At the production thresholds it catches 50% of risky calls, flags 7% of safe look-alikes, and flags 4.5 per 1,000 ordinary real developer steps. Its recall is modest, which is why it is paired with rules. Read the model notes.

What can it miss?

Covert sabotage hidden inside long, legitimate work, where no single step looks risky, is hard to detect, for Attestyx and for current monitors in general. Cloud-hosted agents are not covered yet. All limitations.