Security
How appsynergy secures tunnels, credentials and releases
Security is the thing appsynergy is most careful about, and it is documented here. A networking service has more attack surface than most software products, so this page states what appsynergy does about it: the architecture, the cryptography in use, the supply chain and where appsynergy stands on compliance.
Architecture
appsynergy enforces policy in the network path, records every privileged action in a tamper-evident log, and never stores a credential in plaintext.
- In-path enforcement
- appsynergy enforces ACLs at the point of presence, before the packet leaves the appsynergy network. The agent reports honestly what the device is doing; the agent does not enforce.
- Append-only audit
- Every connect, ACL hit and policy change writes one row to an append-only, HMAC-chained audit table. Operators cannot rewrite history; tampering breaks the chain at the next verification pass.
- Credentials at rest
- appsynergy stores password hashes with Argon2id and stored secrets with AEAD (ChaCha20-Poly1305): IdP signing keys, WireGuard private keys and webhook secrets. The columns are suffixed
_ctor_hash. - Constant-time secret compares
- All token and key comparisons use
subtle::ConstantTimeEq. There is no early exit on mismatched bytes. - Boundary auth
- appsynergy uses JWT (HS256) for browser sessions, bearer tokens for the agent and passkeys for human login. Auth failures return generic error messages, and the auth endpoints sit behind a rate limiter.
Crypto in use
appsynergy uses these algorithms at each layer, from the tunnel handshake to the audit chain.
| Layer | Algorithm | Notes |
|---|---|---|
| Tunnel handshake | WireGuard Noise IK | Curve25519 + ChaCha20-Poly1305 + Blake2s |
| Tunnel handshake (QUIC, beta) | X25519MLKEM768 | Post-quantum hybrid KEM, ed25519 identity |
| TLS to the dashboard | TLS 1.3 only | AEAD ciphers (ChaCha20-Poly1305, AES-GCM) |
| Passwords at rest | Argon2id | OWASP A07-recommended; 64 MiB cost, 3 iterations |
| Secrets at rest | ChaCha20-Poly1305 | Per-row nonce; key in env, not in DB |
| Audit chain | HMAC-SHA256 | Linked-list HMAC; broken chain alerts ops |
Supply chain
Every appsynergy release is signed, built from pinned dependencies and shipped with a software bill of materials.
- Signed binaries
- appsynergy release binaries are cosign-signed before publication. The deploy script verifies signatures against a public key checked into the repository.
- Pinned lockfiles
Cargo.lockandpnpm-lock.yamlare committed. A new dependency requires adep-add: <name> — <reason>trailer on the commit.- SBOM per release
cargo cyclonedxoutput is committed alongside each release artifact.
Compliance status
This table is the current standing of appsynergy against each framework, including the ones that are unfinished or not pursued.
| Framework | Status | Notes |
|---|---|---|
| SOC 2 Type 2 | In progress | Initial audit in flight; target completion Q3 2026. |
| GDPR | Compliant | Data Processing Addendum available. |
| NIST 800-53 | Mapped | Per-endpoint mapping in security_profiles.rs. |
| OWASP Top 10 (2021) | Mapped | A01 to A10 each have a documented control in the appsynergy codebase. |
| FedRAMP | Not pursued | Not applicable to current scope. |
Report a vulnerability
Report a vulnerability in appsynergy to security@appsynergy.io. Scope, payout ranges and the PGP key are on the bug bounty page. Live platform health is on the independent status page, status.appsynergy.io, and the other review documents are in the trust center.