AI Slop Code Risk Monitor

wezterm/wezterm

SlopCodeMonitor badge for wezterm/wezterm Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for wezterm/wezterm, a Rust project with 29,413 GitHub stars. SynthScan examined 528,430 lines of code across 1645 source files, recording 470 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
29.4K
Stars
Rust
Language
528.4K
Lines of Code
1.6K
Files
470
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 4.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 424 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 12 finding(s).

Agent Over-Engineering Ratio 1.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 35 finding(s).

PR Review Velocity Impact 5.4/100 · LOW

Which changes need focused human review? 470 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 7MEDIUM 39LOW 424

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 470 distinct pattern matches across 13 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.

Over-Commented Block393 hits · 392 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21# `target_family = "unix"` configuration, that only having windows targets inCOMMENT
LOWdeny.toml41#exclude = []COMMENT
LOWdeny.toml61COMMENT
LOWdeny.toml101 "CC0-1.0",COMMENT
LOWdeny.toml121# licensing informationCOMMENT
LOWdeny.toml141# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.COMMENT
LOWdeny.toml161# * simplest-path - The path to the version with the fewest edges is highlightedCOMMENT
LOWdeny.toml181 # Wrapper crates can optionally be specified to allow the crate when itCOMMENT
LOWdeny.toml201# "rustls-tls-webpki-roots",COMMENT
LOWdeny.toml221]COMMENT
LOWcooldown.toml21# [[allow.package]]COMMENT
LOWwezterm-font/src/locator/font_config.rs161 }COMMENT
LOWwezterm-font/src/shaper/harfbuzz.rs301 for c in s.chars() {COMMENT
LOWwezterm-font/src/shaper/harfbuzz.rs341 }COMMENT
LOWwezterm-font/src/shaper/harfbuzz.rs361 // * DedupCOMMENT
LOWwezterm-font/src/shaper/harfbuzz.rs421 // This logic essentially merges `info` into `prior` byCOMMENT
LOWwezterm-font/src/shaper/mod.rs21 /// into a single glyph, such as in `!=` and other ligatures.COMMENT
LOWmux/src/localpane.rs61/// This is a bit horrible; it can take 700us to tcgetpgrp, so if we haveCOMMENT
LOWmux/src/renderable.rs21COMMENT
LOWmux/src/tab.rs601 self.inner.lock().get_size()COMMENT
LOWmux/src/tab.rs621 /// tree model.COMMENT
LOWmux/src/pane.rs361pub trait WithPaneLines {COMMENT
LOWmux/src/ssh_agent.rs21/// to decide whether the client process is allowed to consumeCOMMENT
LOWmux/src/ssh_agent.rs141 // Take first one with auth sock -> that's the pathCOMMENT
LOWwezterm-gui-subcommands/src/lib.rs41COMMENT
LOWwezterm-gui-subcommands/src/lib.rs61 #[arg(short = 'e', hide = true)]COMMENT
LOWwezterm-gui-subcommands/src/lib.rs81 /// --position 10,20 to set x=10, y=20 in screen coordinatesCOMMENT
LOWwezterm-gui-subcommands/src/lib.rs101 #[arg(long, requires = "domain")]COMMENT
LOWwezterm-gui-subcommands/src/lib.rs121COMMENT
LOWwezterm-gui-subcommands/src/lib.rs141 /// the process.COMMENT
LOWwezterm-gui-subcommands/src/lib.rs161 #[arg(long, verbatim_doc_comment)]COMMENT
LOWwezterm-gui-subcommands/src/lib.rs181 /// This changes the class for all windows spawned by thisCOMMENT
LOWwezterm-gui-subcommands/src/lib.rs201}COMMENT
LOWwezterm-gui-subcommands/src/lib.rs221 /// authentication dialogs.COMMENT
LOWlua-api-crates/color-funcs/src/image_colors.rs1//! This module analyzes an image to determine a set ofCOMMENT
LOWlua-api-crates/time-funcs/src/lib.rs61 /// The name of the registry entry that will resolve toCOMMENT
LOWtest-data/emoji-test.txt1# emoji-test.txtCOMMENT
LOWtest-data/emoji-test.txt21# unqualified — a unqualified emoji (See ED-19 in UTS #51)COMMENT
LOWtest-data/braille-all-chars.txt1// [⡪] (Single one)COMMENT
LOWtest-data/braille-all-chars.txt21// ⣐⣑⣒⣓⣔⣕⣖⣗⣘⣙⣚⣛⣜⣝⣞⣟COMMENT
LOWtest-data/light-lines-vs-heavy-lines.txt1// [─] BOX DRAWINGS LIGHT HORIZONTALCOMMENT
LOWtest-data/light-lines-vs-heavy-lines.txt21// [┎] BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHTCOMMENT
LOWtest-data/light-lines-vs-heavy-lines.txt41// [┞] BOX DRAWINGS UP HEAVY and RIGHT DOWN LIGHTCOMMENT
LOWtest-data/light-lines-vs-heavy-lines.txt61// [┱] BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVYCOMMENT
LOWtest-data/light-lines-vs-heavy-lines.txt81// [╃] BOX DRAWINGS LEFT UP HEAVY and RIGHT DOWN LIGHTCOMMENT
LOWtest-data/light-lines-vs-heavy-lines.txt101// [╸] BOX DRAWINGS HEAVY LEFTCOMMENT
LOWlicenses/ANGLE.md1// Copyright 2018 The ANGLE Project Authors.COMMENT
LOWlicenses/ANGLE.md21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWpty/examples/narrow.rs41 });COMMENT
LOWpty/examples/whoami_async.rs21 // Move the slave to another thread to block and spawn aCOMMENT
LOWpty/examples/whoami.rs41 // Obtain the writer.COMMENT
LOWpty/src/unix.rs141/// On Linux, gnome/mutter leak shell extension fds to wezterm too, so weCOMMENT
LOWpty/src/lib.rs1//! This crate provides a cross platform API for working with theCOMMENT
LOWpty/src/lib.rs21//! // that matches the size of the selected font. ThatCOMMENT
LOWpty/src/lib.rs101 /// slave end.COMMENT
LOWpty/src/lib.rs121 /// If applicable to the type of the tty, return the termiosCOMMENT
LOWconfig/src/background.rs221#[derive(Debug, Copy, Clone, FromDynamic, ToDynamic, PartialEq, Eq)]COMMENT
LOWconfig/src/font.rs241pub enum FreeTypeLoadTarget {COMMENT
LOWconfig/src/font.rs261bitflags! {COMMENT
333 more matches not shown…
Decorative Section Separators32 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUM⚡bidi/data/DerivedBidiClass.txt2452# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2460# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2468# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2476# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2484# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2492# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2500# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2508# ================================================COMMENT
MEDIUM⚡bidi/data/DerivedBidiClass.txt2516# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt10# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt46# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1087# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1258# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1278# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1295# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1334# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1349# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1369# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1381# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1391# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1405# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1918# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt1962# ================================================COMMENT
MEDIUMbidi/data/DerivedBidiClass.txt2308# ================================================COMMENT
MEDIUMwezterm-gui/src/customglyph.rs19 // ╭──────╮COMMENT
MEDIUMwezterm-gui/src/customglyph.rs26 // ╰──────╯COMMENT
MEDIUMwezterm-char-props/data/emoji-data.txt20# ================================================COMMENT
MEDIUMwezterm-char-props/data/emoji-data.txt411# ================================================COMMENT
MEDIUMwezterm-char-props/data/emoji-data.txt680# ================================================COMMENT
MEDIUMwezterm-char-props/data/emoji-data.txt689# ================================================COMMENT
MEDIUMwezterm-char-props/data/emoji-data.txt744# ================================================COMMENT
MEDIUMwezterm-char-props/data/emoji-data.txt762# ================================================COMMENT
Cross-Language Confusion5 hits · 19 pts
SeverityFileLineSnippetContext
HIGHci/generate-workflows.py370if ! command -v rustup &>/dev/null; thenCODE
HIGHci/generate-workflows.py730 'cd flathub && gh pr create --fill --body "PR automatically created by release automation in the weztermSTRING
HIGH⚡ci/generate-workflows.py752 "cd winget-pkgs && git config user.email wez@wezfurlong.org",STRING
HIGH⚡ci/generate-workflows.py756 "cd winget-pkgs && git config user.name 'Wez Furlong'",STRING
HIGH⚡ci/generate-workflows.py764 'cd winget-pkgs && gh pr create --fill --body "PR automatically created by release automation in theSTRING
Verbosity Indicators9 hits · 14 pts
SeverityFileLineSnippetContext
LOWluahelper/src/enumctor.rs134 // Step 1: see if this is a unit variant.COMMENT
LOWluahelper/src/enumctor.rs146 // Step 2: see if this is a valid variant, and whether we canCOMMENT
LOWdeps/cairo/cairo/src/cairo-scaled-font.c281 * The purpose of this function is to allow the user to set aCOMMENT
LOWdeps/cairo/cairo/src/cairo-region.c136 * The purpose of this function is to allow the user to set aCOMMENT
LOWdeps/cairo/cairo/src/cairo-error.c58 * The purpose of this function is to allow the user to set aCOMMENT
LOWdeps/cairo/cairo/src/cairo-surface.c179 * The purpose of this function is to allow the user to set aCOMMENT
LOWdeps/cairo/cairo/src/cairo-pattern.c179 * The purpose of this function is to allow the user to set aCOMMENT
LOWdeps/cairo/cairo/src/cairo.c392 * The purpose of this function is to allow the user to set aCOMMENT
LOWdeps/cairo/cairo/src/cairo-ps-surface.c2411/* PS Output - this section handles output of the parts of the recordingCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMci/make-winget-pr.sh19# Create the directory structureCOMMENT
MEDIUMassets/shell-integration/wezterm.sh177# This function is installed as part of the PROMPT_COMMAND;COMMENT
MEDIUMassets/shell-integration/wezterm.sh185# This function is installed as part of the PROMPT_COMMAND.COMMENT
MEDIUMassets/shell-integration/wezterm.sh245# This function is installed as the DEBUG trap. It is invoked before eachCOMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHci/generate-docs.py71except FileNotFoundError:CODE
HIGHci/generate-workflows.py1113except ImportError:CODE
Slop Phrases4 hits · 8 pts
SeverityFileLineSnippetContext
LOWmux/src/lib.rs240 // Don't forget to send anything that we might have bufferedCOMMENT
LOWmux/src/lib.rs242 // for very short lived commands so that we don't forget toCOMMENT
LOWwezterm-surface/src/cellcluster.rs151 // Don't forget to include any pending cluster on the final step!COMMENT
MEDIUMvtparse/src/lib.rs1073 // It's worth noting that we see this as final byte `t` here, whichCOMMENT
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWci/update-doc-versions.py3CODE
LOWci/update-doc-versions.py5CODE
LOWci/generate-docs.py7CODE
LOWci/generate-docs.py8CODE
LOWci/generate-workflows.py3CODE
LOWci/subst-release-info.py3CODE
LOWassets/wezterm-nautilus.py19CODE
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWci/generate-docs.py17CODE
LOWci/generate-docs.py45CODE
LOWci/generate-docs.py203CODE
LOWci/generate-workflows.py245CODE
LOWci/generate-workflows.py308CODE
LOWci/generate-workflows.py438CODE
LOWci/generate-workflows.py570CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMconfig/src/wsl.rs91/// It tries to be robust in the face of future changesCOMMENT
MEDIUMwezterm-gui/src/termwindow/render/screen_line.rs645 // Essentially invisible: don't render it, as anti-aliasingCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWluahelper/src/enumctor.rs134 // Step 1: see if this is a unit variant.COMMENT
LOWluahelper/src/enumctor.rs146 // Step 2: see if this is a valid variant, and whether we canCOMMENT
LOWassets/shell-integration/wezterm.sh98# WARNING: This variable is no longer used and should not be relied upon.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWassets/wezterm-nautilus.py28 # Check if the this system runs under systemd, per sd_booted(3)COMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/javascript/fix-codeblock-console-copy-button.js5function fixCopyOnlyUserSelectable() {CODE