Reporting a security problem
This page is for anyone who has found a way around Black Branch's security. After reading it you know where to send the report, what to put in it, and what happens next.
Report it privately, by email, not in a public issue or on the Discord. A public report shows everyone how to attack every install before a fix exists.
Where to send it
Email security@blackbranch.app with:
- What you found, and what someone could do with it.
- How to reproduce it, step by step.
- The release it affects. On the server,
sudo blackbranch statusshows it.
Do not send secrets from a real install: no .env values, keys, passwords or viewers' data. If you need to show a log, remove those first. The report from sudo blackbranch doctor --report is safe to attach: it holds no secret, chat text, viewer id or domain.
The same instructions are in SECURITY.md in the public repository.
What happens next
The project aims to:
- answer within three days;
- agree a fix and a date with you;
- credit you in the release notes, unless you would rather not be named.
Give the project reasonable time to ship a fix before you publish details.
What counts
The project especially wants to hear about:
- anything that lets a visitor, a chat user or a mod do more than their role allows;
- any way to read a secret from the server's
.envfile or from the database; - any way for the website to make the server run something other than its fixed actions (see What the website can make the server do);
- anything that gets around the signature check on updates;
- secrets or personal data in the public repository.
A page that looks broken, a setting that does not save or a platform that does not connect is not a security problem. Report those as a normal bug: see Community and contact.
How fixes reach installs
A security fix ships as a new release, marked as a security release. Black Branch is in preview: every release so far is on the beta channel, and stable has none yet, so security releases go to beta.
Each install applies a security release by itself at its quiet hour, never while the stream is live. An install that follows beta and can read its release feed needs nothing from its owner. Older releases are not patched separately: the fix is to be on the newest release. See Release channels.
If your install cannot read its release feed, it cannot see a security release either. The Doctor's row The update feed was read in the last 3 days turns red when that happens.
A problem with someone's site, not the software
If the problem is with one community's site (a message, an account, how they handle your data), contact that site's operator. Their contact address is on the site's Terms & Privacy page (/legal). The project does not run anyone's site and cannot see their data.
Next: For your viewers