Skip to content

Security: DavidNiessen/termwire

SECURITY.md

Security Policy

Termwire handles private keys, passwords and access to production infrastructure. We treat security reports as our highest priority.

Supported versions

Version Supported
Latest release ✅
Previous minor ✅ (security fixes only, for 90 days)
Anything older ❌

Reporting a vulnerability

Please do not open a public issue.

Report vulnerabilities privately through GitHub Security Advisories. Include:

  • affected version(s) and platform(s),
  • a description of the issue and its impact,
  • steps to reproduce or a proof of concept,
  • any suggested mitigation.

We will acknowledge your report within 72 hours, provide an initial assessment within 7 days, and aim to ship a fix within 30 days for high and critical issues. We will keep you informed and credit you in the advisory unless you prefer to stay anonymous.

Scope

In scope:

  • the desktop and mobile applications in this repository,
  • the Rust crates under crates/ and the native plugins under plugins/,
  • the release pipeline (build provenance, signing, updater manifests).

Out of scope:

  • vulnerabilities in SSH servers you connect to,
  • issues that require a fully compromised operating system or a malicious, already-installed application with the same privileges as Termwire,
  • denial of service by the user against their own device.

Security design

The threat model and cryptographic design are documented in docs/security/. Highlights:

  • No servers. Termwire has no backend, no accounts and no telemetry.
  • Secrets never leave the Rust core. The UI only handles opaque identifiers.
  • Vault encryption: XChaCha20-Poly1305 per record. The vault key is wrapped once per unlock method (key slots): master password (Argon2id), Windows Hello (TPM-bound signature), Touch ID (Secure Enclave), PIN, FIDO2 security keys (hmac-secret), password + security key, and an opt-in no-prompt auto-unlock key in the OS key store.
  • Strict host key verification by default, post-quantum key exchange preferred.
  • Signed, attested releases with SBOMs and build provenance.

Verifying releases

Every release lists the SHA-256 checksum of each artifact in SHA256SUMS.txt, which is signed with Sigstore (keyless cosign, bundle SHA256SUMS.txt.sigstore.json). Every artifact also has a GitHub build-provenance attestation:

cosign verify-blob SHA256SUMS.txt --bundle SHA256SUMS.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/DavidNiessen/termwire/\.github/workflows/release\.yml@' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum -c SHA256SUMS.txt --ignore-missing
gh attestation verify <artifact> --repo DavidNiessen/termwire

There aren't any published security advisories