Turn any program that uses STDIN/STDOUT into a WebSocket server. Like inetd, but for WebSockets.
This report summarizes scanner evidence for joewalnes/websocketd, a Go project with 17,455 GitHub stars. SynthScan examined 38,870 lines of code across 256 source files, recording 74 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 72 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 74 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 74 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | published_website_test.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | docs_voice_test.go | 21 | // homepage shipped four — entities within an hour of the second | COMMENT |
| LOW | dead_links_test.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | machine_identifiers_test.go | 41 | // homePathRe matches an absolute home directory belonging to a named account, | COMMENT |
| LOW | repo_scan_test.go | 21 | // | COMMENT |
| LOW | main.go | 21 | "github.com/joewalnes/websocketd/libwebsocketd" | COMMENT |
| LOW | main.go | 121 | TLSConfig: cfg, | COMMENT |
| LOW | main.go | 201 | // concatenated onto that string; they travel as the Path/RawPath/RawQuery | COMMENT |
| LOW | bench/run.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/gendocs/main.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | tools/gendocs/main.go | 361 | COMMENT | |
| LOW | tools/gendocs/main.go | 481 | COMMENT | |
| LOW | libwebsocketd/console_serving_test.go | 21 | // This file guards the dev console's HTTP-serving contract laid out in | COMMENT |
| LOW | libwebsocketd/console_serving_test.go | 121 | } | COMMENT |
| LOW | libwebsocketd/console_serving_test.go | 281 | // quote-breakout injection in the request target (net/http's client would | COMMENT |
| LOW | libwebsocketd/console_serving_test.go | 381 | func TestDevConsoleNoExternalResources(t *testing.T) { | COMMENT |
| LOW | libwebsocketd/console_serving_test.go | 401 | // (e.g. `if (a < b)`) is not parsed as markup; | COMMENT |
| LOW | libwebsocketd/handler.go | 181 | return urlInfo, nil | COMMENT |
| LOW | libwebsocketd/handler.go | 221 | if err != nil { | COMMENT |
| LOW | libwebsocketd/handler.go | 241 | // path names instead of asking how it is spelled. | COMMENT |
| LOW | libwebsocketd/console.go | 21 | // raw string literal cannot contain a backtick — that its JavaScript is free | COMMENT |
| LOW | libwebsocketd/console.go | 41 | // ConsoleCSP is the Content-Security-Policy for the console response. The | COMMENT |
| LOW | libwebsocketd/handler_boundary_spelling_test.go | 61 | if os.SameFile(fa, fb) { | COMMENT |
| LOW | libwebsocketd/http_static_test.go | 301 | COMMENT | |
| LOW | libwebsocketd/http_security_test.go | 61 | } | COMMENT |
| LOW | libwebsocketd/http_cgi_mount_test.go | 121 | if got := cgiMountPrefix(tt.staticDir, tt.cgiDir); got != tt.want { | COMMENT |
| LOW | libwebsocketd/http_cgi_mount_test.go | 221 | } | COMMENT |
| LOW | libwebsocketd/http.go | 181 | return true | COMMENT |
| LOW | libwebsocketd/http.go | 201 | // the user types the endpoint. | COMMENT |
| LOW | libwebsocketd/http.go | 221 | // is also used as a plain http.Handler with no mux in front of it — so this | COMMENT |
| LOW | libwebsocketd/http.go | 241 | // The derivation asks dirRelation which *directory* --cgidir names relative | COMMENT |
| LOW | libwebsocketd/http.go | 301 | } | COMMENT |
| LOW | libwebsocketd/http.go | 341 | return "unknown" | COMMENT |
| LOW | libwebsocketd/http.go | 401 | // sides for no new information. It is the same walk, not a second | COMMENT |
| LOW | libwebsocketd/http.go | 441 | COMMENT | |
| LOW | libwebsocketd/http.go | 481 | // resolveCgiPath built one line earlier as Join(cgiDir, <rooted, cleaned>), | COMMENT |
| LOW | libwebsocketd/http.go | 561 | cgiHandler.ServeHTTP(w, req) | COMMENT |
| LOW | libwebsocketd/http.go | 581 | execDirs []string | COMMENT |
| LOW | libwebsocketd/http.go | 661 | } | COMMENT |
| LOW | libwebsocketd/http.go | 701 | // tried, so whatever the earlier handlers decline lands here, and for a | COMMENT |
| LOW | libwebsocketd/console.html | 161 | #detail-body .n { color: var(--jnum); } | COMMENT |
| LOW | libwebsocketd/proc_unix.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | libwebsocketd/process_endpoint.go | 201 | return msg | COMMENT |
| LOW | internal/cliflags/cliflags.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | qa/capture/capture-console.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | qa/capture/main.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | qa/capture/main.go | 241 | return ctx, func() { | COMMENT |
| LOW | qa/capture/main.go | 501 | if err := chromedp.Run(ctx, page.StopScreencast()); err != nil { | COMMENT |
| LOW | qa/integration/fixtures_test.go | 21 | COMMENT | |
| LOW | qa/integration/fixtures_test.go | 121 | // cgiSite is the layout the #453 family shares: a CGI directory nested inside | COMMENT |
| LOW | qa/integration/scriptdir_disclosure_test.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | qa/integration/boundary_spelling_test.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| LOW | qa/integration/boundary_spelling_test.go | 21 | // inside the directory they configured. | COMMENT |
| LOW | qa/integration/helpers_test.go | 121 | // startServerOpts starts websocketd with extra flags and testcmd <mode>. | COMMENT |
| LOW | qa/integration/helpers_test.go | 241 | } | COMMENT |
| LOW | qa/integration/cgi_mount_spelling_test.go | 21 | // the CGI handler did not recognize the script's natural URL, and the static | COMMENT |
| LOW | qa/integration/known_bugs_test.go | 1 | package integration | COMMENT |
| LOW | qa/browser/console_html_test.go | 21 | "detail-opcode", "detail-size", "detail-body", "clear", "theme", | COMMENT |
| LOW | qa/browser/console_test.go | 21 | // implementation lanes for the dev-console rebuild (ASKS.md A1). They are | COMMENT |
| LOW | qa/browser/harness_test.go | 1 | // Copyright 2026 Joe Walnes and the websocketd team. | COMMENT |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bench/lib/generate-report.py | 260 | `<br><strong>OS:</strong> ${m.os_pretty || m.os || '?'} (${m.arch || '?'})`, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | DIARY.md | 1495 | ## 2026-09-05 — docs.websocketd.com scaffold: Hugo, a from-scratch theme, and one unresolved infra question | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/lib/generate-report.py | 57 | CODE | |
| LOW | bench/lib/to-benchmark-action.py | 58 | CODE | |
| LOW | bench/lib/to-benchmark-action.py | 76 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/lib/generate-report.py | 12 | CODE |