Skip to content
CAI
Software that uses CAICheck a score

vi/websocat

63.1

Adequate · 14 November 2026

10.2k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added prebuilt release settings script for target-specific build flags

A new shell script, misc/prebuilt\_release\_settings.sh, has been added to configure build flags for various Linux targets. It sets specific Cargo features (such as vendored\_openssl, signal\_handler, and compression) for architectures like i686, arm, loongarch64, and riscv64, and marks wasm32-wasip1 as a skip target.

misc · high confidence

Initial release of Websocat v1.14.0 with Docker support and new WebSocket features

Websocat is now available as version 1.14.0, introducing official Docker container support via new Dockerfiles for Alpine and Debian builds. This release adds several new capabilities including SOCKS5 authentication, a \--ua\ shortcut for setting the User-Agent header, and a \drop\_on\_backpressure:\ overlay to handle flow control. It also prioritizes ping requests over normal traffic, adds \--basic-auth-file\ and \WEBSOCAT\_BASIC\_AUTH\ for basic authentication, and introduces the \lengthprefixed:\ overlay as an alternative to base64 mode. The project now includes comprehensive documentation in \doc.md\ and \moreexamples.md\, along with automated tests for help messages and functional behavior.

(repo-wide) · high confidence

Introduction of new data processing and connection overlays

Websocat adds several new specifier overlays that transform data or connection behavior. The \crypto:\ overlay (available with the \crypto\_peer\ feature) encrypts and decrypts messages using ChaCha20-Poly1305. The \foreachmsg:\ overlay executes a sub-specifier for each incoming message, useful for logging or state updates. The \jsonrpc:\ overlay converts simple text messages into JSON-RPC 2.0 format. The \lengthprefixed:\ overlay adds or removes length-prefixed framing from byte streams. Additionally, the \broadcast:\ overlay allows a single connection to serve multiple clients by duplicating replies to all of them.

src · high confidence

Test coverage

Added integration tests for websocat connection scenarios

Added a new integration test suite (\tests/test.rs\) that validates websocat's ability to establish and transfer data over various connection types, including literal string assertions, TCP sockets, and WebSocket connections (both standard and low-level). The tests cover basic connectivity, persistence, and error handling scenarios using the \WebsocatConfiguration3\ API.

tests · high confidence

Dependencies

174 commits updating dependencies (2 manifests)

A dependency / build maintenance change in (dependencies) — 174 commits (11 fixs), 2 files: “Rollback structopt update, pin version”; “1.13.0, update docs”; “Abort major version upgrade: 1.6.0”; and 155 more (refs \#4).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 62 → 63 (+0.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 86 → 77 (-9.1)
  • Architecture 88 → 100 (+12.2)
  • Maturity 59 → 59 (+0.0)
  • Readiness 70 → 73 (+3.1)
  • Security 56 → 57 (+0.8)

Resolved (7)

  • Duplicated block (9 lines × 2) (src/http_peer.rs)
  • Duplicated block (9 lines × 2) (src/sessionserve.rs)
  • Leaked secret: private-key-store (test.pkcs12)
  • Medium vulnerability: [GHSA redacted] (Cargo.lock)
  • Medium vulnerability: [GHSA redacted] (Cargo.lock)
  • No ADRs found
  • Projects may be oversized for their cohesion

New (60)

  • Duplicated block (10 lines × 2) (src/http_peer.rs)
  • Duplicated block (10 lines × 2) (src/sessionserve.rs)
  • Duplicated block (11 lines × 2) (src/sessionserve.rs)
  • Duplicated block (12 lines × 2) (src/http_peer.rs)
  • Duplicated block (12–13 lines × 2) (src/sessionserve.rs)
  • Duplicated block (5 lines × 2) (src/socks5_peer.rs)
  • Duplicated block (8 lines × 2) (src/ws_server_peer.rs)
  • Edited copies of one member (3 members, 18+ corresponding lines) (src/foreachmsg_peer.rs)
  • Edited copies of one member (3 members, 6+ corresponding lines) (src/socks5_peer.rs)
  • Edited copies of one member (3 members, 6+ corresponding lines) (src/trivial_peer.rs)
  • Edited copies of one member (3 members, 7+ corresponding lines) (src/file_peer.rs)
  • Edited copy of a member (10 corresponding lines) (src/mirror_peer.rs)
  • Edited copy of a member (10 corresponding lines) (src/trivial_peer.rs)
  • Edited copy of a member (11 corresponding lines) (src/specifier.rs)
  • Edited copy of a member (14 corresponding lines) (src/main.rs)
  • Edited copy of a member (15 corresponding lines) (src/process_peer.rs)
  • Edited copy of a member (16 corresponding lines) (src/http_peer.rs)
  • Edited copy of a member (16 corresponding lines) (src/lints.rs)
  • Edited copy of a member (17 corresponding lines) (src/mirror_peer.rs)
  • Edited copy of a member (20 corresponding lines) (src/net_peer.rs)
  • …and 40 more

Changes since last survey

  • 8 commits — 5 feature/other, 3 fixes

By area

  • (repo) — 4 commits
  • (root) — 3 commits
  • src/ws_peer.rs — 1 commit

Notable commits

  • fix: Fix root package version in Cargo.lock
  • fix: Merge pull request #314 from StevenLi-phoenix/fix/264-l-ws-abstract-alias
  • fix: Merge pull request #319 from chenrui333/fix-lockfile-package-version
  • change: Add more CHANGELOG entries
  • change: Bump version to 1.14.2
  • change: Merge branch 'master' of github.com:vi/websocat
  • change: Merge commit 'refs/pull/315/head' of github.com:vi/websocat
  • change: Print details of WebSocket close message in verbose mode (not just in debug)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

vi/websocat was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 097582e37118bafff7e47ad6be45c1bdadb4ab9b — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.