SecuritySupply chain
Supply chain
Dependencies
- Rust:
cargo-denyruns in CI and rejects crates with known security advisories, yanked versions, licenses that are not compatible with GPL-3.0-or-later, wildcard version requirements, unknown registries and any Git dependency. OpenSSL (openssl-sys) is banned outright; TLS uses rustls. - JavaScript: dependencies are locked with
pnpm-lock.yaml; only explicitly allowed packages may run install scripts. - Updates: Dependabot proposes Cargo, npm, GitHub Actions and Gradle updates weekly or monthly, grouped so they can be reviewed together.
- Toolchain: the Rust version is pinned in
rust-toolchain.toml; Node.js and pnpm versions are pinned inpackage.json. - CI actions are pinned by full commit SHA, not by mutable tags.
- Licensing: the repository follows the REUSE specification; every source file carries an SPDX license identifier.
Code
unsafeRust is denied across the workspace.- Clippy runs in pedantic mode with warnings as errors;
unwrap()is flagged. - Protocol engines are tested against real OpenSSH servers in Docker; parsers have property-based tests.
Optional downloads at runtime
The only file Vaultport downloads on its own initiative is the local AI model, and only after you ask for it. Each model is pinned to an immutable Hugging Face commit with its exact size and SHA-256; anything else is rejected. Updating a model is a reviewed code change.
Releases
Every release is built by GitHub Actions from a tagged commit (.github/workflows/release.yml). Each release ships with:
| What | How to check it |
|---|---|
SHA256SUMS.txt covering every file | sha256sum -c SHA256SUMS.txt --ignore-missing |
| Keyless Sigstore signature of the sums | cosign verify-blob SHA256SUMS.txt --bundle SHA256SUMS.txt.sigstore.json … |
| GitHub build provenance for every file | gh attestation verify <file> --repo DavidNiessen/vaultport |
| SBOM | sbom.spdx.json (SPDX, generated with Syft) attached to the release |
The full commands are on the download page. The desktop self-updater additionally verifies each update's signature against the project's public key before installing it.
See also the release process.