Skip to content

brainproxy 0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 08:52

brainproxy 0.10.0

What's new: the triage tools from 0.9.0 come to the desktop app, Replay sends binary WebSocket messages, and installing the CA into the system trust store is now something only a person can do.

  • Security fix: agents can no longer install the CA into the system trust store. In 0.9.0, ca install-system was available as an MCP tool. Every program that uses the system store would then trust anything the CA signs. It is now hidden from agents and refused if called through a tool call anyway. Update if you let agents drive brainproxy.
  • Findings triage in the app: rate a finding's risk and confidence, add and remove suppression rules, and rename, re-score (CVSS), merge and split issues, without leaving Findings.
  • Binary WebSocket messages in Replay, and Proxy › WebSockets sends them to Replay with their bytes exactly.
  • Install the CA from Settings › TLS / CA on Windows and Linux, with the command to run on macOS and how to undo it.

Findings (desktop app)

  • Rate a scanner finding (Shift+R, or the bulk bar): risk and confidence, with a reason, for one finding, a selection or a whole issue. Clearing a rating returns to what the scanner found. Hand-added findings aren't offered, since their rating is already yours.
  • Suppression rules: Suppress… drafts a rule from the selected finding (alert, host and port, optionally a path prefix and parameter). The rules list shows how many findings each one hides and who added it. Removing a rule can reopen the findings it hid.
  • Issue tools:
    • rename an issue
    • give it a CVSS 4.0 rating, typed or picked metric by metric and checked as you go
    • merge issues into one
    • split findings out into a new issue
  • Findings reads the issues list on its own, slower refresh, so a slow or failed issues read no longer holds up the findings list.

Replay and WebSockets

  • Binary messages in WebSocket tabs. Messages are still separated by ---. A line with --- hex or --- base64 starts a binary message written that way, and --- text a text one, which may be empty. The toolbar counts the messages and names any that doesn't decode, and Send refuses it before anything goes out.
  • Proxy › WebSockets → Replay works for binary messages, carrying their bytes exactly (hex up to 16 KB, base64 above). Sending a whole connection takes its first 20 text and binary messages in order.
  • In the conversation, binary messages are listed as hex with their printable ASCII, and the payload viewer opens in Hex for them.
  • ws send --input-json and replay tabs save take a binary message as {"hex": ...} or {"base64": ...}.

Macros

  • A macro step's request is edited in the message editor, with {{name}} put in for a value an earlier step extracted. Steps can also be pasted as raw requests.
  • Rename a macro in place (auth macro edit --rename). The session rules that run it follow the new name.
  • auth macro add/edit --step - reads the step from stdin; ./- names a file called -.

Traffic

  • Contents search can ignore case: the Aa toggle in Traffic, and history list --contains TEXT --ignore-case (also on history export har). Only ASCII letters are folded, so binary bodies match byte for byte otherwise.

TLS / CA

  • Settings › TLS / CA › Install in system trust store… says what it changes on this OS before doing it, checks the CA is still the one it showed, and then:

    • Windows: adds it to your user's Trusted Root store (Windows asks you to confirm)
    • Linux: runs ca install-system (needs root; the dialog also shows the sudo commands)
    • macOS: shows the security add-trusted-cert command to run

    Each OS gets the commands that take the CA out again.

  • ca install-system on macOS now changes nothing and answers with the keychain command. Before, it left a file under /usr/local/share/ca-certificates and then failed.

Testing and dependencies

  • CI retries a browser test once when Chromium is slow to start, and reports it as flaky.
  • HTTP/3 tests that put QUIC on a TCP server's port pick another port when the UDP one is taken.
  • Dependency updates (#148, #149): vite 8.3.8, rusqlite 0.42 and ruzstd 0.9.

Compatibility

  • Project schema is unchanged (22), and the command count is unchanged (199).
  • Saved Replay tabs and saved Traffic filters move to a newer format only when they use the new features (a binary WebSocket message, an ignore-case filter). 0.9.0 still lists them, but refuses to save over them.

Thanks to @L1ghtn1ng for #150–#157.