Skip to content

Security: burnersen/CryptBridge

SECURITY.md

Security policy

CryptBridge guards people's files and keys, so reports about its security are very welcome.

Reporting a problem

Please do not describe a security problem in a public issue. Report it in confidence instead:

  1. Open the Security tab of this repository and click Report a vulnerability (direct link). Only the maintainer can read what you write there.
  2. If that button is not there, open an issue that says only that you have a security report, without any detail. You will get an answer on how to send it.

Helpful in a report: the version (About tab, or cryptbridge on the server), what you did, what happened and what you expected, and, if you have it, a way to reproduce it. Never include your own passwords, salts, sign-ins or transfer blocks.

CryptBridge is a spare-time project of one person. You can expect a first answer within about a week, and an honest word on what happens next. A fix comes as a new release, and the release text says what was fixed, with thanks to you if you like.

Which versions get fixes

Only the latest release. Updating is replacing CryptBridge.exe, or running setup.sh again on the server.

What counts

In scope: the Windows program, the Linux setup script (linux/setup.sh), the rescue file (CryptBridge-Rescue.html) and the workflows that build the releases. For example:

  • a way to read vault keys, sign-ins or files without the Windows account or the app password,
  • a way for another device in the network to get past the LAN access or the streaming server,
  • a way to make CryptBridge run or download something it should not,
  • wrong keys or a wrong folder that CryptBridge fails to notice before writing,
  • anything that lets a release contain other code than this repository.

Not a flaw of CryptBridge, by design (see Security):

  • Someone who already controls your unlocked Windows account, or is administrator on your PC, can read what you can read. The app lock and BitLocker narrow that down; they cannot remove it.
  • The LAN access speaks plain http inside your home network. That is what video players understand; it is why it belongs into the home network only, and why it pauses in public networks.
  • rclone "obscures" passwords in its configuration; that is not encryption and is not meant to be.

Problems in rclone or WinFsp themselves belong to their projects (rclone, WinFsp). If CryptBridge's use of them is the problem, report it here.

How releases are protected

  • Releases are built by GitHub Actions from this repository, never on a private PC. Every release carries SHA256SUMS and GitHub's attestation of where its files were built (gh attestation verify CryptBridge.exe --repo burnersen/CryptBridge).
  • rclone and WinFsp are pinned to one tested, stable version each and checked against checksums built into CryptBridge, on every download and, for rclone, before every start.
  • A daily check looks for published security flaws in Go and in the Go modules CryptBridge uses and releases a fixed version by itself (.github/workflows/guard.yml).
  • The actions of all workflows are pinned to a commit.

There aren't any published security advisories