A technical look at what actually protects your OAuth tokens and storage keys — and what we deliberately do not claim.
The problem with stored keys
Any tool that manages storage accounts has to hold something powerful: OAuth refresh tokens, S3 secret keys, SFTP passwords. If those values sit in plaintext in a database, a single read access becomes a compromise of every connected account.
MbinguBridge therefore treats stored credentials as its most sensitive data, independently of the file content it routes.
How credentials are sealed
Every credential is encrypted before it is written, using AES-256-GCM with a fresh random IV and an authentication tag. The key lives in the server environment (ENCRYPTION_KEY) and never reaches the browser.
In production the application refuses to start if that key is missing, too short, or obviously low-entropy. Failing closed is deliberate: starting with a weak fallback key would be worse than being unavailable.
Where decryption happens
Decryption is confined to server-side provider factories. A request that needs to list or move files decrypts exactly the credential it needs, for the duration of that operation, and the resulting client is not exposed to the client application.
This is not zero-knowledge: the platform holds the key. It is encrypted-at-rest with strict access boundaries, and we describe it that way rather than overstating the model.
Files, staging and retention
File payloads are streamed between providers. When an operation requires an intermediate object, it is written to a temporary staging bucket and deleted as soon as the transfer succeeds or fails. The platform does not build a permanent copy of your library.
Account access is additionally protected by two-factor authentication, available through TOTP authenticator apps or Telegram verification.
Alan Turing
Published May 12, 2026 · filed under Security. Written by the team that builds the bridge.