Fullstack app framework for web, desktop, and mobile.
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 842 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 13 finding(s).
Which changes need focused human review? 866 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | notes/architecture/11-NATIVE-PLUGIN-FFI.md | 41 | ## Phase 1: The Macro | COMMENT |
| LOW | examples/01-app-demos/todomvc_store.rs | 1 | //! The typical TodoMVC app, implemented in Dioxus with stores. Stores let us | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 21 | COMMENT | |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 41 | /// | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 81 | /// Accuracy level of the latitude and longitude coordinates in meters. | COMMENT |
| LOW | …p-demos/geolocation-native-plugin/src/plugin/models.rs | 101 | pub coords: Coordinates, | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 1 | #![allow(non_snake_case)] | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 21 | // Note: Permissions are now declared in Dioxus.toml using the unified manifest system. | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 41 | /// | COMMENT |
| LOW | …-app-demos/geolocation-native-plugin/src/plugin/mod.rs | 141 | // ========================================================================= | COMMENT |
| LOW | …rc/ios/widget/Sources/LocationActivityAttributes.swift | 1 | // Shared ActivityAttributes for Live Activities | COMMENT |
| LOW | …rc/ios/plugin/Sources/LocationActivityAttributes.swift | 1 | // Shared ActivityAttributes for Live Activities | COMMENT |
| LOW | examples/08-apis/logging.rs | 1 | //! Dioxus ships out-of-the-box with tracing hooks that integrate with the Dioxus-CLI. | COMMENT |
| LOW | examples/09-reference/rsx_usage.rs | 1 | //! A tour of the rsx! macro | COMMENT |
| LOW | examples/09-reference/rsx_usage.rs | 21 | //! | COMMENT |
| LOW | examples/06-routing/hash_fragment_state.rs | 1 | //! This example shows how to use the hash segment to store state in the url. | COMMENT |
| LOW | examples/06-routing/router.rs | 21 | COMMENT | |
| LOW | examples/06-routing/router.rs | 41 | #[route("/:name")] | COMMENT |
| LOW | examples/06-routing/query_segment_search.rs | 1 | //! This example shows how to access and use query segments present in an url on the web. | COMMENT |
| LOW | examples/07-fullstack/handling_errors.rs | 1 | //! An example of handling errors from server functions. | COMMENT |
| LOW | examples/07-fullstack/streaming_file_upload.rs | 21 | // Dioxus provides the `FileStream` type for efficiently uploading files in a streaming fashion. | COMMENT |
| LOW | examples/07-fullstack/server_sent_events.rs | 1 | //! This example demonstrates server-sent events (SSE) using Dioxus Fullstack. | COMMENT |
| LOW | examples/07-fullstack/custom_axum_serve.rs | 1 | //! This example demonstrates how to use `dioxus::serve` with a custom Axum router. | COMMENT |
| LOW | examples/07-fullstack/websocket.rs | 1 | //! This example showcases the built-in websocket functionality in Dioxus Fullstack. | COMMENT |
| LOW | examples/07-fullstack/streaming.rs | 1 | //! This example shows how to use the `Streaming<T, E>` type to send streaming responses from the | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 1 | //! This example is a simple showcase of Dioxus Server Functions. | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 21 | //! RPC functions but also complex extractors for things like auth, sessions, cookies, and more. | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 41 | //! | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 61 | //! | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 81 | //! #[post("/api/authenticate", auth: AuthCookie)] | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 101 | //! Middleware will be applied in the order they are specified, and will be applied before any | COMMENT |
| LOW | examples/07-fullstack/server_functions.rs | 201 | room_id.map_or("None".to_string(), |id| id.to_string()), | COMMENT |
| LOW | examples/07-fullstack/auth/src/main.rs | 1 | //! This example showcases how to use the `axum-session-auth` crate with Dioxus fullstack. | COMMENT |
| LOW | examples/07-fullstack/hello-world/src/main.rs | 1 | //! A simple hello world example for Dioxus fullstack | COMMENT |
| LOW | examples/07-fullstack/ssr-only/src/main.rs | 1 | //! This example showcases how to use Fullstack in a server-side rendering only context. | COMMENT |
| LOW | examples/03-assets-styling/fonts.rs | 1 | //! Loading fonts — from a CDN and bundled with the app. | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 1 | use proc_macro::TokenStream; | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 21 | /// ### Structs | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 41 | /// // that returns a store scoped to that field. | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 61 | /// | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 81 | /// // The store macro creates an extension trait with methods for each variant to check | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 121 | } | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 141 | /// | COMMENT |
| LOW | packages/stores-macro/src/lib.rs | 161 | /// // with ReadStore<TodoItem> | COMMENT |
| LOW | packages/asset-resolver/src/native.rs | 141 | /// Get the asset directory, following tauri/cargo-bundles directory discovery approach | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 1 | #![warn(missing_docs)] | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 21 | //! // Bundle the static JSON asset into the application | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 41 | /// An error that can occur when resolving an asset to a path. Not all platforms can represent assets as paths, | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 61 | /// | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 81 | /// // Deserialize the JSON data | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 101 | /// // Read the bytes of the JSON asset | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 121 | #[non_exhaustive] | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 141 | /// 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 error | COMMENT |
| LOW | packages/asset-resolver/src/lib.rs | 161 | /// | COMMENT |
| LOW | packages/fullstack-server/src/redirect.rs | 1 | use std::sync::OnceLock; | COMMENT |
| LOW | packages/fullstack-server/src/index_html.rs | 1 | use anyhow::Context; | COMMENT |
| LOW | packages/fullstack-server/src/config.rs | 101 | /// use dioxus::prelude::*; | COMMENT |
| LOW | packages/fullstack-server/src/config.rs | 121 | /// | COMMENT |
| LOW | packages/fullstack-server/src/config.rs | 141 | /// Ok( | COMMENT |
| 746 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/cli/src/serve/server.rs | 498 | for proxy_config in build.build.config.web.proxy.iter() { | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 197 | client.build.config.application.tailwind_input.clone(), | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 198 | client.build.config.application.tailwind_output.clone(), | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 1714 | self.client.build.config.application.tailwind_input.clone(), | CODE |
| CRITICAL | packages/cli/src/serve/runner.rs | 1715 | self.client.build.config.application.tailwind_output.clone(), | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 233 | self.build.config.bundle.publisher.as_deref() | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 254 | self.build.config.bundle.long_description.as_deref() | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 259 | self.build.config.bundle.copyright.as_deref() | CODE |
| CRITICAL | packages/cli/src/bundler/mod.rs | 294 | self.build.config.bundle.category.as_deref() | CODE |
| CRITICAL⚡ | packages/cli/src/bundler/mod.rs | 420 | self.build.config.bundle.deb.clone().unwrap_or_default() | CODE |
| CRITICAL⚡ | packages/cli/src/bundler/mod.rs | 425 | self.build.config.bundle.macos.clone().unwrap_or_default() | CODE |
| CRITICAL⚡ | packages/cli/src/bundler/mod.rs | 430 | self.build.config.bundle.windows.clone().unwrap_or_default() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 4 | # To hack on harness you need the `wasm-tools` CLI installed | COMMENT |
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 7 | # 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.sh | 11 | # build the harness | COMMENT |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 36 | # copy the output wasm file to the harness dir | COMMENT |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 57 | # wasm-tools strip data/harness/split/$path -o data/harness/split/$path --all | COMMENT |
| MEDIUM | packages/playwright-tests/wasm-split-harness/run.sh | 73 | # wasm-tools strip data/harness/split/$path -o strip data/harness/split_not/main_bg_opt.wasm --all | COMMENT |
| MEDIUM | packages/desktop/Cargo.toml | 130 | # These tests need to be run on the main thread, so they cannot use rust's test harness. | COMMENT |
| MEDIUM | packages/cli/src/test_harnesses.rs | 211 | .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicat | CODE |
| MEDIUM | packages/cli/src/test_harnesses.rs | 219 | .asrt(r#"dx build @client --package harness-simple-dedicated-client @server --package harness-simple-dedicat | CODE |
| MEDIUM | packages/cli/src/config/inline_config.rs | 75 | // more robust, but this handles the common case) | COMMENT |
| MEDIUM | packages/rsx/src/component.rs | 3 | //! Uses the regular robust RsxBlock parser and then validates the component, emitting errors as | COMMENT |
| LOW | .github/workflows/publish.yml | 133 | # Todo: we want `cargo install dx` to actually just use a prebuilt binary instead of building it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/subsecond/subsecond/src/lib.rs | 597 | // ── HOST-STATE-MUTATING SECTION ─────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/main.yml | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/main.yml | 94 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/rsx-hotreload/src/last_build_state.rs | 148 | } // If it is a dynamic segment, we need to check if it exists in the formatted segments pool | CODE |
| LOW | packages/core/src/diff/component.rs | 57 | // If there are suspended scopes, we need to check if the scope is suspended before we diff it | COMMENT |
| LOW | packages/core/src/diff/component.rs | 102 | // If there are suspended scopes, we need to check if the scope is suspended before we diff it | COMMENT |
| LOW | packages/stores/src/impls/btreemap.rs | 138 | // to mark only the existing value as dirty. Instead we need to check if the value already exists | COMMENT |
| LOW | packages/core-macro/src/props/mod.rs | 753 | // If this is an optional event handler, we need to check if it's None before we try to update it | COMMENT |
| LOW | packages/cli/src/serve/runner.rs | 377 | // If the build is ready, we need to check if we need to pre-render with ssg | COMMENT |
| LOW | packages/hooks/src/use_after_suspense_resolved.rs | 8 | // If this is under a suspense boundary, we need to check if it is resolved | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/signals/src/write.rs | 46 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/write.rs | 285 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/read.rs | 50 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/read.rs | 60 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/signals/src/read.rs | 98 | /// NOTE: This method is completely safe because borrow checking is done at runtime. | COMMENT |
| LOW | packages/router/src/routable.rs | 634 | /// NOTE: This method must parse the output of `ToRouteSegments::display_route_segments` into the type `Self`. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/desktop/src/hooks.rs | 95 | /// The callback takes a path as requested by the web view, and it should return `Some(response)` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/07-fullstack/login_form.rs | 70 | /// A static session ID for demonstration purposes. This forces all previous logins to be invalidated | COMMENT |
| MEDIUM | packages/html/src/attribute_groups.rs | 135 | #[deprecated(note = "This attribute does nothing. For most renderers, you should prefer calling [`dioxus_core::Event | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/interpreter/src/js/native.js | 1 | function serializeEvent(event,target){let contents={},extend=(obj)=>contents={...contents,...obj};if(event instanceof Wh | CODE |
| LOW | packages/interpreter/src/ts/native.ts | 541 | function handleVirtualdomEventSync( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 131 | function toSerializableResizeObserverSize( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 141 | export function serializeResizeEventDetail( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 172 | export function serializeIntersectionEventDetail( | CODE |
| LOW | packages/interpreter/src/ts/serialize.ts | 495 | export function extractSerializedFormValues(event: Event, target: HTMLElement): SerializedFormData { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/06-routing/flat_router.rs | 59 | p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | examples/06-routing/flat_router.rs | 59 | p { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | examples/07-fullstack/through_reqwest.rs | 45 | name: "John Doe".into(), | CODE |
| LOW | examples/07-fullstack/websocket.rs | 31 | let mut name = use_signal(|| "John Doe".to_string()); | CODE |
| LOW | …t-tests/cli-optimization/assets/sweetalert2.all.min.js | 5 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/playwright-tests/wasm-split-harness/run.sh | 1 | # This file is a simple shell script that runs the bundle split process manually without the CLI involved | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/native-dom/src/events.rs | 411 | // TODO: implement these fields with real values | COMMENT |