Languages

Audit Status works with any language. For every service it compares the deployed files with the public commit (or an attested release manifest), inspects every process running from the service, and explains every running executable and mapped library by a reference. What differs between languages is how installed dependencies and compiled code are checked. Each guide below says which lockfile is read, which reference each package is compared with, and how to set up the project, the attesterThe program on each server. It collects facts and reports them as evidence; it never decides whether the server passes. and the verifierThe program in CI that sends a nonce, fetches references itself, compares, and writes the report..

LanguageLockfileReferenceWhat is verifiedGuide
Node.jspackage-lock.json or npm-shrinkwrap.json (v2, v3), or pnpm-lock.yaml (v6 to v9)npm registry tarball by lockfile integrity; GitHub archive for commit-pinned dependencies; official Node.js releasenode_modules, the node binary, global npm, corepack, pnpm and pm2, every process including PM2 cluster workersnode.md
Pythonuv.lock, pylock.toml, poetry.lock, Pipfile.lock, requirements.lock or requirements.txt with hashesPyPI wheel by pinned SHA-256, compared through its RECORDsite-packages of each virtual environment, bin/ scripts, the environment's start-up hookpython.md
RubyGemfile.lock or gems.locked with checksums.gem from RubyGems.org by pinned SHA-256Gems in vendor/bundle, their specifications, executable wrappersruby.md
Elixir and Erlangmix.lockHex tarball by outer checksumDependency sources in deps/; releases through an attested manifestelixir.md
PHPcomposer.lockGit tree of the pinned commit, with export-ignorePackages in vendor/php.md
Java and the JVMgradle/verification-metadata.xml or lockfile.json (maven-lockfile)Pinned jar SHA-256; Maven Central for unpinned jarsDependency jars in lib/, libs/ and build directoriesjava.md
.NETpackages.lock.jsonnuget.org package by content hashAssemblies and native libraries in the publish directorydotnet.md
Gogo.sumA build by the verifier, or an attested releaseThe binary, and its recorded module, commit and dependenciesgo.md
RustCargo.lockA build by the verifier, or an attested releaseThe binary, and the crates cargo-auditable recorded in itrust.md
Any compiled or bundled releaseNoneAttested .attestium-manifest.json; published checksums; the distribution's signed archiveEvery file of the release directory, third-party programs, shared librariesbinaries.md

Common to every language#

  • The lockfile is read at the deployed commit, from the verifier's own clone of the public repository, never from the server.
  • Files the deploy generates and git ignores are listed but not compared, unless build in the verifier configuration covers them. See configuration.
  • Package checks are named packages:<ecosystem> in the report. A package that cannot be checked is reported by policy.unverifiablePackages (default fail). A reference that cannot be fetched makes the result inconclusive, never passing.
  • A process is inspected when its working directory is inside the service root (or the service's cwd) and, when user is set, it runs as that user.
  • Restart processes after each deploy: a tracked file or build output changed after a process started fails (policy.modifiedAfterStart).
  • auditstatus init detects the lockfiles in a repository and writes starting configuration for both sides.

See how it works, the attester, the verifier and containers.

Edit this page on GitHub