AI Slop Code Risk Monitor

grpc/grpc-rust

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

A native gRPC client & server implementation with async/await support.

4.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for grpc/grpc-rust, a Rust project with 12,519 GitHub stars. SynthScan examined 136,261 lines of code across 541 source files, recording 586 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 4.1 (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.1
Adjusted Signal
4.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
12.5K
Stars
Rust
Language
136.3K
Lines of Code
541
Files
586
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 18.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 19.6/100 · LOW

Which changes need focused human review? 586 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 4LOW 582

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 586 distinct pattern matches across 8 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 Block576 hits · 536 pts
SeverityFileLineSnippetContext
LOWgrpc-protobuf/src/lib.rs141/// across threads),COMMENT
LOWgrpc-protobuf/src/lib.rs161///COMMENT
LOWgrpc-protobuf/src/status.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc-protobuf/src/status.rs41 /// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates argumentsCOMMENT
LOWgrpc-protobuf/src/status.rs61 AlreadyExists = 6,COMMENT
LOWgrpc-protobuf/src/status.rs81 /// (a) Use `UNAVAILABLE` if the client can retry just the failing call.COMMENT
LOWgrpc-protobuf/src/status.rs101 /// be fixed if the system state changes. For example, a 32-bit fileCOMMENT
LOWgrpc-protobuf/src/server/client_streaming.rs41use crate::server::GrpcStreamingRequest;COMMENT
LOWgrpc-protobuf/src/server/server_streaming.rs41use crate::server::GrpcStreamingResponse;COMMENT
LOWgrpc-protobuf/src/server/mod.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc-protobuf/src/client/mod.rs21 * IN THE SOFTWARE.COMMENT
LOWtonic-build/src/manual.rs21 * IN THE SOFTWARE.COMMENT
LOWtonic-build/src/manual.rs41//! .input_type("crate::HelloRequest")COMMENT
LOWtonic-build/src/manual.rs61 path::{Path, PathBuf},COMMENT
LOWtonic-build/src/manual.rs261/// This builder can be used to manually define gRPC method, which can be added to a gRPC service,COMMENT
LOWtonic-build/src/manual.rs301impl MethodBuilder {COMMENT
LOWtonic-build/src/lib.rs61COMMENT
LOWtonic-build/src/lib.rs141 pub fn push_mod(&mut self, pattern: impl Into<String>, attr: impl Into<String>) {COMMENT
LOW…gen-grpc-rust/src/cpp_source/src/grpc_rust_generator.h1// Copyright 2025 gRPC authors.COMMENT
LOW…gen-grpc-rust/src/cpp_source/src/grpc_rust_generator.h101//COMMENT
LOWgrpc-xds/build.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc-xds/src/lib.rs61COMMENT
LOWgrpc-xds/src/xds_config.rs61 /// Every cluster transitively reachable from [`Self::virtual_host`], keyedCOMMENT
LOWgrpc-xds/src/xds_config.rs161pub(crate) struct AggregateClusters {COMMENT
LOWgrpc-xds/src/load_balancing/cluster_manager.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc-xds/src/dependency_manager/cluster_graph.rs201 /// On the current path from a root: reaching it again closes a cycle.COMMENT
LOWgrpc-xds/src/dependency_manager/cluster_graph.rs221/// * A pending child doesn't stop the search, so the watches of its siblingsCOMMENT
LOWgrpc-xds/src/dependency_manager/mod.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc-xds/src/resource/listener.rs41/// The only `api_listener` extension gRPC supports.COMMENT
LOWgrpc-xds/src/resource/string_matcher.rs101 /// Parses and validates an `envoy.type.matcher.v3.StringMatcher`.COMMENT
LOWgrpc-xds/src/resource/cluster.rs41COMMENT
LOWgrpc/benches/call_options.rs141 #[inline(always)]COMMENT
LOWgrpc/src/send_future.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/send_future.rs41/// analysis incorrectly believes it is held across the await.COMMENT
LOWgrpc/src/send_future.rs61///COMMENT
LOWgrpc/src/lib.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/attributes.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/attributes.rs81}COMMENT
LOWgrpc/src/macros.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/macros.rs41/// are unmodified.** By default:COMMENT
LOWgrpc/src/macros.rs61/// }COMMENT
LOWgrpc/src/macros.rs81/// // Include message code.COMMENT
LOWgrpc/src/macros.rs121///COMMENT
LOWgrpc/src/core/mod.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/codec/compression.rs41 ///COMMENT
LOWgrpc/src/codec/compression/gzip.rs121 }COMMENT
LOWgrpc/src/server/mod.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/server/mod.rs81COMMENT
LOWgrpc/src/server/mod.rs121///COMMENT
LOWgrpc/src/server/mod.rs221 }COMMENT
LOWgrpc/src/server/mod.rs241 self.serve_with_shutdown(listener, std::future::pending())COMMENT
LOWgrpc/src/server/mod.rs381 }COMMENT
LOWgrpc/src/server/mod.rs461 /// if the stream encountered an error before the client's final requestCOMMENT
LOWgrpc/src/rt/mod.rs61 async fn accept(&self) -> Result<Box<dyn GrpcEndpoint>, String>;COMMENT
LOWgrpc/src/rt/mod.rs161}COMMENT
LOWgrpc/src/status/status_code.rs21 * IN THE SOFTWARE.COMMENT
LOWgrpc/src/status/status_code.rs41COMMENT
LOWgrpc/src/status/status_code.rs61 /// even if the operation has completed successfully. For example, aCOMMENT
LOWgrpc/src/status/status_code.rs81 /// instead for those errors). This error code does not imply theCOMMENT
LOWgrpc/src/status/status_code.rs101 /// fails because the directory is non-empty, `FAILED_PRECONDITION`COMMENT
516 more matches not shown…
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/data/tls/create.sh3# Create the server CA certs.COMMENT
MEDIUMexamples/data/tls/create.sh15# Create the client CA certs.COMMENT
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/check_license.py142 except Exception as e:CODE
MEDIUMtools/check_license.py168 print(f"Error running git ls-files: {e}", file=sys.stderr)CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWgrpc/src/client/load_balancing/mod.rs428 // TODO: implement me.COMMENT
LOWgrpc/src/client/load_balancing/mod.rs432 // TODO: implement me.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtonic/src/codec/decode.rs336 /// # Return valueCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/check_license.py10CODE
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMtonic/Cargo.toml57# harness = falseSTRING
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtonic-xds/src/xds/resource/san_matcher.rs301 matcher: Some(exact("user@example.com")),CODE