AI Slop Code Risk Monitor

grpc-ecosystem/grpc-gateway

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

gRPC to JSON proxy generator following the gRPC HTTP spec

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for grpc-ecosystem/grpc-gateway, a Go project with 20,012 GitHub stars. SynthScan examined 191,213 lines of code across 457 source files, recording 151 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
20.0K
Stars
Go
Language
191.2K
Lines of Code
457
Files
151
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 3.8/100 · LOW

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

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

PR Review Velocity Impact 3.9/100 · LOW

Which changes need focused human review? 151 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 0LOW 151

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 151 distinct pattern matches across 3 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 Block147 hits · 144 pts
SeverityFileLineSnippetContext
LOWruntime/query.go41// DefaultQueryParser is a QueryParameterParser which implements the defaultCOMMENT
LOWruntime/mux.go81 strictDeepWildcard boolCOMMENT
LOWruntime/mux.go281}COMMENT
LOWinternal/casing/camel.go1package casingCOMMENT
LOWinternal/descriptor/registry.go61COMMENT
LOWinternal/descriptor/registry.go181 // enableRpcDeprecation whether to process grpc method's deprecated optionCOMMENT
LOWdocs/_config.yml21# Supports true (default) or falseCOMMENT
LOWopenapiv3-merge/main.go1// Command openapiv3-merge merges multiple OpenAPI 3.1 JSON documents intoCOMMENT
LOWopenapiv3-merge/internal/merge/merge.go1// Package merge merges multiple OpenAPI 3.1 JSON documents into a singleCOMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go21// Foo foo = ...;COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go41//COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go61// if err := any.UnmarshalTo(foo); err != nil {COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go81// }COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go101COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go121 // breaking changes.)COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go141 // A URL/resource name that uniquely identifies the type of the serializedCOMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go201COMMENT
LOWexamples/internal/clients/abe/models/protobuf_any.go221 // * Applications are allowed to cache lookup results based on theCOMMENT
LOW…els/a_bit_of_everything_service_deep_path_echo_body.go121 //COMMENT
LOWexamples/internal/clients/abe/models/examplepb_book.go21COMMENT
LOW…s/examplepb_a_bit_of_everything_service_update_body.go121 //COMMENT
LOW…e/models/a_bit_of_everything_service_update_v2_body.go121COMMENT
LOW…al/clients/abe/models/examplepb_a_bit_of_everything.go121 //COMMENT
LOW…ng/a_bit_of_everything_service_update_v22_responses.go621 //COMMENT
LOW…ing/a_bit_of_everything_service_update_v2_responses.go621 //COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go21// Foo foo = ...;COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go41//COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go61// if err := any.UnmarshalTo(foo); err != nil {COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go81// }COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go101COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go121 // breaking changes.)COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go141 // A URL/resource name that uniquely identifies the type of the serializedCOMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go201COMMENT
LOWexamples/internal/clients/echo/models/protobuf_any.go221 // * Applications are allowed to cache lookup results based on theCOMMENT
LOW…o/client/echo_service/echo_service_echo5_parameters.go81 // NoNote.COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go21// Foo foo = ...;COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go41//COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go61// if err := any.UnmarshalTo(foo); err != nil {COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go81// }COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go101COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go121 // breaking changes.)COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go141 // A URL/resource name that uniquely identifies the type of the serializedCOMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go201COMMENT
LOW…s/internal/clients/responsebody/models/protobuf_any.go221 // * Applications are allowed to cache lookup results based on theCOMMENT
LOWexamples/internal/clients/abev3/abev3.go341type GrpcGatewayExamplesInternalProtoExamplepbBody struct {COMMENT
LOW…ples/internal/integration/openapiv3/abe_oracle_test.go1// abe_oracle_test.go is a Tier 2 oracle test for protoc-gen-openapiv3: itCOMMENT
LOW…amples/internal/integration/openapiv3/abe_spec_test.go1// abe_spec_test.go is a Tier 1 structural test for the OpenAPI 3.1 specCOMMENT
LOW…mples/internal/integration/openapiv3/openapiv3_test.go1// Package openapiv3 contains an end-to-end oracle test forCOMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go341// info: {COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go361 // Specifies the OpenAPI Specification version being used. It can beCOMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go381 // serve the API from the `base_path`.COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go621COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go641 // manually removed from your `google.api.http` paths and your code changed toCOMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go701// Example:COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go721// }COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go741 // definition at the OpenAPI Object. An empty value MAY be used to clear theCOMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go981 // all operations described in the API. Tools and libraries MAY use theCOMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1001 // should be refrained. Default value is false.COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1361COMMENT
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1481COMMENT
87 more matches not shown…
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWinternal/descriptor/types.go378 // We need to check if the target is not proto3_optional first.COMMENT
LOWinternal/descriptor/types.go415 // We need to check if the target is not proto3_optional first.COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocs/docs/mapping/customizing_your_gateway.md324{"name":"John Doe"}CODE
LOWdocs/docs/mapping/customizing_your_gateway.md333{"success":true,"data":{"name":"John Doe"}}CODE