Thanks for helping keep Stream Studio, and the people who use it, safe.
- Open this repository's Security tab.
- Click Report a vulnerability.
- Tell us what you found and how to see it. Short and simple is fine.
Please don't open a public issue (or post anywhere public) about a security problem. Anyone could read it before it's fixed. Please keep the details to yourself until we've had a chance to fix it.
Never paste real secrets into a report, an issue, a screenshot or a log: no Twitch tokens, no stream keys, no overlay link with
token=in it, and never yoursecrets.datfile. Swap them forXXXXfirst. If a real secret gets shared by accident, treat it as leaked (see If a secret leaks).
Stream Studio is a small project, so we can't promise how quickly we'll reply.
Only the latest release gets security fixes. If you use an older version, please update and check that the problem is still there before you report it. Stream Studio doesn't check for updates by itself (see the privacy notice), so to hear about a new release, use Watch → Custom → Releases on this repository.
Stream Studio runs on your own PC. These are the parts that matter most:
- Keys and sign-in. Stream keys, the OBS password, your Twitch sign-in and other private values are kept in
secrets.dat(in%APPDATA%\StreamStudio), encrypted with Windows DPAPI so only your Windows account can read it. They are masked in logs, error messages and Copy diagnostics reports, and your Twitch sign-in only goes to Twitch. A way to get at them, or to make them show up somewhere they shouldn't (a log, an error message, the overlay), is worth reporting. - The overlay server. It only listens on
127.0.0.1(this PC only, port 17645 by default), and its pages need a secret token in the address. A way around that is worth reporting. - OBS on another PC. This is off by default. If you turn on Allow OBS on another PC, the port that receives your picture (1935 by default) also listens on your home network, and a private publish key is required. A way in without the key is worth reporting.
- Going live. Stream Studio checks it's really talking to Twitch, YouTube or Kick before it sends your key, and it never switches to an insecure connection by itself. If a server's address isn't secure (it starts with
rtmp://instead ofrtmps://), Stream Studio warns you, because people on the same network could see your stream key. (TikTok doesn't offer a secure connection for apps.) - Downloads. The streaming tools and the video engine are downloaded on first run and checked against pinned SHA-256 hashes before they're used.
- Links. Stream Studio only opens web and email links outside its window, and checks each one first. Its own window also doesn't let a page open other windows or programs by itself. A way to make it open anything else (a file, a program, a share on another PC) is worth reporting.
- Scenes you import. When you import scenes from OBS or Streamlabs, files and web pages that live on another PC's share (an address like
\\PC\share\clip.mp4) are left out and never contacted, so a scene file from someone else can't make your PC connect to their computer. Only import scenes you trust all the same. - The video editor (ReelForge). Its auto-captions use the speech engine that comes with the editor and only fetch the two speech models Stream Studio names, each at one fixed version, and any other address is refused. Pasting a link contacts that link's site, like a browser would. A way to make the editor load code or models from anywhere else is worth reporting.
- There is no Client Secret anywhere: not in the code, and nothing in the app asks for one.
- Twitch sign-in uses Twitch's Device Code flow with a Public client. You approve it on Twitch's own website, so Stream Studio never sees your Twitch password. It needs no web server and no open port for sign-in.
- The Twitch Client ID is public by design. It only says which app is asking, like a name tag, and it isn't a password. Seeing it in the code or in
settings.jsonisn't a vulnerability.
- Anything that needs someone to already control your PC or run as your Windows account, such as malware. That's how DPAPI works: a program running as you can ask Windows to unlock your keys.
- Someone using a stream key, overlay link or publish key that you showed or shared with them.
- Your stream key being visible, while you're live, on the command line of the streaming tool (FFmpeg) that Stream Studio starts. Only programs running as your own Windows account can see it, and those can already unlock your keys (see the first point). Stream Studio masks keys in its own logs.
- Using Allow OBS on another PC on a network you don't trust. Your picture and the key cross your network without a secure connection, and the README says so.
- The installer may not be code-signed. Without a signature Windows shows "Windows protected your PC". That's known, so use Verify your download instead.
- Bugs in software Stream Studio uses (Windows, Twitch, MediaMTX, FFmpeg, OBS's video engine). Please tell those projects. If Stream Studio uses them in an unsafe way, tell us.
- Releases are built by GitHub, not on a personal PC, from the code you can read here, and only after the owner approves each one.
- Pinned and scanned. The build uses exact, reviewed versions of every GitHub Action, and packages only come from nuget.org. It stops if a package has a known high or critical vulnerability. Dependabot suggests updates every week, and GitHub's code scanner (CodeQL) checks every change.
- The video editor is built from one fixed version of its code, with its packages checked against their fingerprints and without running their install scripts.
- Nothing updates itself. A new version only reaches your PC when you download and install it.
Only download Stream Studio from this repository's Releases page. Each release is built automatically by GitHub from the code you can read here, and GitHub keeps a signed record of that (an attestation).
To check a file you downloaded, for example StreamStudio-win-Setup.exe, open PowerShell in the folder you saved it in:
-
Check its fingerprint. Run this, then compare the result with the line for that file in
SHA256SUMS.txton the release page. They must be exactly the same.Get-FileHash .\StreamStudio-win-Setup.exe -Algorithm SHA256
-
Check GitHub's record (stronger: it proves this repository built the file, not just that the file wasn't damaged). You need the free GitHub CLI:
gh attestation verify .\StreamStudio-win-Setup.exe --repo GhuumiRuma/StreamStudio
It should say the verification succeeded. If either check fails, don't run the file, and tell us privately.
- Stream key: make a new one on the platform's website and paste it into Go Live. The old key stops working straight away.
- Twitch sign-in: click Disconnect Twitch. It deletes your sign-in from your PC and takes it back on Twitch. You can also remove Stream Studio under Connections in your Twitch settings.
- Overlay link: if you use your own OBS, click Reset overlay link on the OBS setup page, then set up OBS again.
More about how keys are kept safe is in the README: see "How Stream Studio keeps your keys safe" and "Your data and privacy".