# 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 attester and the verifier.

| Language                        | Lockfile                                                                                                       | Reference                                                                                                           | What is verified                                                                                                   | Guide                      |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------- |
| Node.js                         | `package-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 release | `node_modules`, the `node` binary, global npm, corepack, pnpm and pm2, every process including PM2 cluster workers | [node.md](https://auditstatus.com/docs/languages/node/)         |
| Python                          | `uv.lock`, `pylock.toml`, `poetry.lock`, `Pipfile.lock`, `requirements.lock` or `requirements.txt` with hashes | PyPI wheel by pinned SHA-256, compared through its `RECORD`                                                         | `site-packages` of each virtual environment, `bin/` scripts, the environment's start-up hook                       | [python.md](https://auditstatus.com/docs/languages/python/)     |
| Ruby                            | `Gemfile.lock` or `gems.locked` with checksums                                                                 | `.gem` from RubyGems.org by pinned SHA-256                                                                          | Gems in `vendor/bundle`, their specifications, executable wrappers                                                 | [ruby.md](https://auditstatus.com/docs/languages/ruby/)         |
| Elixir and Erlang               | `mix.lock`                                                                                                     | Hex tarball by outer checksum                                                                                       | Dependency sources in `deps/`; releases through an attested manifest                                               | [elixir.md](https://auditstatus.com/docs/languages/elixir/)     |
| PHP                             | `composer.lock`                                                                                                | Git tree of the pinned commit, with `export-ignore`                                                                 | Packages in `vendor/`                                                                                              | [php.md](https://auditstatus.com/docs/languages/php/)           |
| Java and the JVM                | `gradle/verification-metadata.xml` or `lockfile.json` (maven-lockfile)                                         | Pinned jar SHA-256; Maven Central for unpinned jars                                                                 | Dependency jars in `lib/`, `libs/` and build directories                                                           | [java.md](https://auditstatus.com/docs/languages/java/)         |
| .NET                            | `packages.lock.json`                                                                                           | nuget.org package by content hash                                                                                   | Assemblies and native libraries in the publish directory                                                           | [dotnet.md](https://auditstatus.com/docs/languages/dotnet/)     |
| Go                              | `go.sum`                                                                                                       | A build by the verifier, or an attested release                                                                     | The binary, and its recorded module, commit and dependencies                                                       | [go.md](https://auditstatus.com/docs/languages/go/)             |
| Rust                            | `Cargo.lock`                                                                                                   | A build by the verifier, or an attested release                                                                     | The binary, and the crates cargo-auditable recorded in it                                                          | [rust.md](https://auditstatus.com/docs/languages/rust/)         |
| Any compiled or bundled release | None                                                                                                           | Attested `.attestium-manifest.json`; published checksums; the distribution's signed archive                         | Every file of the release directory, third-party programs, shared libraries                                        | [binaries.md](https://auditstatus.com/docs/languages/binaries/) |


## 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](https://auditstatus.com/docs/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](https://auditstatus.com/docs/how-it-works/), [the attester](https://auditstatus.com/docs/attester/), [the verifier](https://auditstatus.com/docs/verifier/) and [containers](https://auditstatus.com/docs/containers/).
