AI Slop Code Risk Monitor

mosn/mosn

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

The Cloud-Native Network Proxy Platform

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mosn/mosn, a Go project with 4,509 GitHub stars. SynthScan examined 269,941 lines of code across 1411 source files, recording 154 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-07-14
Last Push
4.5K
Stars
Go
Language
269.9K
Lines of Code
1.4K
Files
154
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.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 154 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? 0 finding(s).

PR Review Velocity Impact 2.9/100 · LOW

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

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 154 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 Block142 hits · 142 pts
SeverityFileLineSnippetContext
LOWtest/lib/xprotocol/boltv2/config.go161 return req, req.ContentCOMMENT
LOWtest/lib/xprotocol/boltv1/config.go161 return req, req.ContentCOMMENT
LOWistio/istio1106/mixer/v1/global_dictionary.yaml1# Copyright 2017 Istio Authors. All Rights Reserved.COMMENT
LOWistio/istio1106/mixer/v1/global_dictionary.yaml21# The main reason using yaml format is that it allows comments like this.COMMENT
LOWistio/istio1106/mixer/v1/mixer.pb.go121 return fileDescriptor_f6f59c90bff4c1e2, []int{5, 0}COMMENT
LOWistio/istio1106/mixer/v1/mixer.pb.go541 // The attributes to use for this request.COMMENT
LOWistio/istio1106/mixer/v1/attributes.pb.go21COMMENT
LOWistio/istio1106/mixer/v1/attributes.pb.go41// original IP address of a TCP connection. For example:COMMENT
LOWistio/istio1106/mixer/v1/attributes.pb.go101COMMENT
LOWistio/istio1106/mixer/v1/attributes.pb.go301// dictionary instead. The message-level dictionary is carried by theCOMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go21var _ = fmt.ErrorfCOMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go41// [here](https://github.com/googleapis/gnostic/blob/master/examples/v2.0/yaml/petstore-simple.yaml)COMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go61// stringValue: findPetsCOMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go81// uriTemplate: /api/pets/{id}COMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go101// +genclientCOMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go161// httpMethod: GETCOMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go341// XXX_OneofWrappers is for the internal use of the proto package.COMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go401// apiVersion: config.istio.io/v1alpha2COMMENT
LOWistio/istio1106/mixer/v1/config/client/api_spec.pb.go421// +cue-gen:HTTPAPISpecBinding:labels:app=istio-mixer,chart=istio,heritage=Tiller,release=istioCOMMENT
LOW…o/istio1106/mixer/v1/config/client/client_config.pb.go101type ServiceConfig struct {COMMENT
LOW…o/istio1106/mixer/v1/config/client/client_config.pb.go121 // includes the "source.ip" and "source.uid" attributes.COMMENT
LOW…o/istio1106/mixer/v1/config/client/client_config.pb.go181 // servers. Defaults to "mixer_server". By using different names forCOMMENT
LOW…o/istio1106/mixer/v1/config/client/client_config.pb.go241COMMENT
LOWistio/istio1106/mixer/v1/config/client/service.pb.go21var _ = math.InfCOMMENT
LOWistio/istio1106/mixer/v1/config/client/quota.pb.go21var _ = fmt.ErrorfCOMMENT
LOWistio/istio1106/mixer/v1/config/client/quota.pb.go301// +cue-gen:QuotaSpecBinding:version:v1alpha2COMMENT
LOWistio/istio1106/filter/stream/rbac/common/permission.go261// Receive the v2alpha.Permission input and convert it to mosn rbac permissionCOMMENT
LOWistio/istio1106/filter/stream/rbac/common/utils.go1///*COMMENT
LOWistio/_istio152/xds/conv/convertxds.go501 filter.GoPluginConfig = filterConfig.GoPluginConfigCOMMENT
LOW…/skywalking-plugin/http/skywalking-docker-compose.yaml1#Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…s/trace/skywalking/http/skywalking-docker-compose.yaml1#Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWexamples/codes/xds-server-sample/cmd/server/main.go1// Copyright Steve Sloka 2021COMMENT
LOWexamples/codes/xds-server-sample/apis/v1alpha1/envoy.go1// Copyright Steve Sloka 2021COMMENT
LOW…es/codes/xds-server-sample/internal/watcher/watcher.go1// Copyright Steve Sloka 2021COMMENT
LOW…les/codes/xds-server-sample/internal/xdscache/cache.go1// Copyright Steve Sloka 2021COMMENT
LOW…codes/xds-server-sample/internal/resources/resource.go1// Copyright 2020 Envoyproxy AuthorsCOMMENT
LOW…es/codes/xds-server-sample/internal/resources/cache.go1// Copyright Steve Sloka 2021COMMENT
LOW…odes/xds-server-sample/internal/processor/processor.go1// Copyright Steve Sloka 2021COMMENT
LOW…s/codes/xds-server-sample/internal/processor/parser.go1// Copyright Steve Sloka 2021COMMENT
LOW…ples/codes/xds-server-sample/internal/server/server.go1// Copyright Steve Sloka 2021COMMENT
LOW.github/workflows/reviewdog.yml61 # A matrix proves the supported range of Go versions work. This must alwaysCOMMENT
LOWpkg/metrics/sink/prometheus/prometheus_test.go401 //url, _ := url.Parse("http://127.0.0.1:8088/metrics")COMMENT
LOWpkg/types/stream.go21 "context"COMMENT
LOWpkg/types/stream.go41// Core model in stream layer is stream, which manages process of a round-trip, a request and a corresponding responseCOMMENT
LOWpkg/types/stream.go61// From an abstract perspective, stream represents a virtual process on underlying connection. To make stream interactCOMMENT
LOWpkg/types/stream.go81// | 1| |1 |1 |COMMENT
LOWpkg/types/network.go41// | PROTOCOL |COMMENT
LOWpkg/types/network.go61// - ReadFilterCOMMENT
LOWpkg/types/network.go121 // SetListenerCallbacks set a listener event listenerCOMMENT
LOWpkg/proxy/proxy_downstream_test.go41 "mosn.io/pkg/buffer"COMMENT
LOWpkg/proxy/downstream.go81 // ~~~ stateCOMMENT
LOWpkg/proxy/downstream.go961 ID := atomic.LoadUint32(&s.ID)COMMENT
LOWpkg/mtls/types.go61 "http/1.1": true,COMMENT
LOWpkg/mtls/crypto/cgosm3/sm3_cgo.go101func (sm3 *SM3) Size() int { return 32 }COMMENT
LOWpkg/mtls/crypto/tls/handshake_test.go21 "testing"COMMENT
LOWpkg/mtls/crypto/tls/common_cgo.go221 // 5929, section 3). For resumed sessions this value will be nilCOMMENT
LOWpkg/mtls/crypto/tls/common_cgo.go281// SessionID-based resumption. In TLS 1.3 they were merged into PSK modes, whichCOMMENT
LOWpkg/mtls/crypto/tls/common_cgo.go321// guide certificate selection in the GetCertificate callback.COMMENT
LOWpkg/mtls/crypto/tls/common_cgo.go341COMMENT
LOWpkg/mtls/crypto/tls/common_cgo.go361 // Conn is the underlying net.Conn for the connection. Do not readCOMMENT
82 more matches not shown…
TODO Padding10 hits · 17 pts
SeverityFileLineSnippetContext
LOWtest/lib/xprotocol/boltv2/client.go84// TODO: implement itCOMMENT
LOWtest/lib/xprotocol/boltv1/client.go84// TODO: implement itCOMMENT
LOWtest/lib/http/client.go94// TODO: implement itCOMMENT
LOWpkg/module/http2/server.go89 // TODO: implementCOMMENT
LOWpkg/stream/http/stream_test.go356 // TODO: Add test cases.COMMENT
LOWpkg/networkextention/l7/stream/stream.go110// TODO: implement api.StreamFilterHandler after add context and stream id for streamCOMMENT
LOWpkg/moe/var.go42 // TODO: implement meCOMMENT
LOW⚡pkg/moe/var.go77 // TODO: implement meCOMMENT
LOW⚡pkg/moe/var.go82 // TODO: implement meCOMMENT
LOW⚡pkg/moe/var.go87 // TODO: implement meCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…osn-extensions/plugin/filter/python/plugin_pb2_grpc.py46 # This class is part of an EXPERIMENTAL API.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpkg/module/http2/h2c/h2c.go59// any HTTP server that does not handle h2c. Therefore we leverage the HTTP/1COMMENT