AI Slop Code Risk Monitor

rwf2/Rocket

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

A web framework for Rust.

14.8 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for rwf2/Rocket, a Rust project with 25,816 GitHub stars. SynthScan examined 104,433 lines of code across 635 source files, recording 1629 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 14.8 (Moderate 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.

14.8
Adjusted Signal
14.8
Raw Pattern Score
100%
Time Factor
2026-11-21
Last Push
25.8K
Stars
Rust
Language
104.4K
Lines of Code
635
Files
1.6K
Pattern Hits
2026-11-27
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-11-27.

Cognitive Ownership Risk 51.9/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 54.8/100 · HIGH

Which changes need focused human review? 1629 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 1HIGH 1MEDIUM 8LOW 1619

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 1629 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 Block1614 hits · 1495 pts
SeverityFileLineSnippetContext
LOWcore/codegen/tests/uri_display.rs281 //COMMENT
LOWcore/codegen/src/lib.rs1#![recursion_limit="128"]COMMENT
LOWcore/codegen/src/lib.rs21//!COMMENT
LOWcore/codegen/src/lib.rs41//! use rocket::{get, routes};COMMENT
LOWcore/codegen/src/lib.rs101 ///COMMENT
LOWcore/codegen/src/lib.rs121 /// Additionally, [`route`] allows the method and uri to be explicitlyCOMMENT
LOWcore/codegen/src/lib.rs141 /// [`delete`]: attr.delete.htmlCOMMENT
LOWcore/codegen/src/lib.rs161 ///COMMENT
LOWcore/codegen/src/lib.rs181 /// method := 'method' '=' METHODCOMMENT
LOWcore/codegen/src/lib.rs201 /// # fn f(foo: usize, baz: PathBuf, msg: String, rest: F, form: Form<F>) { }COMMENT
LOWcore/codegen/src/lib.rs221 /// [`FromRequest`] trait.COMMENT
LOWcore/codegen/src/lib.rs241 ///COMMENT
LOWcore/codegen/src/lib.rs261 /// `Error`. See [`FromData`] for further detail.COMMENT
LOWcore/codegen/src/lib.rs301///COMMENT
LOWcore/codegen/src/lib.rs321/// # GrammarCOMMENT
LOWcore/codegen/src/lib.rs341///COMMENT
LOWcore/codegen/src/lib.rs361/// [`Catcher`]: ../rocket/struct.Catcher.htmlCOMMENT
LOWcore/codegen/src/lib.rs381/// # #[macro_use] extern crate rocket;COMMENT
LOWcore/codegen/src/lib.rs401/// # #[macro_use] extern crate rocket;COMMENT
LOWcore/codegen/src/lib.rs421/// into a regular `main` function that internally initializes a Rocket-specificCOMMENT
LOWcore/codegen/src/lib.rs441/// let rocket = rocket::build().ignite().await?;COMMENT
LOWcore/codegen/src/lib.rs461///COMMENT
LOWcore/codegen/src/lib.rs481/// # rocket::build()COMMENT
LOWcore/codegen/src/lib.rs501/// ```COMMENT
LOWcore/codegen/src/lib.rs521/// The [`FromFormField`] derive can be applied to enums with nullaryCOMMENT
LOWcore/codegen/src/lib.rs541/// As an example, for the `enum` above, the form values `"first"`, `"FIRST"`,COMMENT
LOWcore/codegen/src/lib.rs561///COMMENT
LOWcore/codegen/src/lib.rs581#[proc_macro_derive(FromFormField, attributes(field))]COMMENT
LOWcore/codegen/src/lib.rs601/// r#type: usize,COMMENT
LOWcore/codegen/src/lib.rs621/// of the field's type. The `FromForm` implementation succeeds only when allCOMMENT
LOWcore/codegen/src/lib.rs641/// | 'uncased(' '"' FIELD_NAME '"' ')COMMENT
LOWcore/codegen/src/lib.rs661/// #[field(default = 42)]COMMENT
LOWcore/codegen/src/lib.rs681/// ## Field Attribute ParametersCOMMENT
LOWcore/codegen/src/lib.rs701/// of the field to be `expr.into()`. If `expr` _is_ `None`, the parameterCOMMENT
LOWcore/codegen/src/lib.rs721/// struct MyForm {COMMENT
LOWcore/codegen/src/lib.rs741/// use rocket::serde::json::Json;COMMENT
LOWcore/codegen/src/lib.rs761/// ```rustCOMMENT
LOWcore/codegen/src/lib.rs781/// further details.COMMENT
LOWcore/codegen/src/lib.rs801/// use rocket::request::FromParam;COMMENT
LOWcore/codegen/src/lib.rs821/// MyParam::Bob => "Bob",COMMENT
LOWcore/codegen/src/lib.rs841/// #[derive(Responder)]COMMENT
LOWcore/codegen/src/lib.rs861/// [`Response::set_header()`]. As such, every other field (unless explicitlyCOMMENT
LOWcore/codegen/src/lib.rs881/// struct MyOtherResponder {COMMENT
LOWcore/codegen/src/lib.rs901/// parameter := 'status' '=' STATUSCOMMENT
LOWcore/codegen/src/lib.rs921/// A(String),COMMENT
LOWcore/codegen/src/lib.rs941/// The value of `content_type` must be a valid media-type in `top/sub` form orCOMMENT
LOWcore/codegen/src/lib.rs961///COMMENT
LOWcore/codegen/src/lib.rs981/// #[derive(Responder)]COMMENT
LOWcore/codegen/src/lib.rs1001/// ```rustCOMMENT
LOWcore/codegen/src/lib.rs1021COMMENT
LOWcore/codegen/src/lib.rs1041/// }COMMENT
LOWcore/codegen/src/lib.rs1061///COMMENT
LOWcore/codegen/src/lib.rs1081/// `name` attribute is used instead of the structure's actual field name. IfCOMMENT
LOWcore/codegen/src/lib.rs1101/// The field attribute directs that a different value be used when callingCOMMENT
LOWcore/codegen/src/lib.rs1121/// ```rustCOMMENT
LOWcore/codegen/src/lib.rs1141COMMENT
LOWcore/codegen/src/lib.rs1161/// ```rustCOMMENT
LOWcore/codegen/src/lib.rs1181/// assert_eq!(hello_route.uri.path(), "/hi/<person>");COMMENT
LOWcore/codegen/src/lib.rs1201/// their corresponding [`Catcher`] structures. For example, given the followingCOMMENT
LOWcore/codegen/src/lib.rs1221/// ```rustCOMMENT
1554 more matches not shown…
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMcore/lib/src/response/response.rs42/// [merge](#method.merge) and [join](#method.join) methods facilitate this. TheCOMMENT
MEDIUMcore/lib/src/response/responder.rs127/// It allows you to leverage existing `Responder` implementations throughCOMMENT
MEDIUMcore/lib/src/local/asynchronous/mod.rs4//! be used with `#[rocket::async_test]` or another asynchronous test harness.COMMENT
MEDIUMcore/lib/src/local/blocking/mod.rs4//! used in Rust's synchronous `#[test]` harness. This is accomplished byCOMMENT
MEDIUMcore/lib/src/fairing/mod.rs89/// cleaner, more composable, and more robust manner.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALcore/codegen/src/attribute/catch/mod.rs27 return Err(catch.function.sig.paren_token.span.join()CODE
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcore/lib/src/lib.rs36//! to write Rocket applications. Here's a simple example to get you started:COMMENT
MEDIUMexamples/responders/src/main.rs129// `response::content` for demonstration purposes. In a real application,COMMENT
MEDIUMexamples/tls/Rocket.toml6# these certificate/key pairs. They are here for DEMONSTRATION PURPOSES ONLY.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcontrib/ws/tests/closed-connection.rs89// already closed as requested, so this is not an error.COMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWexamples/pastebin/src/tests.rs70 let body_3 = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sedCODE
LOWexamples/pastebin/src/tests.rs70 let body_3 = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sedCODE
LOWexamples/manual-routing/src/tests.rs34 let expected_body = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \CODE
LOWexamples/manual-routing/src/tests.rs34 let expected_body = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/tls/private/gen_certs.sh3# Usage:COMMENT