AI Slop Code Risk Monitor

oauth2-proxy/oauth2-proxy

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

A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for oauth2-proxy/oauth2-proxy, a Go project with 15,301 GitHub stars. SynthScan examined 104,957 lines of code across 739 source files, recording 68 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
15.3K
Stars
Go
Language
105.0K
Lines of Code
739
Files
68
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.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

Are imports declared and package/API names verified? 23 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.6/100 · LOW

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

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 68 distinct pattern matches across 5 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 Block40 hits · 40 pts
SeverityFileLineSnippetContext
LOWtestdata/openredirects.txt21/%5cgoogle.comCOMMENT
LOWtestdata/openredirects.txt41//%5cwww.whitelisteddomain.tld@google.comCOMMENT
LOWtestdata/openredirects.txt61////%5cexample.comCOMMENT
LOWtestdata/openredirects.txt81////example.com@google.com/%2e%2e%2fCOMMENT
LOWtestdata/openredirects.txt101////www.whitelisteddomain.tld@google.com/%2f..COMMENT
LOWtestdata/openredirects.txt121///example.com//COMMENT
LOWtestdata/openredirects.txt141///localdomain.pw//COMMENT
LOWtestdata/openredirects.txt161//;@google.comCOMMENT
LOWtestdata/openredirects.txt181//google%00.comCOMMENT
LOWtestdata/openredirects.txt201//https://example.com@google.com//COMMENT
LOWtestdata/openredirects.txt221//localdomain.pw:80#@www.whitelisteddomain.tld/COMMENT
LOWcontrib/local-environment/docker-compose.yaml1# This docker-compose file can be used to bring up an example instance of oauth2-proxyCOMMENT
LOWcontrib/local-environment/docker-compose-keycloak.yaml1# This docker-compose file can be used to bring up an example instance of oauth2-proxyCOMMENT
LOWcontrib/local-environment/docker-compose-gitea.yaml1# This docker-compose file can be used to bring up an example instance of oauth2-proxyCOMMENT
LOWcontrib/local-environment/docker-compose-traefik.yaml1# This docker-compose file can be used to bring up an example instance of oauth2-proxyCOMMENT
LOWcontrib/local-environment/docker-compose-nginx.yaml1# This docker-compose file can be used to bring up an example instance of oauth2-proxyCOMMENT
LOW…rib/local-environment/docker-compose-alpha-config.yaml1# This docker-compose file can be used to bring up an example instance of oauth2-proxyCOMMENT
LOWpkg/middleware/stored_session.go21 // TODO: This should probably be configurable by the end user.COMMENT
LOWpkg/apis/options/alpha_options.go1package optionsCOMMENT
LOWpkg/apis/options/alpha_options.go21 InjectRequestHeaders []Header `yaml:"injectRequestHeaders,omitempty"`COMMENT
LOWpkg/apis/options/header.go21 // This option only applies to injected request headers.COMMENT
LOWpkg/apis/options/server.go1package optionsCOMMENT
LOWpkg/apis/options/server.go41COMMENT
LOWpkg/apis/options/upstreams.go61 ID string `yaml:"id,omitempty"`COMMENT
LOWpkg/apis/options/upstreams.go81 // upstream server. Or if the upstream were `file:///app`, a request forCOMMENT
LOWpkg/apis/options/upstreams.go101 InsecureSkipTLSVerify *bool `yaml:"insecureSkipTLSVerify,omitempty"`COMMENT
LOWpkg/apis/options/app.go1package optionsCOMMENT
LOWpkg/apis/options/providers.go41 // for GoogleOptions.UseOrganizationIDCOMMENT
LOWpkg/apis/options/providers.go81 // ADFSConfig holds all configurations for ADFS provider.COMMENT
LOWpkg/apis/options/providers.go101 // must be set from the supported providers group,COMMENT
LOWpkg/apis/options/providers.go281 UseOrganizationID *bool `yaml:"useOrganizationID,omitempty"`COMMENT
LOWpkg/apis/options/providers.go301 InsecureSkipNonce *bool `yaml:"insecureSkipNonce,omitempty"`COMMENT
LOWpkg/apis/options/login_url_parameters.go1package optionsCOMMENT
LOWpkg/apis/options/login_url_parameters.go21// default:COMMENT
LOWpkg/apis/options/login_url_parameters.go41// default: ["login"]COMMENT
LOWpkg/apis/options/login_url_parameters.go61// as backslash is not considered to be an escape character. AlternativelyCOMMENT
LOWpkg/apis/options/login_url_parameters.go81 // Allow specifies rules about how the default (if any) may beCOMMENT
LOWpkg/apis/sessions/interfaces.go21// Lock is an interface for controlling session locksCOMMENT
LOWpkg/app/redirect/director.go41}COMMENT
LOWpkg/sessions/persistence/ticket.go21// saveFunc performs a persistent store's save functionality usingCOMMENT
Fake / Example Data23 hits · 23 pts
SeverityFileLineSnippetContext
LOWoauthproxy_test.go2051 "name": "John Doe",CODE
LOWoauthproxy_test.go2304 Email: "user@example.com",CODE
LOWoauthproxy_test.go3161 User: "user", Email: "user@example.com", CreatedAt: &created, ExpiresOn: &expires,CODE
LOWoauthproxy_test.go3294 User: "user", Email: "user@example.com", CreatedAt: &created, ExpiresOn: &expires,CODE
LOWmain_test.go29google_admin_email="admin@example.com"CODE
LOWmain_test.go172 AdminEmail: "admin@example.com",CODE
LOWproviders/digitalocean_test.go95 b := testDigitalOceanBackend(`{"account": {"email": "user@example.com"}}`)CODE
LOWproviders/digitalocean_test.go104 assert.Equal(t, "user@example.com", email)CODE
LOWproviders/gitlab_test.go43 "email": "foo@bar.com",CODE
LOWproviders/gitlab_test.go217 expectedValue: "foo@bar.com",CODE
LOWcontrib/local-environment/dex.yaml24 - email: "admin@example.com"CODE
LOWcontrib/local-environment/dex-traefik.yaml21 - email: "admin@example.com"CODE
LOWcontrib/local-environment/kubernetes/values.yaml35 - email: "admin@example.com"CODE
LOW…b/local-environment/keycloak/oauth2-proxy-users-0.json7 "username": "admin@example.com",CODE
LOW…b/local-environment/keycloak/oauth2-proxy-users-0.json8 "email": "admin@example.com",CODE
LOWpkg/middleware/jwt_session_test.go38 "name": "John Doe",CODE
LOWpkg/apis/sessions/session_state_test.go321 Email: "user@example.com",CODE
LOWpkg/apis/sessions/session_state_test.go341 {"email", []string{"user@example.com"}},CODE
LOWpkg/header/injector_test.go403 Email: "user@example.com",CODE
LOWpkg/header/injector_test.go409 "X-Auth-Request-Email": []string{"user@example.com"},CODE
LOWpkg/validation/options_test.go69 o.Providers[0].GoogleConfig.AdminEmail = "admin@example.com"CODE
LOWpkg/validation/options_test.go92 o.Providers[0].GoogleConfig.AdminEmail = "admin@example.com"CODE
LOWpkg/validation/options_test.go102 o.Providers[0].GoogleConfig.AdminEmail = "admin@example.com"CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/local-environment/docker-compose-nginx.yaml6# This file is an extension of the main compose file and must be used with itCOMMENT
MEDIUM…rib/local-environment/docker-compose-alpha-config.yaml7# This file is an extension of the main compose file and must be used with itCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpkg/apis/options/providers.go92 // or providers utilize OIDC configurations.COMMENT
MEDIUMpkg/logger/logger.go404// These functions utilize the standard logger.COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpkg/ip/realclientip.go25 // TODO: implement the more standardized but more complex `Forwarded` header.COMMENT