UnENVerse

Security

What UnENVerse protects, what it cannot, and how to check us. There is no third-party audit and no certification, and this page does not imply either.

What it protects against

  • Someone with your disk. The vault is a SQLCipher database. The key comes from your master password through Argon2id (memory 64 MiB, 3 passes) and a random 16-byte salt. The password and the key are never written to disk, and the key is cleared from memory when the vault locks.
  • Secrets leaking through the CLI. Output is redacted by default, and redaction fails closed: a field prints only if it is listed as safe. Getting a real value out takes an explicit option, and local runs that materialise values are logged.
  • Silent tampering with history. The audit log and the config history are hash-chained, so editing or deleting a row is detectable with unv audit --verify and unv doctor.
  • A hub that goes wrong. Node requests are signed. A node can require a human approval bound to the exact bytes, signed on your own device, so a compromised hub cannot push a file the node accepts.
  • Hostile vault data. Vault contents are treated as untrusted input: every field is escaped before it is drawn, and only http and https addresses become links.

What it does not protect against

  • Root on a running machine while the vault is unlocked. The key is in memory, because a program that decrypts things has to hold it. Lock the vault, and protect the session it runs in.
  • A forgotten master password. There is no recovery. Keep an encrypted backup and the vault.salt file.
  • Windows file permissions. On Linux the database, salt and session files are owner-only. On Windows they inherit the folder's access list, and unv doctor reports that as "not enforceable" instead of passing.
  • Anything you copy out. Once a value is on the clipboard, in a rendered file or in a process environment, UnENVerse no longer controls it.

Who is trusted

The desktop app and the CLI trust the person at the keyboard. The optional unv-server trusts the owner's master password and gives each other user a scoped login, with rate limiting on failed attempts. Servers are pinned by certificate fingerprint, and a certificate is never silently re-pinned.

Verify what you run

Release files have checksums and keyless Sigstore signatures. Here is how to check them.

Trust at a glance

These figures are read live from the services that measure them, not typed here. Each badge links to its source.

OpenSSF Scorecard OpenSSF Best Practices level OpenSSF Best Practices silver OpenSSF Best Practices gold OpenSSF Baseline level 3 TypeScript code coverage Rust code coverage

Coverage is measured on every push to the main branch: TypeScript by the frontend job and Rust by the coverage workflow. The tree of files and their coverage is on Codecov.

How the code is checked

None of these replaces an independent audit, which is still to come. They are the free tools that run on every change or every week, and each one answers one question.

  • CodeQL reads the Rust and TypeScript for known vulnerability patterns.
  • cargo-deny checks every Rust dependency against the RustSec advisory database, the licence allow-list and the allowed registries.
  • OSV Scanner checks both lockfiles against the OSV database.
  • Semgrep runs the open-source rule packs for Rust, TypeScript, Docker, GitHub Actions and committed secrets.
  • Gitleaks scans the whole git history for secrets that were ever committed.
  • zizmor audits the build workflows for injection, over-broad permissions and unpinned actions. Every third-party action is pinned to a commit.
  • Hadolint and Trivy check the Dockerfile and the repository files for mistakes, vulnerabilities and leaked secrets.
  • npm audit signatures verifies the registry signatures and provenance of every installed npm package.
  • Dependency review blocks a pull request that adds a dependency with a known high-severity vulnerability.
  • Fuzzing of the importers and migrators, and the OpenSSF Scorecard and Best Practices checks.
  • Sigstore signatures, build provenance and SBOMs on every release, so a download can be traced to the workflow that built it.

Report a vulnerability

Do not open a public issue for a suspected vulnerability. Contact the maintainer through the address on the maintainer's GitHub profile, or use GitHub's private vulnerability report on the repository's Security tab when it is offered there. Include a minimal reproduction, the affected version and the impact. Reports are acknowledged within seven days. Please test only against vaults and systems you own.

Longer reading: the security model in the guide.