github selkies-project/selkies 7e3caa3

pre-releaseone hour ago

fix: Keep the ICE password and a concealed clip out of logs, and read request JSON in one place

Code scanning had 22 open alerts on main.

  • The vendored ICE agent logged the peer's ufrag and password at debug
    level when its checks started; it logs the role alone.
  • Payload::secret, a clip its owner marked secret, read to CodeQL as a
    credential flowing into the clipboard's log line, which prints the
    clip's mime alone. The constructor is Payload::concealed.
  • Every route that takes a JSON body reads it through
    routes::json_body: untyped, through serde_json's Deserializer, which
    refuses nesting past 128 levels and trailing bytes. CodeQL's
    unsafe-deserialization model lists serde_json's from_slice, from_str
    and from_reader for any remote data and recognizes no sanitizer short
    of a numeric, boolean or field-less enum target; a JSON value builds
    no type of the sender's choosing.
  • The desktop's mimeapps test takes a tempfile directory rather than
    one named under the environment's temporary directory.
  • The test auth proxy compares a credential by its scrypt hash (a
    per-run salt) rather than its SHA-256, and it and the worker-policy
    proxy forward only an origin-form path, answering anything else 400.
  • The page-side session socket counts what it receives in a named
    handler.

Clippy (-D warnings) on pixelflux, selkies, selkies-desktop and
selkies-rtc; the unit tier; eslint and tsc; the clipboard, http and
pelorus unit tests; the desktop's entries tests; worker_src and the
auth proxy audit.

Don't miss a new selkies release

NewReleases is sending notifications on new releases.