Prove that a SaaS runs its open source code

A hosted service that publishes its source asks users to trust that production runs it. Audit Status replaces that trust with a result anyone can check: a verifierThe program in CI that sends a nonce, fetches references itself, compares, and writes the report. compares every production server with the public repository on a schedule and publishes the report and a badge next to the status page.

Why a public repository is not enough#

Users of a hosted service cannot see its servers. The code in the repository may differ from what runs: a patched file, an extra package, an older commit, a program started by hand. A published report with the evidence level of each server closes that gap for anyone who reads it.

What to publish#

PublishWhy
The verifier configuration and known_hostsReaders see which servers, services, branches and policies are checked
Pinned TPMTrusted Platform Module: a chip with keys that cannot be exported and registers (PCRs) that can be extended but never set. keys, expected PCRPlatform Configuration Register: a TPM register that can only be extended with a hash. Firmware, bootloader and kernel extend PCRs with what they load. values and launch measurementsReaders see what the hardware evidence is checked against
The workflow, pinned to an Audit Status releaseReaders see which verifier ran
The report branchreport.md, report.json and badge.json, with their history
The workflow runsThe log and summary of each verification

Never publish the SSH private key or a Kubernetes token.

The badge and the status page#

With publish-branch: audit-status, the workflow commits each report to a branch. The badge is a Shields endpoint:

MD
[![Audit Status](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/OWNER/REPOSITORY/audit-status/badge.json)](https://github.com/OWNER/REPOSITORY/blob/audit-status/report.md)

A status page can also read report.json and show each server's status and level. Show when the report was generated, and treat a report much older than the schedule as unknown: a verifier that stopped running should not keep a passing badge. The report schema describes every field.

Independent verification#

Anyone given their own key with the same forced commandAn SSH authorized_keys option that runs one fixed command whatever the client asks for. The verifier's key can only run the attester. can run auditstatus verify with the published configuration and collect fresh evidence of their own. The server cannot tell one verifier from another, so a third party does not have to trust the operator's CI.

Say what the result proves#

State the evidence level with the result. Software evidence shows that nothing without root changed what runs; a TPM quote, IMAIntegrity Measurement Architecture: the Linux kernel hashes files as they are used, logs each hash and extends PCR 10. or a confidential VM each add to what holds against the operator's own root user. See Evidence levels and the Threat model.

Reference adopter#

Forward Email is the public registry's first project: Audit Status verifies its production servers every hour, and status.forwardemail.net shows the result. Its servers deploy the public repository with git and run it with PM2; the attesterThe program on each server. It collects facts and reports them as evidence; it never decides whether the server passes. inspects every PM2 worker, the Node.js binary, node_modules and the global tools. See Adopters.

Edit this page on GitHub