Security

Security overview

Xvault is designed so that the service cannot read your private content, even if its stored data were obtained by an attacker. This page summarises the encryption design, how keys are handled, what Xvault cannot protect against, and how to report a vulnerability. It is a summary, not a guarantee: no system is perfectly secure, and the limits below are part of the design.

Independent review status: no independent penetration test of Xvault has been completed yet. An independent security review is required before claiming that Xvault is fully secure, and Xdigitex makes no such claim today. Treat the design described here as implemented and internally tested, not independently certified.

Encryption design

  • Client-side encryption: all private content is encrypted on your Android device before backup. The backend stores only ciphertext plus the minimum operational metadata.
  • Content encryption: each record or object is encrypted with AES-256-GCM using a fresh 256-bit data key and a unique random nonce. The ciphertext is bound to its object identity so it cannot be silently swapped between records.
  • Key wrapping: data keys are wrapped (encrypted) by a 256-bit master key generated on your device at setup. The master key never leaves the device in plaintext.
  • Password protection: a key derived from your password with Argon2id (a memory-hard password hashing function) wraps the master key. Authentication uses a separately derived value with a different salt, so the server never receives your password or your encryption key, and authentication data cannot be used to derive the encryption key. The server stores only a hash of the authentication value.
  • Recovery key: a 256-bit recovery key, shown once during setup for offline keeping, wraps a second copy of the master key. The server stores only that wrapped copy.
  • Device unlock: an Android Keystore key, gated by biometrics where you enable biometric unlock, wraps the master key for day-to-day use on that device. Keystore keys do not leave the device’s secure hardware boundary where available.
  • Integrity checks: AES-GCM authentication tags are verified before plaintext is released, and SHA-256 hashes of ciphertext are verified after download and before decryption. Tampered or corrupted ciphertext is detected rather than silently accepted.
  • Local storage: private database fields hold ciphertext, files are stored as encrypted blobs in app-private storage excluded from Android Auto Backup, and sensitive screens block screenshots. Plaintext exists only in memory during use and in exports you initiate.
  • Transport: the app communicates over TLS with platform certificate validation and cleartext traffic disabled. Certificate pinning is deliberately not enabled in this version, because a pinning misconfiguration during certificate renewal could lock every user out of their backups; this trades a narrow network risk against a severe availability risk, and the decision is documented for review.

Backend protections

  • Short-lived access tokens (15 minutes) and rotating refresh tokens stored hashed, with reuse detection that revokes the token family.
  • Device sessions are listed in the app and can be revoked; revoking a session signs that device out.
  • Every stored object and record is scoped to its owner on the server; requests for another user’s resources are refused.
  • Object storage is private and reachable only through the API after ownership checks; the database, cache and storage run on an internal network and are not exposed publicly.
  • Rate limiting, request validation, security headers and generic authentication errors reduce abuse and account-enumeration risk.
  • Security-relevant actions are audit-logged without private content. There is no staff interface for reading user content, because the service holds no readable content to read.
  • Releases are signed APKs with published SHA-256 checksums; verify downloads on the download page.

What Xvault cannot protect against

  • Compromised or rooted phone: malware or a compromised operating system can read data from memory or the screen while the vault is unlocked. Encryption protects data at rest and in backup; it cannot make a compromised phone safe. Root detection, where present, is advisory only.
  • Unlocked phone in someone else’s hands: a person with your unlocked phone and your app PIN or biometric access can see vault contents. A weak device lock undermines the app lock.
  • Known password: an attacker who learns your password and signs in can derive the key that unlocks your vault. Password strength is critical. Multi-factor authentication and passkeys are future work, not current features.
  • Loss of all recovery material: losing your password, recovery key and all devices makes the vault permanently unrecoverable, by design.
  • Malicious apps you authorise: an app you grant accessibility or notification access can read notifications at the source, before Xvault preserves them.
  • Metadata exposure: the service necessarily observes account metadata such as email address, device names, item counts, sizes and timing. Content is protected; metadata is minimised, not eliminated.
  • Availability attacks: a sufficiently privileged attacker against the infrastructure could delete or corrupt ciphertext. Hash verification detects tampering, and service backups mitigate loss, but encryption alone cannot guarantee availability.
  • Fabricated source material: evidence hashes prove preserved bytes are unchanged since capture. They cannot prove the material was genuine or true when captured.
  • Network impersonation with a fraudulently issued certificate: without certificate pinning in this version, Xvault relies on the standard WebPKI trust model, as most apps do.

Responsible disclosure

We welcome reports from security researchers and users. Please report suspected vulnerabilities privately to contact@xdigitex.com with enough detail to reproduce the issue, and give us a reasonable opportunity to fix it before public disclosure. Do not access other users’ data, disrupt the service, or retain data beyond what is needed to demonstrate the issue. We will acknowledge reports, investigate, and keep you informed of the outcome. Security reports sent to this address are treated as confidential.

For general questions, the same address applies: contact@xdigitex.com.

Keeping your vault safe

  • Use a strong, unique password and a strong device lock; enable biometric unlock only if it suits your risk.
  • Store the recovery key offline, away from the phone it protects.
  • Download Xvault only from xvault.xdigitex.com and verify the SHA-256 checksum before installing.
  • Review device sessions in the app and revoke devices you no longer use.
  • Keep independent copies of irreplaceable material; Xvault reduces risk but should not be the only copy of what you cannot afford to lose.