AI Slop Code Risk Monitor

espanso/espanso

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

A Privacy-first, Cross-platform Text Expander written in Rust

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for espanso/espanso, a Rust project with 14,698 GitHub stars. SynthScan examined 88,374 lines of code across 502 source files, recording 162 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
14.7K
Stars
Rust
Language
88.4K
Lines of Code
502
Files
162
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 6.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 8.9/100 · LOW

Which changes need focused human review? 162 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 0MEDIUM 1LOW 161

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 162 distinct pattern matches across 3 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 Block160 hits · 111 pts
SeverityFileLineSnippetContext
LOWespanso-modulo/src/sys/textview/textview_gui.h1///////////////////////////////////////////////////////////////////////////COMMENT
LOWespanso-modulo/src/sys/wizard/wizard_gui.h1///////////////////////////////////////////////////////////////////////////COMMENT
LOWespanso-modulo/src/sys/wizard/wizard_gui.h21#include <wx/panel.h>COMMENT
LOW…o-modulo/src/sys/troubleshooting/troubleshooting_gui.h1///////////////////////////////////////////////////////////////////////////COMMENT
LOWespanso-modulo/src/sys/welcome/welcome_gui.h1///////////////////////////////////////////////////////////////////////////COMMENT
LOWespanso-modulo/src/sys/welcome/welcome_gui.h21#include <wx/settings.h>COMMENT
LOWespanso-modulo/src/sys/search/search.cpp21// https://developpaper.com/wxwidgets-implementing-the-drag-effect-of-titleless-bar-window/COMMENT
LOWespanso-ui/src/win32/native.h61// Updates the tray icon to the given one. The method accepts an index thatCOMMENT
LOWespanso-ui/src/win32/native.cpp21#include <array>COMMENT
LOWespanso-ui/src/win32/json/json.hpp41#include <iosfwd> // istream, ostreamCOMMENT
LOWespanso-ui/src/win32/json/json.hpp61#include <map> // mapCOMMENT
LOWespanso-ui/src/win32/json/json.hpp121COMMENT
LOWespanso-ui/src/win32/json/json.hpp141#define JSON_HEDLEY_CONCAT_EX(a,b) a##bCOMMENT
LOWespanso-ui/src/win32/json/json.hpp161#define JSON_HEDLEY_VERSION_ENCODE(major,minor,revision) (((major) * 1000000) + ((minor) * 1000) + (revision))COMMENT
LOWespanso-ui/src/win32/json/json.hpp181#if defined(__GNUC__) && defined(__GNUC_PATCHLEVEL__)COMMENT
LOWespanso-ui/src/win32/json/json.hpp201#elif defined(_MSC_FULL_VER)COMMENT
LOWespanso-ui/src/win32/json/json.hpp221 #undef JSON_HEDLEY_INTEL_VERSIONCOMMENT
LOWespanso-ui/src/win32/json/json.hpp241#if defined(__PGI) && defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)COMMENT
LOWespanso-ui/src/win32/json/json.hpp261#elif defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x1000)COMMENT
LOWespanso-ui/src/win32/json/json.hpp281#endifCOMMENT
LOWespanso-ui/src/win32/json/json.hpp301#if defined(JSON_HEDLEY_ARM_VERSION_CHECK)COMMENT
LOWespanso-ui/src/win32/json/json.hpp321#if defined(JSON_HEDLEY_IBM_VERSION_CHECK)COMMENT
LOWespanso-ui/src/win32/json/json.hpp341 #define JSON_HEDLEY_TI_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION_COMMENT
LOWespanso-ui/src/win32/json/json.hpp361#if defined(JSON_HEDLEY_TI_CL2000_VERSION_CHECK)COMMENT
LOWespanso-ui/src/win32/json/json.hpp381 #define JSON_HEDLEY_TI_CL430_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CL430_VERSION >= JSON_HEDLEY_VERSION_ECOMMENT
LOWespanso-ui/src/win32/json/json.hpp401COMMENT
LOWespanso-ui/src/win32/json/json.hpp421#if defined(__TI_COMPILER_VERSION__) && defined(__C7000__)COMMENT
LOWespanso-ui/src/win32/json/json.hpp441#if defined(JSON_HEDLEY_TI_CLPRU_VERSION_CHECK)COMMENT
LOWespanso-ui/src/win32/json/json.hpp461#if defined(JSON_HEDLEY_CRAY_VERSION_CHECK)COMMENT
LOWespanso-ui/src/win32/json/json.hpp481#if defined(JSON_HEDLEY_IAR_VERSION_CHECK)COMMENT
LOWespanso-ui/src/win32/json/json.hpp501 #define JSON_HEDLEY_TINYC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TINYC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(COMMENT
LOWespanso-ui/src/win32/json/json.hpp521COMMENT
LOWespanso-ui/src/win32/json/json.hpp541#if defined(__POCC__)COMMENT
LOWespanso-ui/src/win32/json/json.hpp581#endifCOMMENT
LOWespanso-ui/src/win32/json/json.hpp601#if defined(JSON_HEDLEY_GCC_HAS_ATTRIBUTE)COMMENT
LOWespanso-ui/src/win32/json/json.hpp621COMMENT
LOWespanso-ui/src/win32/json/json.hpp641 #define JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute,major,minor,patch) __has_cpp_attribute(attribute)COMMENT
LOWespanso-ui/src/win32/json/json.hpp661 #define JSON_HEDLEY_HAS_BUILTIN(builtin) (0)COMMENT
LOWespanso-ui/src/win32/json/json.hpp681COMMENT
LOWespanso-ui/src/win32/json/json.hpp701 #undef JSON_HEDLEY_GCC_HAS_FEATURECOMMENT
LOWespanso-ui/src/win32/json/json.hpp721#if defined(__has_extension)COMMENT
LOWespanso-ui/src/win32/json/json.hpp741#elseCOMMENT
LOWespanso-ui/src/win32/json/json.hpp761#endifCOMMENT
LOWespanso-ui/src/win32/json/json.hpp781#if defined(JSON_HEDLEY_GCC_HAS_WARNING)COMMENT
LOWespanso-ui/src/win32/json/json.hpp801 _Pragma("clang diagnostic ignored \"-Wc++17-extensions\"") \COMMENT
LOWespanso-ui/src/win32/json/json.hpp821# define JSON_HEDLEY_CONST_CAST(T, expr) (const_cast<T>(expr))COMMENT
LOWespanso-ui/src/win32/json/json.hpp841#elseCOMMENT
LOWespanso-ui/src/win32/json/json.hpp901COMMENT
LOWespanso-ui/src/win32/json/json.hpp921 #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("push")COMMENT
LOWespanso-ui/src/win32/json/json.hpp941 #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATEDCOMMENT
LOWespanso-ui/src/win32/json/json.hpp961 (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \COMMENT
LOWespanso-ui/src/win32/json/json.hpp981#if JSON_HEDLEY_HAS_WARNING("-Wunknown-pragmas")COMMENT
LOWespanso-ui/src/win32/json/json.hpp1001#elseCOMMENT
LOWespanso-ui/src/win32/json/json.hpp1021 JSON_HEDLEY_TI_VERSION_CHECK(18,1,0) || \COMMENT
LOWespanso-ui/src/win32/json/json.hpp1041 #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUALCOMMENT
LOWespanso-ui/src/win32/json/json.hpp1081 (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \COMMENT
LOWespanso-ui/src/win32/json/json.hpp1101 #undef JSON_HEDLEY_UNAVAILABLECOMMENT
LOWespanso-ui/src/win32/json/json.hpp1141 #define JSON_HEDLEY_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))COMMENT
LOWespanso-ui/src/win32/json/json.hpp1161 #define JSON_HEDLEY_SENTINEL(position)COMMENT
LOWespanso-ui/src/win32/json/json.hpp1201#elif JSON_HEDLEY_PELLES_VERSION_CHECK(9,0,0)COMMENT
100 more matches not shown…
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMdocs/src/ch04-02-recipes-and-cookbook.md210 print(f"Error during {benchmark_name} execution (non-zero exit code {e.returncode}):", file=sys.stderr)CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWespanso/src/res/config/base.yml31 # Print the output of a shell commandCOMMENT