Skip to content

Security: degenview/brokers

Security

SECURITY.md

Security policy

Reporting a vulnerability

Please report it privately through GitHub's private vulnerability reporting (this repository's Security tab, "Report a vulnerability"). Do not open a public issue for it.

What counts

  • Anything that leaks a credential, a signed token or an Authorization header: into an error string, a Debug or Display output, a log line, or any other place this crate writes.
  • Anything that lets a request be sent to a host other than the one the broker's adapter names.
  • A connection that bypasses the Network the application supplied (a proxy setting must never be silently ignored, nor an unusable proxy fall back to a direct connection), or a proxy credential that reaches an error, a Debug or Display output or a log line.
  • Any path that could place, change or cancel an order without the caller asking for it, or retry a write that might already have been executed.
  • Any code path that could move funds off the exchange. There is none and there must never be one.

What a proxy can see

When the application routes the crate through a proxy, the proxy sees the broker's host name and port and the volume and timing of encrypted traffic. It cannot read or alter a request: TLS is negotiated end to end with the broker's host, and certificates are verified against it. A proxy the user chose can still refuse or delay a connection, and an order whose request was sent but not answered stays OutcomeUnknown, exactly as with a direct connection.

The crate does not trust the text of an error a Network returns when a proxy is in use: it may quote the proxy's reply or the credentials it was given. Only the error's kind is ever shown.

How releases are protected

The crate is published to crates.io from a signed tag on main by its maintainer; the application pins an exact version. Dependencies are checked for advisories, yanked versions, licenses and sources on every pull request (deny.toml), and the workflows are audited with zizmor.

There aren't any published security advisories