AI Slop Code Risk Monitor

localsend/localsend

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

An open-source cross-platform alternative to AirDrop

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for localsend/localsend, a Dart project with 96,791 GitHub stars. SynthScan examined 223,285 lines of code across 759 source files, recording 119 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
96.8K
Stars
Dart
Language
223.3K
Lines of Code
759
Files
119
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 2.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 118 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.0/100 · LOW

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

PR Review Velocity Impact 2.7/100 · LOW

Which changes need focused human review? 119 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 2LOW 117

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 119 distinct pattern matches across 4 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 Block115 hits · 115 pts
SeverityFileLineSnippetContext
LOWapp/test/mocks.mocks.dart21import 'package:shared_preferences/shared_preferences.dart' as _i15;COMMENT
LOWapp/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWapp/lib/provider/network/webrtc/webrtc_receiver.dart141class _InitSessionState extends ReduxAction<WebRTCReceiveService, WebRTCReceiveState> {COMMENT
LOWapp/lib/provider/network/webrtc/webrtc_receiver.dart161 // desiredName: null,COMMENT
LOWapp/lib/gen/strings_en.g.dart1///COMMENT
LOWapp/lib/gen/strings.g.dart941 );COMMENT
LOWapp/lib/gen/strings.g.dart961/// All widgets using this method will trigger a rebuild when locale changes.COMMENT
LOWapp/lib/model/state/settings_state.mapper.dart181 #alias: _f$alias,COMMENT
LOW…b/model/state/server/receive_session_state.mapper.dart81 #sessionId: _f$sessionId,COMMENT
LOWapp/lib/model/state/send/send_session_state.mapper.dart81 final MappableFields<SendSessionState> fields = const {COMMENT
LOWapp/lib/pages/tabs/settings_tab_vm.mapper.dart181 mode: FieldMode.member,COMMENT
LOWapp/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWapp/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWapp/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWapp/windows/runner/winrt_ext.cpp1#include "winrt_ext.h"COMMENT
LOWapp/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOWcli/src/picker.rs21/// (or descends into the highlighted directory), Esc clears the filter orCOMMENT
LOWsupport/scripts/compile_android_apk.sh1# This apk script is written in a way to conform with "Reproducible Builds" by F-DroidCOMMENT
LOWpackages/core/src/crypto/cert.rs21/// Generates a new device identity, used for both the HTTP server and clientCOMMENT
LOWpackages/core/src/util/filename.rs21COMMENT
LOWpackages/core/src/discovery/store.rs41/// A [`DiscoveredDevice`] as kept in the store.COMMENT
LOWpackages/core/src/discovery/mod.rs21use tokio::sync::{mpsc, oneshot};COMMENT
LOWpackages/core/src/discovery/mod.rs81/// [`StatefulDevice::logs`]; the accumulated state is read fromCOMMENT
LOWpackages/core/src/discovery/mod.rs221impl DiscoveryHandle {COMMENT
LOWpackages/core/src/discovery/mod.rs241 /// Discovery then neither hears nor sends announcements; it still learnsCOMMENT
LOWpackages/core/src/discovery/mod.rs381 /// Sets whether announcements of other devices are answered with aCOMMENT
LOWpackages/core/src/http/dto_v2.rs81 /// Whether the download API (sections 5.2, 5.3) is active.COMMENT
LOWpackages/core/src/http/dto_v2.rs121/// Used when the sender provides files for others to download.COMMENT
LOWpackages/core/src/http/server/web.rs21use tokio_stream::StreamExt;COMMENT
LOWpackages/core/src/http/server/web.rs41COMMENT
LOWpackages/core/src/http/server/web.rs101#[derive(Default)]COMMENT
LOWpackages/core/src/http/server/web.rs121/// asset embedded at compile time, so applications only provide the pagesCOMMENT
LOWpackages/core/src/http/server/mod.rs141 /// The task running the accept loops. Completes after a stop has beenCOMMENT
LOWpackages/core/src/http/server/mod.rs181 }COMMENT
LOWpackages/core/src/http/server/v2.rs41COMMENT
LOWpackages/core/src/http/server/v2.rs101 /// The `decision_tx` of the [ServerEventV2::PrepareUpload] with the sameCOMMENT
LOWpackages/core/src/http/server/v2.rs161 // On TLS, only trust registrations whose claimed fingerprint is provenCOMMENT
LOWpackages/core/src/http/server/common/save.rs21 ///COMMENT
LOWpackages/core/src/http/server/common/save.rs41 ///COMMENT
LOWpackages/core/src/http/server/common/save.rs61 /// the descriptor, which also covers SAF documents that have no path.COMMENT
LOWpackages/core/src/http/server/common/save.rs321 // Drops content beyond the file that was just written, in case the targetCOMMENT
LOWpackages/core/src/http/client/scoped_host.rs1//! Support for connecting to scoped IPv6 addresses (`fe80::1%3`).COMMENT
LOWpackages/core/src/http/client/server_cert_verifier.rs41 reason,COMMENT
LOWpackages/core/src/http/client/v2.rs21 /// # ArgumentsCOMMENT
LOWpackages/core/src/http/client/v2.rs61COMMENT
LOWpackages/core/src/http/client/v2.rs121 ///COMMENT
LOWpackages/core/src/http/client/v2.rs201COMMENT
LOWpackages/core/src/http/client/v2.rs221 /// * `session_id` - Session ID from prepare_uploadCOMMENT
LOWpackages/core/src/http/client/v2.rs301 self.client.post(&url).send().await?;COMMENT
LOWpackages/core/src/http/client/v2.rs341 let body = res.json::<InfoResponseDtoV2>().await?;COMMENT
LOWpackages/core/src/http/client/v2.rs401 Ok(body)COMMENT
LOWpackages/core/src/http/client/v2.rs441 }COMMENT
LOWpackages/core/src/model/discovery.rs101/// Multicast announcement message for UDP discovery (v2.2).COMMENT
LOWpackages/core/src/model/transfer.rs21pub type FileStream = Pin<Box<dyn Stream<Item = Result<Bytes, std::io::Error>> + Send + Sync>>;COMMENT
LOWpackages/core/src/model/transfer.rs41COMMENT
LOWpackages/core/src/webrtc/webrtc.rs41 /// HASH_METHOD.HASH.SIGN_METHOD.SIGNCOMMENT
LOW…s/localsend_isolates/test/util/show_instance_test.dart1// Regression test for https://github.com/localsend/localsend/issues/3165COMMENT
LOW…olates/test/task/server/cancel_session_repro_test.dart1// Regression test: the receiver cancels the session mid-transfer (the senderCOMMENT
LOWpackages/localsend_isolates/rust/src/api/discovery.rs141/// answering announcements forever (the `SO_REUSEPORT` sockets do not evenCOMMENT
LOWpackages/localsend_isolates/rust/src/api/discovery.rs241 /// discovery is stopped. Can only be listened to once.COMMENT
55 more matches not shown…
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWapp/lib/gen/strings.g.dart964/// Step 1:COMMENT
LOWapp/lib/gen/strings.g.dart970/// Step 2:COMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…rust_builder/cargokit/build_tool/analysis_options.yaml12# If you want a smaller set of lints you can change this to specifyCOMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMapp/macos/ShareExtension/Utilities.swift108 print("Error opening the application: \(error.localizedDescription)")CODE