AI Slop Code RIsk Monitor

DioxusLabs/dioxus

Fullstack app framework for web, desktop, and mobile.

4.6 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for DioxusLabs/dioxus, a Rust project with 39,361 GitHub stars. SynthScan examined 224,937 lines of code across 1270 source files, recording 866 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 4.6 (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.

4.6
Adjusted Signal
4.6
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
39.4K
Stars
Rust
Language
224.9K
Lines of Code
1.3K
Files
866
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.1/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 20.3/100 · LOW

Which changes need focused human review? 866 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 12HIGH 1MEDIUM 21LOW 832

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 866 distinct pattern matches across 12 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 Block806 hits · 784 pts
SeverityFileLineSnippetContext
LOWnotes/architecture/11-NATIVE-PLUGIN-FFI.md41## Phase 1: The MacroCOMMENT
LOWexamples/01-app-demos/todomvc_store.rs1//! The typical TodoMVC app, implemented in Dioxus with stores. Stores let usCOMMENT
LOW…p-demos/geolocation-native-plugin/src/plugin/models.rs1// Copyright 2019-2023 Tauri Programme within The Commons ConservancyCOMMENT
LOW…p-demos/geolocation-native-plugin/src/plugin/models.rs21COMMENT
LOW…p-demos/geolocation-native-plugin/src/plugin/models.rs41 ///COMMENT
LOW…p-demos/geolocation-native-plugin/src/plugin/models.rs81 /// Accuracy level of the latitude and longitude coordinates in meters.COMMENT
LOW…p-demos/geolocation-native-plugin/src/plugin/models.rs101 pub coords: Coordinates,COMMENT
LOW…-app-demos/geolocation-native-plugin/src/plugin/mod.rs1#![allow(non_snake_case)]COMMENT
LOW…-app-demos/geolocation-native-plugin/src/plugin/mod.rs21// Note: Permissions are now declared in Dioxus.toml using the unified manifest system.COMMENT
LOW…-app-demos/geolocation-native-plugin/src/plugin/mod.rs41///COMMENT
LOW…-app-demos/geolocation-native-plugin/src/plugin/mod.rs141 // =========================================================================COMMENT
LOW…rc/ios/widget/Sources/LocationActivityAttributes.swift1// Shared ActivityAttributes for Live ActivitiesCOMMENT
LOW…rc/ios/plugin/Sources/LocationActivityAttributes.swift1// Shared ActivityAttributes for Live ActivitiesCOMMENT
LOWexamples/08-apis/logging.rs1//! Dioxus ships out-of-the-box with tracing hooks that integrate with the Dioxus-CLI.COMMENT
LOWexamples/09-reference/rsx_usage.rs1//! A tour of the rsx! macroCOMMENT
LOWexamples/09-reference/rsx_usage.rs21//!COMMENT
LOWexamples/06-routing/hash_fragment_state.rs1//! This example shows how to use the hash segment to store state in the url.COMMENT
LOWexamples/06-routing/router.rs21COMMENT
LOWexamples/06-routing/router.rs41 #[route("/:name")]COMMENT
LOWexamples/06-routing/query_segment_search.rs1//! This example shows how to access and use query segments present in an url on the web.COMMENT
LOWexamples/07-fullstack/handling_errors.rs1//! An example of handling errors from server functions.COMMENT
LOWexamples/07-fullstack/streaming_file_upload.rs21 // Dioxus provides the `FileStream` type for efficiently uploading files in a streaming fashion.COMMENT
LOWexamples/07-fullstack/server_sent_events.rs1//! This example demonstrates server-sent events (SSE) using Dioxus Fullstack.COMMENT
LOWexamples/07-fullstack/custom_axum_serve.rs1//! This example demonstrates how to use `dioxus::serve` with a custom Axum router.COMMENT
LOWexamples/07-fullstack/websocket.rs1//! This example showcases the built-in websocket functionality in Dioxus Fullstack.COMMENT
LOWexamples/07-fullstack/streaming.rs1//! This example shows how to use the `Streaming<T, E>` type to send streaming responses from theCOMMENT
LOWexamples/07-fullstack/server_functions.rs1//! This example is a simple showcase of Dioxus Server Functions.COMMENT
LOWexamples/07-fullstack/server_functions.rs21//! RPC functions but also complex extractors for things like auth, sessions, cookies, and more.COMMENT
LOWexamples/07-fullstack/server_functions.rs41//!COMMENT
LOWexamples/07-fullstack/server_functions.rs61//!COMMENT
LOWexamples/07-fullstack/server_functions.rs81//! #[post("/api/authenticate", auth: AuthCookie)]COMMENT
LOWexamples/07-fullstack/server_functions.rs101//! Middleware will be applied in the order they are specified, and will be applied before anyCOMMENT
LOWexamples/07-fullstack/server_functions.rs201 room_id.map_or("None".to_string(), |id| id.to_string()),COMMENT
LOWexamples/07-fullstack/auth/src/main.rs1//! This example showcases how to use the `axum-session-auth` crate with Dioxus fullstack.COMMENT
LOWexamples/07-fullstack/hello-world/src/main.rs1//! A simple hello world example for Dioxus fullstackCOMMENT
LOWexamples/07-fullstack/ssr-only/src/main.rs1//! This example showcases how to use Fullstack in a server-side rendering only context.COMMENT
LOWexamples/03-assets-styling/fonts.rs1//! Loading fonts — from a CDN and bundled with the app.COMMENT
LOWpackages/stores-macro/src/lib.rs1use proc_macro::TokenStream;COMMENT
LOWpackages/stores-macro/src/lib.rs21/// ### StructsCOMMENT
LOWpackages/stores-macro/src/lib.rs41/// // that returns a store scoped to that field.COMMENT
LOWpackages/stores-macro/src/lib.rs61///COMMENT
LOWpackages/stores-macro/src/lib.rs81/// // The store macro creates an extension trait with methods for each variant to checkCOMMENT
LOWpackages/stores-macro/src/lib.rs121}COMMENT
LOWpackages/stores-macro/src/lib.rs141///COMMENT
LOWpackages/stores-macro/src/lib.rs161/// // with ReadStore<TodoItem>COMMENT
LOWpackages/asset-resolver/src/native.rs141/// Get the asset directory, following tauri/cargo-bundles directory discovery approachCOMMENT
LOWpackages/asset-resolver/src/lib.rs1#![warn(missing_docs)]COMMENT
LOWpackages/asset-resolver/src/lib.rs21//! // Bundle the static JSON asset into the applicationCOMMENT
LOWpackages/asset-resolver/src/lib.rs41/// An error that can occur when resolving an asset to a path. Not all platforms can represent assets as paths,COMMENT
LOWpackages/asset-resolver/src/lib.rs61///COMMENT
LOWpackages/asset-resolver/src/lib.rs81/// // Deserialize the JSON dataCOMMENT
LOWpackages/asset-resolver/src/lib.rs101/// // Read the bytes of the JSON assetCOMMENT
LOWpackages/asset-resolver/src/lib.rs121#[non_exhaustive]COMMENT
LOWpackages/asset-resolver/src/lib.rs141/// This function will return an error if the asset cannot be found or if it fails to read which may be due to I/O errorCOMMENT
LOWpackages/asset-resolver/src/lib.rs161///COMMENT
LOWpackages/fullstack-server/src/redirect.rs1use std::sync::OnceLock;COMMENT
LOWpackages/fullstack-server/src/index_html.rs1use anyhow::Context;COMMENT
LOWpackages/fullstack-server/src/config.rs101 /// use dioxus::prelude::*;COMMENT
LOWpackages/fullstack-server/src/config.rs121 ///COMMENT
LOWpackages/fullstack-server/src/config.rs141 /// Ok(COMMENT
746 more matches not shown…
Hallucination Indicators12 hits · 135 pts
SeverityFileLineSnippetContext
CRITICALpackages/cli/src/serve/server.rs498 for proxy_config in build.build.config.web.proxy.iter() {CODE
CRITICALpackages/cli/src/serve/runner.rs197 client.build.config.application.tailwind_input.clone(),CODE
CRITICALpackages/cli/src/serve/runner.rs198 client.build.config.application.tailwind_output.clone(),CODE
CRITICALpackages/cli/src/serve/runner.rs1714 self.client.build.config.application.tailwind_input.clone(),CODE
CRITICALpackages/cli/src/serve/runner.rs1715 self.client.build.config.application.tailwind_output.clone(),CODE
CRITICALpackages/cli/src/bundler/mod.rs233 self.build.config.bundle.publisher.as_deref()CODE
CRITICALpackages/cli/src/bundler/mod.rs254 self.build.config.bundle.long_description.as_deref()CODE
CRITICALpackages/cli/src/bundler/mod.rs259 self.build.config.bundle.copyright.as_deref()CODE
CRITICALpackages/cli/src/bundler/mod.rs294 self.build.config.bundle.category.as_deref()CODE
CRITICAL⚡packages/cli/src/bundler/mod.rs420 self.build.config.bundle.deb.clone().unwrap_or_default()CODE
CRITICAL⚡packages/cli/src/bundler/mod.rs425 self.build.config.bundle.macos.clone().unwrap_or_default()CODE
CRITICAL⚡packages/cli/src/bundler/mod.rs430 self.build.config.bundle.windows.clone().unwrap_or_default()CODE
AI Slop Vocabulary12 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUM⚡packages/playwright-tests/wasm-split-harness/run.sh4# To hack on harness you need the `wasm-tools` CLI installedCOMMENT
MEDIUM⚡packages/playwright-tests/wasm-split-harness/run.sh7# This script is also sensitive to where it's run from, so you *need* to be in the harness folder (running as `./run.sh`COMMENT
MEDIUM⚡packages/playwright-tests/wasm-split-harness/run.sh11# build the harnessCOMMENT
MEDIUMpackages/playwright-tests/wasm-split-harness/run.sh36# copy the output wasm file to the harness dirCOMMENT
MEDIUMpackages/playwright-tests/wasm-split-harness/run.sh57 # wasm-tools strip data/harness/split/$path -o data/harness/split/$path --allCOMMENT
MEDIUMpackages/playwright-tests/wasm-split-harness/run.sh73# wasm-tools strip data/harness/split/$path -o strip data/harness/split_not/main_bg_opt.wasm --allCOMMENT
MEDIUMpackages/desktop/Cargo.toml130# These tests need to be run on the main thread, so they cannot use rust's test harness.COMMENT
MEDIUMpackages/cli/src/test_harnesses.rs211 .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicatCODE
MEDIUMpackages/cli/src/test_harnesses.rs219 .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicatCODE
MEDIUMpackages/cli/src/config/inline_config.rs75 // more robust, but this handles the common case)COMMENT
MEDIUMpackages/rsx/src/component.rs3//! Uses the regular robust RsxBlock parser and then validates the component, emitting errors asCOMMENT
LOW.github/workflows/publish.yml133 # Todo: we want `cargo install dx` to actually just use a prebuilt binary instead of building itCOMMENT
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMpackages/subsecond/subsecond/src/lib.rs597 // ── HOST-STATE-MUTATING SECTION ───────────────────────────────COMMENT
MEDIUM.github/workflows/main.yml30 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/main.yml35 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/main.yml62 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/main.yml64 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/main.yml92 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/main.yml94 # ---------------------------------------------------------------------------COMMENT
Verbosity Indicators7 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/rsx-hotreload/src/last_build_state.rs148 } // If it is a dynamic segment, we need to check if it exists in the formatted segments poolCODE
LOWpackages/core/src/diff/component.rs57 // If there are suspended scopes, we need to check if the scope is suspended before we diff itCOMMENT
LOWpackages/core/src/diff/component.rs102 // If there are suspended scopes, we need to check if the scope is suspended before we diff itCOMMENT
LOWpackages/stores/src/impls/btreemap.rs138 // to mark only the existing value as dirty. Instead we need to check if the value already existsCOMMENT
LOWpackages/core-macro/src/props/mod.rs753 // If this is an optional event handler, we need to check if it's None before we try to update itCOMMENT
LOWpackages/cli/src/serve/runner.rs377 // If the build is ready, we need to check if we need to pre-render with ssgCOMMENT
LOWpackages/hooks/src/use_after_suspense_resolved.rs8 // If this is under a suspense boundary, we need to check if it is resolvedCOMMENT
Structural Annotation Overuse6 hits · 9 pts
SeverityFileLineSnippetContext
LOWpackages/signals/src/write.rs46 /// NOTE: This method is completely safe because borrow checking is done at runtime.COMMENT
LOWpackages/signals/src/write.rs285 /// NOTE: This method is completely safe because borrow checking is done at runtime.COMMENT
LOWpackages/signals/src/read.rs50 /// NOTE: This method is completely safe because borrow checking is done at runtime.COMMENT
LOWpackages/signals/src/read.rs60 /// NOTE: This method is completely safe because borrow checking is done at runtime.COMMENT
LOWpackages/signals/src/read.rs98 /// NOTE: This method is completely safe because borrow checking is done at runtime.COMMENT
LOWpackages/router/src/routable.rs634 /// NOTE: This method must parse the output of `ToRouteSegments::display_route_segments` into the type `Self`.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpackages/desktop/src/hooks.rs95/// The callback takes a path as requested by the web view, and it should return `Some(response)`COMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/07-fullstack/login_form.rs70/// A static session ID for demonstration purposes. This forces all previous logins to be invalidatedCOMMENT
MEDIUMpackages/html/src/attribute_groups.rs135 #[deprecated(note = "This attribute does nothing. For most renderers, you should prefer calling [`dioxus_core::EventCOMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWpackages/interpreter/src/js/native.js1function serializeEvent(event,target){let contents={},extend=(obj)=>contents={...contents,...obj};if(event instanceof WhCODE
LOWpackages/interpreter/src/ts/native.ts541function handleVirtualdomEventSync(CODE
LOWpackages/interpreter/src/ts/serialize.ts131function toSerializableResizeObserverSize(CODE
LOWpackages/interpreter/src/ts/serialize.ts141export function serializeResizeEventDetail(CODE
LOWpackages/interpreter/src/ts/serialize.ts172export function serializeIntersectionEventDetail(CODE
LOWpackages/interpreter/src/ts/serialize.ts495export function extractSerializedFormValues(event: Event, target: HTMLElement): SerializedFormData {CODE
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWexamples/06-routing/flat_router.rs59 p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOWexamples/06-routing/flat_router.rs59 p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloCODE
LOWexamples/07-fullstack/through_reqwest.rs45 name: "John Doe".into(),CODE
LOWexamples/07-fullstack/websocket.rs31 let mut name = use_signal(|| "John Doe".to_string());CODE
LOW…t-tests/cli-optimization/assets/sweetalert2.all.min.js5!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡packages/playwright-tests/wasm-split-harness/run.sh1# This file is a simple shell script that runs the bundle split process manually without the CLI involvedCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/native-dom/src/events.rs411 // TODO: implement these fields with real valuesCOMMENT