Real-time network diagnostics in your terminal. One command, zero config, instant visibility.
This report presents the forensic synthetic code analysis of matthart1983/netwatch, a Rust project with 2,604 GitHub stars. SynthScan v2.0 examined 60,150 lines of code across 126 source files, recording 297 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 9.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 297 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 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 | 185 | // ── braille pixel-dot line plot ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/graph.rs | 266 | // ── fade + grid helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 139 | // ── Defaults ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 183 | // ── Persistence ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 248 | // ── Helpers to map string ↔ app types ────────────────────── | COMMENT |
| MEDIUM | src/config.rs | 278 | // ── 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 | 2336 | // ── Key event handlers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/app.rs | 4151 | // ── RTT history cap tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/connections.rs | 536 | // ── Grouped tree ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/connections.rs | 1920 | // ── Grouped tree ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 32 | // ── Event model ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 247 | // ── Filter chip row ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 316 | // ── Activity strip ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 467 | // ── Event log ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/timeline.rs | 590 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/interfaces.rs | 660 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/insights.rs | 33 | // ── Card model ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/insights.rs | 246 | // ── Render: summary line ──────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/insights.rs | 322 | // ── Render: card stack ────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/insights.rs | 469 | // ── Empty state ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/insights.rs | 526 | // ── Disclaimer + footer ───────────────────────────────────── | 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 | 98 | // ── Range chips row ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 165 | // ── KPI tiles row ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 320 | // ── Breakdowns row ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/stats.rs | 681 | // ── Throughput chart ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/topology.rs | 30 | // ── Topology graph ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/topology.rs | 549 | // ── Hop detail table ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/topology.rs | 747 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 78 | // ── Sort chip row (reflects current sort state) ───────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 156 | // ── Table ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 326 | // ── Drill-in panel ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/processes.rs | 629 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 37 | // ── KPI strip ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 221 | // ── Mid section: Active Interface + Throughput ────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 565 | // ── Bottom section: Top Connections + Health ──────────────── | COMMENT |
| MEDIUM | src/ui/dashboard.rs | 1057 | // ── helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/dense/paint.rs | 36 | // ── ramps ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ui/dense/paint.rs | 167 | // ── braille area graph ────────────────────────────────────────────────────── | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 61 | ring = "0.17" | COMMENT |
| LOW | Cargo.toml | 81 | # via `RUST_LOG=netwatch=debug` when handing us a repro for a stuck resolver, | COMMENT |
| LOW | build.rs | 1 | fn main() { | COMMENT |
| LOW | examples/ebpf_v6_smoke.rs | 1 | //! Live smoke for eBPF Phase 2 IPv6 attribution (`tcp_v6_connect`). | COMMENT |
| LOW | examples/sandbox_smoke.rs | 1 | //! Smoke test for `netwatch::sandbox`. | 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/ebpf_udp_v6_smoke.rs | 1 | //! Live smoke for eBPF Phase 2 **connected-UDP** IPv6 attribution | 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/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/demo-lite-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/graph.rs | 1 | //! Pluggable graph rendering for every chart in the app. | COMMENT |
| LOW | src/graph.rs | 41 | GraphStyle::Dots => "dots", | COMMENT |
| LOW | src/graph.rs | 81 | /// Lowest fraction of the row's foreground color the bottommost | COMMENT |
| LOW | src/config.rs | 61 | /// Hero-panel graph style (bars, btop). Applies only to the aggregated | COMMENT |
| LOW | src/config.rs | 81 | /// at runtime, so the live process keeps whatever mode it launched | 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 | 401 | } | COMMENT |
| LOW | src/logging.rs | 1 | //! File-only structured logging. | COMMENT |
| LOW | src/logging.rs | 21 | 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 |
| LOW | src/state.rs | 161 | /// Column the Egress tree is ordered by. | COMMENT |
| LOW | src/clipboard.rs | 1 | //! Cross-platform clipboard write via platform tools — `pbcopy` on | COMMENT |
| LOW | src/app.rs | 461 | intel_last_pkt_id: u64, | COMMENT |
| LOW | src/app.rs | 481 | pub user_config: NetwatchConfig, | COMMENT |
| LOW | src/app.rs | 501 | pktap_handle: Option<crate::platform::pktap::PktapHandle>, | COMMENT |
| LOW | src/app.rs | 581 | // that ingests secrets as the cooperating client process | COMMENT |
| LOW | src/app.rs | 1481 | // Collectors run on background threads and share state via Arc<Mutex<T>>. | COMMENT |
| LOW | src/app.rs | 1741 | COMMENT | |
| LOW | src/app.rs | 2081 | let content_top = 3 + 1; // header + table border top | COMMENT |
| LOW | src/ui/connections.rs | 541 | // process column so starved of width it rendered `Google Chrome…`. These are | COMMENT |
| LOW | src/ui/connections.rs | 581 | } | COMMENT |
| LOW | src/ui/egress.rs | 1 | //! Egress tab — per-process egress profiles and policy drift. | COMMENT |
| LOW | src/ui/tree.rs | 1 | //! Shared machinery for the grouped-tree tables (Egress, Connections). | COMMENT |
| LOW | src/ui/lite.rs | 1 | //! NetWatch Lite — the minimal single-screen view. | COMMENT |
| LOW | src/ui/lite.rs | 61 | pub const TALKER_ROWS: u16 = 8; | COMMENT |
| LOW | src/ui/lite.rs | 81 | /// configurable, so the axis label is computed by [`window_label`] rather than | COMMENT |
| LOW | src/ui/dense/paint.rs | 1 | //! Drawing primitives for the Dense view. | COMMENT |
| LOW | src/ui/dense/paint.rs | 181 | /// `samples` is oldest-first and must already be exactly `2 × area.width` | COMMENT |
| LOW | src/ui/dense/mod.rs | 1 | //! NetWatch Dense — the high-density single-screen view. | COMMENT |
| LOW | src/ui/dense/mod.rs | 61 | pub const GUTTER_TICK_X: u16 = 6; | COMMENT |
| LOW | src/ui/dense/mod.rs | 461 | right(38 + shift, 8, "DOWN"), | COMMENT |
| LOW | src/ui/dense/mod.rs | 521 | } | COMMENT |
| LOW | src/ui/dense/mod.rs | 621 | /// it is still a socket, it is just done. | COMMENT |
| LOW | src/ui/dense/mod.rs | 1341 | /// | COMMENT |
| 90 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 | 117 | /// 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 |
|---|---|---|---|---|
| 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 | scripts/demo/gen_tls12.py | 9 | CODE |