AI Slop Code Risk Monitor

tauri-apps/tauri

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

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

3.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for tauri-apps/tauri, a Rust project with 112,352 GitHub stars. SynthScan examined 183,395 lines of code across 781 source files, recording 737 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 3.7 (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.

3.7
Adjusted Signal
3.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
112.4K
Stars
Rust
Language
183.4K
Lines of Code
781
Files
737
Pattern Hits
2026-10-31
Scan Date
0.01
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 15.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 19.6/100 · LOW

Which changes need focused human review? 737 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 5HIGH 2MEDIUM 4LOW 726

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 737 distinct pattern matches across 7 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 Block712 hits · 590 pts
SeverityFileLineSnippetContext
LOWbench/src/utils.rs1// Copyright 2019-2024 Tauri Programme within The Commons ConservancyCOMMENT
LOWcrates/tauri-codegen/src/embedded_assets.rs61COMMENT
LOWcrates/tauri-runtime-wry/src/window/mod.rs21pub trait WindowExt {COMMENT
LOWcrates/tauri-runtime/src/monitor.rs1// Copyright 2019-2024 Tauri Programme within The Commons ConservancyCOMMENT
LOWcrates/tauri-runtime/src/lib.rs81#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize)]COMMENT
LOWcrates/tauri-runtime/src/lib.rs121 NorthWest,COMMENT
LOWcrates/tauri-runtime/src/lib.rs141 /// Failed to create window.COMMENT
LOWcrates/tauri-runtime/src/lib.rs241 /// Emitted when the user wants to open the specified resource with the app.COMMENT
LOWcrates/tauri-runtime/src/lib.rs261 /// Options that were used to request the scene.COMMENT
LOWcrates/tauri-runtime/src/lib.rs341 /// Get the cursor position relative to the top-left hand corner of the desktop.COMMENT
LOWcrates/tauri-runtime/src/lib.rs481 /// Returns the list of all the monitors available on the system.COMMENT
LOWcrates/tauri-runtime/src/lib.rs501 #[cfg(target_os = "macos")]COMMENT
LOWcrates/tauri-runtime/src/lib.rs521 ///COMMENT
LOWcrates/tauri-runtime/src/lib.rs641 /// # StabilityCOMMENT
LOWcrates/tauri-runtime/src/lib.rs721 /// Gets the window's current decoration state.COMMENT
LOWcrates/tauri-runtime/src/lib.rs741 /// Gets the window's native close button state.COMMENT
LOWcrates/tauri-runtime/src/lib.rs841COMMENT
LOWcrates/tauri-runtime/src/lib.rs861 /// - **Linux / iOS / Android:** Unsupported.COMMENT
LOWcrates/tauri-runtime/src/lib.rs981COMMENT
LOWcrates/tauri-runtime/src/lib.rs1001 fn set_overlay_icon(&self, icon: Option<Icon>) -> Result<()>;COMMENT
LOWcrates/tauri-runtime/src/lib.rs1021 ///COMMENT
LOWcrates/tauri-runtime/src/window.rs41 Destroyed,COMMENT
LOWcrates/tauri-runtime/src/window.rs61 /// The system window theme has changed.COMMENT
LOWcrates/tauri-runtime/src/window.rs81 /// - **Android**: This is triggered by `onResume` method of the Activity. The first onResume() is ignored to match thCOMMENT
LOWcrates/tauri-runtime/src/window.rs121}COMMENT
LOWcrates/tauri-runtime/src/window.rs241 pub min_height: Option<PixelUnit>,COMMENT
LOWcrates/tauri-runtime/src/window.rs281 #[must_use]COMMENT
LOWcrates/tauri-runtime/src/window.rs301 /// on creation with a marginCOMMENT
LOWcrates/tauri-runtime/src/window.rs321 #[must_use]COMMENT
LOWcrates/tauri-runtime/src/window.rs361COMMENT
LOWcrates/tauri-runtime/src/window.rs401 /// Set the window background color.COMMENT
LOWcrates/tauri-runtime/src/window.rs421 /// - The system automatically destroys an owned window when its owner is destroyed.COMMENT
LOWcrates/tauri-runtime/src/window.rs461COMMENT
LOWcrates/tauri-runtime/src/window.rs501 /// This sets `WS_EX_NOREDIRECTIONBITMAP`.COMMENT
LOWcrates/tauri-runtime/src/webview.rs161 }COMMENT
LOWcrates/tauri-runtime/src/webview.rs181///COMMENT
LOWcrates/tauri-runtime/src/webview.rs341 /// When webview load a new page, this initialization code will be executed.COMMENT
LOWcrates/tauri-runtime/src/webview.rs381 ///COMMENT
LOWcrates/tauri-runtime/src/webview.rs401 /// The closure parameter is the webview instance.COMMENT
LOWcrates/tauri-runtime/src/webview.rs561 }COMMENT
LOWcrates/tauri-runtime/src/webview.rs581 /// - **Windows:** scripts are always added to subframes.COMMENT
LOWcrates/tauri-runtime/src/webview.rs601 ///COMMENT
LOWcrates/tauri-runtime/src/webview.rs701 self.proxy_url = Some(url);COMMENT
LOWcrates/tauri-runtime/src/webview.rs721 ///COMMENT
LOWcrates/tauri-runtime/src/webview.rs741 #[must_use]COMMENT
LOWcrates/tauri-runtime/src/webview.rs761COMMENT
LOWcrates/tauri-runtime/src/webview.rs801 /// Whether to limit navigations to App-Bound Domains. This is necessary toCOMMENT
LOWcrates/tauri-runtime/src/webview.rs821 /// ```COMMENT
LOWcrates/tauri-runtime/src/webview.rs841 ///COMMENT
LOWcrates/tauri-runtime/src/webview.rs861 ///COMMENT
LOWcrates/tauri-runtime/src/webview.rs881 /// CSS styles that modify the scrollbar are applied on top of the native appearance configured here.COMMENT
LOWcrates/tauri-runtime/src/webview.rs901 /// **This option does not disable password or credit card autofill.**COMMENT
LOWcrates/tauri-runtime/src/webview_permissions.rs1// Copyright 2019-2024 Tauri Programme within The Commons ConservancyCOMMENT
LOWcrates/tauri-runtime/src/webview_permissions.rs21 Geolocation,COMMENT
LOWcrates/tauri-runtime/src/webview_permissions.rs41 /// ## Platform-specificCOMMENT
LOWcrates/tauri-runtime/src/webview_permissions.rs61 /// Local fonts access permission.COMMENT
LOWcrates/tauri-runtime/src/webview_permissions.rs81 PointerLock,COMMENT
LOWcrates/tauri-build/src/lib.rs1// Copyright 2019-2024 Tauri Programme within The Commons ConservancyCOMMENT
LOWcrates/tauri-build/src/lib.rs21//! configured frameworks;COMMENT
LOWcrates/tauri-build/src/lib.rs41//! Customizing the build with [`Attributes`]:COMMENT
652 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALcrates/tauri/src/protocol/tauri.rs168 .add_configured_headers(manager.config.app.security.headers.as_ref())CODE
CRITICALcrates/tauri/src/protocol/isolation.rs59 .add_configured_headers(manager.config.app.security.headers.as_ref())CODE
CRITICALcrates/tauri/src/tray/mod.rs644 let mut icons = self.app_handle.manager.tray.icons.lock().unwrap();CODE
CRITICALcrates/tauri/src/manager/mod.rs363 self.config.app.security.csp.clone()CODE
CRITICALcrates/tauri/src/manager/mod.rs371 .or_else(|| self.config.app.security.csp.clone())CODE
Slop Phrases10 hits · 13 pts
SeverityFileLineSnippetContext
LOWcrates/tauri/src/ipc/format_callback.rs212 r#"{"test":"don\\🚀🐱‍👤\\'t forget to escape me!🚀🐱‍👤","te🚀🐱‍👤st2":"don't forget to escape me!","test3":"\\🚀🐱‍👤\\\\''CODE
LOWcrates/tauri/src/ipc/format_callback.rs212 r#"{"test":"don\\🚀🐱‍👤\\'t forget to escape me!🚀🐱‍👤","te🚀🐱‍👤st2":"don't forget to escape me!","test3":"\\🚀🐱‍👤\\\\''CODE
LOWcrates/tauri/src/ipc/format_callback.rs296 r#"{"test":"don\\🚀🐱‍👤\\'t forget to escape me!🚀🐱‍👤","te🚀🐱‍👤st2":"don't forget to escape me!","test3":"\\🚀🐱‍👤\\\\''CODE
LOWcrates/tauri/src/ipc/format_callback.rs296 r#"{"test":"don\\🚀🐱‍👤\\'t forget to escape me!🚀🐱‍👤","te🚀🐱‍👤st2":"don't forget to escape me!","test3":"\\🚀🐱‍👤\\\\''CODE
MEDIUMcrates/tauri-cli/config.schema.json173 "description": "The app windows configuration.\n\n ## Example:\n\n To create a window at app startup\n\n ```jsCODE
LOWcrates/tauri-cli/config.schema.json2345 "description": "A list of—either absolute or relative—paths to binaries to embed with your application.\n\n NoCODE
LOWcrates/tauri-utils/src/config.rs1693 /// so don't forget to provide binaries for all targeted platforms.COMMENT
LOWcrates/tauri-utils/src/config_v1/mod.rs760 /// so don't forget to provide binaries for all targeted platforms.COMMENT
MEDIUM…ates/tauri-schema-generator/schemas/config.schema.json173 "description": "The app windows configuration.\n\n ## Example:\n\n To create a window at app startup\n\n ```jsCODE
LOW…ates/tauri-schema-generator/schemas/config.schema.json2345 "description": "A list of—either absolute or relative—paths to binaries to embed with your application.\n\n NoCODE
AI Response Leakage2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHcrates/tauri-cli/config.schema.json1706 "description": "A struct, where the keys are some specific http header names.\n\n If the values to those keys are CODE
HIGH…ates/tauri-schema-generator/schemas/config.schema.json1706 "description": "A struct, where the keys are some specific http header names.\n\n If the values to those keys are CODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcrates/tauri-cli/src/interface/rust.rs796 // to add more modes, we need to check if the updater relaunch makes senseCOMMENT
LOWcrates/tauri-cli/src/interface/rust/cargo_config.rs153/// The purpose of this function is to aid in the transition to usingCOMMENT
LOWcrates/tauri-utils/src/config_v1/mod.rs2473 // to add more modes, we need to check if the updater relaunch makes senseCOMMENT
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMcrates/tauri-cli/CHANGELOG.md116- [`efa82f5ed`](https://www.github.com/tauri-apps/tauri/commit/efa82f5ed989f84b076b6ee6d2f0e1e6dd0aadbf) ([#16125](httpsCODE
MEDIUMpackages/cli/CHANGELOG.md107- [`efa82f5ed`](https://www.github.com/tauri-apps/tauri/commit/efa82f5ed989f84b076b6ee6d2f0e1e6dd0aadbf) ([#16125](httpsCODE
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/api/src/views/Menu.svelte30 async function createSubmenuWithNativeIcon(): Promise<Submenu> {CODE
LOWexamples/api/src/views/Menu.svelte38 async function createSubmenuWithImageIcon(): Promise<Submenu> {CODE
LOWpackages/api/src/app.ts182async function fetchDataStoreIdentifiers(): Promise<DataStoreIdentifier[]> {CODE