Real-time network diagnostics in your terminal. One command, zero config, instant visibility.
This report summarizes scanner evidence for matthart1983/netwatch, a Rust project with 3,452 GitHub stars. SynthScan examined 127,840 lines of code across 230 source files, recording 453 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 6.1 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 288 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 162 finding(s).
Which changes need focused human review? 453 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 453 distinct pattern matches across 10 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 |
|---|---|---|---|---|
| MEDIUM | Cargo.toml | 139 | # ── Distro packages ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Cargo.toml | 195 | # ── cargo-binstall ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/ebpf-deep-dive.html | 730 | <!-- 15 ─ #38 timeline (MARQUEE INTERACTIVE) ───────────────────────────── --> | CODE |
| MEDIUM | docs/ebpf-deep-dive.html | 1294 | /* ── #38 timeline scrubber (slide 15) ────────────────────────────────────── */ | COMMENT |
| MEDIUM | examples/diagnose_demo.rs | 116 | // ── buffer export ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/verify-tls12-decrypt.sh | 24 | # ── Resolve the capture interface ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/verify-tls12-decrypt.sh | 38 | # ── Preflight: python must be OpenSSL-backed ──────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/verify-tls12-decrypt.sh | 48 | # ── Build the harness once ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/verify-tls12-decrypt.sh | 58 | # ── Run one scenario; classify the harness output ─────────────────────────── | COMMENT |
| MEDIUM | src/graph.rs | 865 | // ── braille pixel-dot line plot ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/graph.rs | 914 | // ── fade helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 214 | // ── Defaults ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 263 | // ── Persistence ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 328 | // ── Helpers to map string ↔ app types ────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 360 | // ── Tests ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/theme.rs | 8 | // ── Brand / chrome ────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/theme.rs | 15 | // ── Text ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/theme.rs | 21 | // ── Status / semantic ─────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/theme.rs | 27 | // ── Data ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/theme.rs | 32 | // ── Selection ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/theme.rs | 80 | // ── Built-in themes ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/app.rs | 2476 | // ── Key event handlers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/app.rs | 4665 | // ── RTT history cap tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/connections.rs | 543 | // ── Grouped tree ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/connections.rs | 1965 | // ── Grouped tree ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 29 | // ── Event model ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 242 | // ── Filter chip row ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 311 | // ── Activity strip ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 470 | // ── Event log ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 594 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/interfaces.rs | 650 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 30 | // ── The grid ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 45 | // ── Rows ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 75 | // ── History ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 116 | // ── Talker table ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 185 | // ── Footer ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 219 | // ── Adaptive layout ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 308 | // ── Talkers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 443 | // ── Formatting ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 545 | // ── Drawing primitives ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/lite.rs | 618 | // ── Render ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 95 | // ── Range chips row ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 162 | // ── KPI tiles row ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 314 | // ── Breakdowns row ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 672 | // ── Throughput chart ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/topology.rs | 30 | // ── Topology graph ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/topology.rs | 544 | // ── Hop detail table ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/topology.rs | 740 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 87 | // ── Sort chip row (reflects current sort state) ───────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 165 | // ── Table ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 333 | // ── Drill-in panel ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 632 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 99 | // ── KPI strip ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 402 | /// ╭ dns rtt ─────────────────────╮ <- title in the border, severity-coloured | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 406 | /// ╰──────────────────────────────╯ | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 547 | // ── Mid section: Active Interface + Throughput ────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 1767 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/diagnose.rs | 651 | // ─────────────────────────────────────────────────── verdict | COMMENT |
| MEDIUM | src/ui/diagnose.rs | 793 | // ────────────────────────────────────────────── engine strip | COMMENT |
| MEDIUM | src/ui/diagnose.rs | 855 | // ──────────────────────────────────────────── issues + detail | COMMENT |
| 89 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 61 | dirs = "5" | COMMENT |
| LOW | Cargo.toml | 81 | # per-(pid, comm, 5-tuple) connect events into a ring buffer for | COMMENT |
| LOW | build.rs | 1 | fn main() { | COMMENT |
| LOW | tests/diagnose/health_lab.py | 61 | PROBE_SECS = 5 | COMMENT |
| LOW | tests/diagnose/health_lab.py | 81 | # counted from its first healthy sample. | COMMENT |
| LOW | tests/diagnose/corpus/manifest.toml | 1 | # The pinned replay corpus. Each [[episode]] names <id>.json.gz and | COMMENT |
| LOW | examples/ebpf_v6_smoke.rs | 1 | //! Live smoke for eBPF Phase 2 IPv6 attribution (`tcp_v6_connect`). | COMMENT |
| LOW | examples/ping_under_sandbox.rs | 1 | //! Verify native ICMP ping survives the sandbox. | COMMENT |
| LOW | examples/tls12_decrypt_live.rs | 1 | //! Live end-to-end verification of TLS 1.2 Application-Data decryption. | COMMENT |
| LOW | examples/diagnose_demo.rs | 1 | //! Renders the Diagnose tab from the demo fixture and writes a shareable | COMMENT |
| LOW | examples/ebpf_udp_v6_smoke.rs | 1 | //! Live smoke for eBPF Phase 2 **connected-UDP** IPv6 attribution | COMMENT |
| LOW | examples/diagnose_lab.rs | 1 | //! Headless lab driver: the real `App::tick` once a second, one line per tick. | COMMENT |
| LOW | examples/tls_decrypt_live.rs | 1 | //! Live end-to-end verification of TLS 1.3 Application-Data decryption. | COMMENT |
| LOW | examples/traceroute_under_sandbox.rs | 1 | //! Verify native UDP+TTL traceroute survives the sandbox. | COMMENT |
| LOW | examples/pktap_probe.rs | 1 | // Manual validation tool for the macOS PKTAP attribution path. | COMMENT |
| LOW | scripts/verify-tls12-decrypt.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-lite-traffic.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-dense-traffic.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-dense-traffic.sh | 21 | # SNI from partway through. | COMMENT |
| LOW | scripts/copr-setup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-egress-traffic.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-egress-traffic.sh | 21 | # Destination names come from the TLS ClientHello, which means the handshake | COMMENT |
| LOW | scripts/demo-dense-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-hero-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/release-guard.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/demo-lite-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/release.yml | 81 | name: netwatch-windows-x86_64.exe | COMMENT |
| LOW | .github/workflows/release.yml | 101 | # tv_usec as `caplen` and segfault seconds into a capture. | COMMENT |
| LOW | .github/workflows/release.yml | 321 | with: | COMMENT |
| LOW | .github/workflows/release.yml | 601 | COMMENT | |
| LOW | .github/workflows/ci.yml | 41 | # not worth following are declared as `#![allow]` with a reason at the | COMMENT |
| LOW | .github/workflows/ci.yml | 101 | echo "CARGO_TARGET_ARMV5TE_UNKNOWN_LINUX_GNUEABI_LINKER=arm-linux-gnueabi-gcc" >> $GITHUB_ENV | COMMENT |
| LOW | src/graph.rs | 1 | //! Pluggable graph rendering for every chart in the app. | COMMENT |
| LOW | src/graph.rs | 61 | /// line, which is the opposite of what a guide is for. | COMMENT |
| LOW | src/graph.rs | 101 | /// sitting on the baseline receives. 0.30 keeps a quiet series visible without | COMMENT |
| LOW | src/graph.rs | 161 | /// Braille area plot at two samples per cell column. | COMMENT |
| LOW | src/graph.rs | 321 | /// time axis. | COMMENT |
| LOW | src/graph.rs | 381 | /// for latency: one 200ms spike against a 2ms baseline scales every normal | COMMENT |
| LOW | src/graph.rs | 401 | // p95 equals the median, every sample sits at the ceiling and the track | COMMENT |
| LOW | src/graph.rs | 481 | /// terminal — the series colour along the body of the plot, the bright | COMMENT |
| LOW | src/graph.rs | 521 | /// the data is legible even where the fill is continuous. netwatch used to fade | COMMENT |
| LOW | src/config.rs | 61 | /// Color theme (dark, light, ocean, solarized, dracula, nord) | COMMENT |
| LOW | src/config.rs | 81 | /// The magnitude gradient. When `true`, every chart colours each cell by | COMMENT |
| LOW | src/config.rs | 101 | COMMENT | |
| LOW | src/config.rs | 121 | COMMENT | |
| LOW | src/config.rs | 141 | /// host = "api.staging.example.internal" | COMMENT |
| LOW | src/lib.rs | 1 | // Clippy lints deliberately allowed crate-wide. Each is a decision, not an | COMMENT |
| LOW | src/lib.rs | 21 | // `too_many_arguments` — nine rendering and collection functions take 8–14 | COMMENT |
| LOW | src/theme.rs | 41 | /// active tab. | COMMENT |
| LOW | src/theme.rs | 121 | /// Defers entirely to the terminal's own palette: ANSI slots 0–15 for | COMMENT |
| LOW | src/theme.rs | 421 | /// `inactive_tab` pass WCAG AA against the `#f5f5f2` panel fill where | COMMENT |
| LOW | src/logging.rs | 1 | //! File-only structured logging. | COMMENT |
| LOW | src/logging.rs | 21 | COMMENT | |
| LOW | src/owner_only.rs | 1 | //! Files and directories only their owner can open, for what netwatch saves: | COMMENT |
| LOW | src/metrics.rs | 1 | //! Prometheus `/metrics` + `/healthz` exporter (netwatch cloud Workstream C). | COMMENT |
| LOW | src/state.rs | 21 | use crate::ui::sort_picker::SortPickerState; | COMMENT |
| LOW | src/state.rs | 41 | /// Rolling RX rate history per grouped (process, host) for the Dashboard | COMMENT |
| LOW | src/state.rs | 61 | /// Kept in its own substruct rather than scattered across [`AppUiState`] so | COMMENT |
| LOW | src/state.rs | 81 | /// flags (help/settings/memory_stats/geo), transient status messages with | COMMENT |
| 213 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/verify-tls12-decrypt.sh | 7 | # harness against live traffic, across every AEAD suite we support, plus a | COMMENT |
| MEDIUM⚡ | scripts/verify-tls12-decrypt.sh | 48 | # ── Build the harness once ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/verify-tls12-decrypt.sh | 58 | # ── Run one scenario; classify the harness output ─────────────────────────── | COMMENT |
| MEDIUM | src/collectors/incident.rs | 118 | /// robust to `alert_history` being a bounded ring buffer: once it hits | COMMENT |
| MEDIUM | src/collectors/quic.rs | 292 | // be robust to multi-frame layouts in the same packet. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/diagnose/fault_lab.py | 131 | except OSError:pass | CODE |
| HIGH | tests/diagnose/health_lab.py | 433 | except ProcessLookupError: | CODE |
| HIGH | scripts/demo/gen_tls12.py | 40 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/diagnose/fault_lab.py | 6 | CODE | |
| LOW | ml/netwatch_ml/__init__.py | 7 | CODE | |
| LOW | ml/netwatch_ml/__init__.py | 7 | CODE | |
| LOW | ml/netwatch_ml/__init__.py | 7 | CODE | |
| LOW | ml/netwatch_ml/load.py | 11 | CODE | |
| LOW | scripts/demo/gen_tls12.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/tls12_decrypt_live.rs | 93 | except Exception: | CODE |
| LOW | examples/tls12_decrypt_live.rs | 98 | except Exception: pass | CODE |
| LOW | examples/tls_decrypt_live.rs | 83 | except Exception: | CODE |
| LOW | examples/tls_decrypt_live.rs | 88 | except Exception: pass | CODE |
| LOW | scripts/demo/gen_tls12.py | 34 | except Exception as e: | CODE |
| LOW | scripts/demo/gen_tls12.py | 40 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/verify-tls12-decrypt.sh | 10 | # Usage: | COMMENT |
| LOW | scripts/demo-lite-traffic.sh | 21 | # Usage: | COMMENT |
| LOW | scripts/demo-dense-traffic.sh | 26 | # Usage: | COMMENT |
| LOW | scripts/demo-egress-traffic.sh | 27 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | ml/tests/test_load.py | 36 | def test_loads_rows_with_nan_for_missing(self): | CODE |
| LOW⚡ | ml/tests/test_load.py | 46 | def test_refuses_a_header_that_does_not_match(self): | CODE |
| LOW⚡ | ml/tests/test_load.py | 52 | def test_refuses_a_tampered_schema_or_an_unexpected_one(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/diagnose/health_lab.py | 629 | CODE | |
| LOW | tests/diagnose/health_lab.py | 714 | CODE | |
| LOW | tests/diagnose/health_lab.py | 414 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ml/netwatch_ml/__init__.py | 9 | __all__ = ["Dataset", "SchemaMismatch", "load"] | CODE |