Proof that production runs the public code.

Audit Status verifies that production servers run exactly the code in a public repository, and publishes a report and a badge.

Open source shows what a service could run. Audit Status shows what it does run, checked against references the server does not control.

npm install -g auditstatus
web1.example.compassing
  1. evidenceNonce and digest match
  2. tpmQuote by the enrolled key
  3. source1,204 of 1,204 files match the commit
  4. packagesnpm: 812 of 812 verified
  5. process12 processes inspected
  6. code184 of 184 running files explained
Evidence level TPM + IMA

Quick start

Add your project to the public registry: Audit Status verifies your servers every hour from its own GitHub Actions and publishes your report and badge. Nothing runs in your CI.

  1. 1

    On each server

    Install the attester, allow Audit Status's SSH key to run the attester and nothing else, and check the setup.

    Shell
    curl -fsSLO https://github.com/auditstatus/auditstatus.com/releases/latest/download/install.sh
    bash install.sh
    sudo useradd --system --create-home --shell /bin/sh auditstatus
    sudo chgrp auditstatus /usr/local/bin/auditstatus
    sudo chmod 0750 /usr/local/bin/auditstatus
    sudo setcap cap_sys_ptrace,cap_dac_read_search+ep /usr/local/bin/auditstatus
    sudo install -D -o root -g root -m 0644 attester.config.yml /etc/auditstatus/config.yml
    curl -fsSLo auditstatus.pub https://raw.githubusercontent.com/auditstatus/auditstatus.com/main/verifier/auditstatus.pub
    sudo install -d -o root -g auditstatus -m 0755 ~auditstatus/.ssh
    sed 's|^|command="/usr/local/bin/auditstatus ssh",restrict |' auditstatus.pub | sudo tee ~auditstatus/.ssh/authorized_keys
    sudo -u auditstatus auditstatus doctor
  2. 2

    In the registry

    Add one YAML file to registry/ in a pull request: your project, its repository, where it is deployed, and each server with its SSH host key.

    registry/example.yml
    project:
      name: Example
      url: https://example.com
      contact: security@example.com
    repository:
      url: https://github.com/example/app.git
      branch: main
    services:
      - name: app
        root: /srv/app
    servers:
      - name: web1
        host: web1.example.com
        hostKeys:
          - ssh-ed25519 AAAA...
  3. 3

    Every hour

    The registry collects evidence from each server, compares it with the public references, and publishes a signed report and a badge for your README or status page.

    README.md
    [![Audit Status](https://img.shields.io/endpoint?url=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fraw.githubusercontent.com%2Fauditstatus%2Fauditstatus.com%2Fstatus%2Fprojects%2Fexample%2Fbadge.json)](https://github.com/auditstatus/auditstatus.com/blob/status/projects/example/report.md)

To run the verifier in your own CI instead, Getting started walks through auditstatus init and the GitHub action.

The report

Each run writes report.md for people, report.json for machines and badge.json for a badge. A server's status is the worst of its findings; inconclusive never counts as passing. Reading a report

report.mdfailing2 of 4 servers passed
An example report: the status, evidence level and counts for each server
ServerStatusEvidenceThe evidence level: software evidence, TPM, TPM + IMA, AMD SEV-SNP or Intel TDX.ServicesProcessesApplication processes inspected across the services.Code explainedExecutables and libraries that matched a reference, out of all those the processes run or map.
web1passingTPM + IMA112184/184
web2passing with warningsTPM112181/184
worker1failingSoftware evidence2697/98
db1inconclusiveAMD SEV-SNP1341/41
failsourceworker1, service queue: Files differ from the public commit: lib/jobs.js
An example report. The badge and a status page read the same result.
  • passingEvery check ran and matched its reference.
  • passing with warningsPassed, with findings worth attention. Counts as passed.
  • failingThe server differs from its references, or its evidence is invalid.
  • inconclusiveA check could not be completed. Never counts as passing.

Languages and ecosystems

For every service, the deployed files are compared with the public commit and every running executable and library is explained by a reference. Installed packages are checked against the lockfile at the deployed commit, read from the verifier's own clone.

Containers (Docker, containerd, CRI-O, Podman) are compared with their images, fetched by digest. System binaries and libraries are compared with the signed Debian or Ubuntu archive. Containers

Evidence levels

The report and the badge show the level of every result. Software evidence catches drift, failed deploys and tampering by anyone without root, but root on the server can forge it; hardware makes the evidence hold against more. A forged answer Threat model

Evidence levels, what backs each one, and whether it holds against root on the server
LevelBacked byHolds against root on the server
Software evidenceThe attester's report, bound to a fresh nonce by its digest.No.
TPMA TPM 2.0 quote over the nonce and digest, with an enrolled key; boot state with pinned PCR values.No: it proves freshness and which machine answered.
TPM + IMAThe kernel's measurement log, replayed to the quoted PCR 10.For the files the IMA policy measures.
AMD SEV-SNP, Intel TDXA confidential VM report signed by the CPU vendor.Protects against the host operator, not against root in the guest.

Install

The attester is one executable with no runtime dependencies. It only reads: it never executes what it inspects. The verifier runs in GitHub Actions or anywhere Node.js 18 runs. Compare the install methods

  • GitHub Action

    The verifier runs on a schedule in your repository, writes the report to the job summary, publishes it to a branch and opens an issue when a server does not pass.

    Set up the GitHub Action
  • Release binary

    One executable for Linux x64, Linux arm64 and macOS arm64, checked against SHA256SUMS. Servers run it as the attester, behind an SSH forced command.

    Install the release binary
  • npm package

    The command line tool for your own machine or another CI: init, doctor, validate, verify and verify-report, on Node.js 18 or later.

    Install from npm
  • Docker

    Containers on Docker, containerd, CRI-O and Podman are compared with their images, fetched by digest. The attester image is on GitHub Container Registry.

    Verify Docker containers
  • Helm chart

    Runs the attester as a DaemonSet on every Kubernetes node. The verifier reaches it through port-forward: no Service, no open port.

    Install the Helm chart
  • Ansible

    A role installs the attester, its account, configuration and the verifier's SSH key the same way on every server.

    Use the Ansible role