AI Slop Code Risk Monitor

dexidp/dex

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

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dexidp/dex, a Go project with 11,226 GitHub stars. SynthScan examined 137,466 lines of code across 516 source files, recording 207 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
11.2K
Stars
Go
Language
137.5K
Lines of Code
516
Files
207
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 4.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.8/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 7.4/100 · LOW

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

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 207 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 Block128 hits · 128 pts
SeverityFileLineSnippetContext
LOW.golangci.yaml21 - nolintlintCOMMENT
LOW.golangci.yaml41 # - gochecknoglobalsCOMMENT
LOW.golangci.yaml61 # - gomodguardCOMMENT
LOW.golangci.yaml121 - localmoduleCOMMENT
LOWcmd/dex/config.go741// TOTPConfig holds configuration for a TOTP authenticator.COMMENT
LOWcmd/dex/config.go761 // "none" — don't request attestation (simpler, more private)COMMENT
LOWserver/config.go101COMMENT
LOWserver/signer/doc.go1// Package signer signs tokens and exposes the corresponding validation keys.COMMENT
LOWserver/signer/vault_integration_test.go21//COMMENT
LOWserver/grants/grants.go101type Responder interface {COMMENT
LOWserver/grants/grants.go121 // read it from the request or look it up in storage; returning an errorCOMMENT
LOWserver/grants/doc.go1// Package grants implements the OAuth2 token endpoint (/token). It defines aCOMMENT
LOWserver/oauth2/doc.go1// Package oauth2 holds the OAuth2/OIDC protocol vocabulary shared across theCOMMENT
LOWserver/internal/doc.go1// Package internal holds the server's wire formats: the protobuf value types andCOMMENT
LOWserver/reqctx/doc.go1// Package reqctx carries per-request values (request ID, client IP) through theCOMMENT
LOWserver/logout/logout.go61}COMMENT
LOWserver/logout/logout.go161 }COMMENT
LOWserver/logout/doc.go1// Package logout implements OIDC RP-Initiated Logout: the /logout andCOMMENT
LOWserver/introspection/introspection.go21COMMENT
LOWserver/introspection/introspection.go41 // requested this token.COMMENT
LOWserver/introspection/introspection.go281 PreferredUsername: refresh.Claims.PreferredUsername,COMMENT
LOWserver/authflow/response.go81 }COMMENT
LOWserver/authflow/doc.go1// Package authflow implements dex's interactive, browser-facing authorizationCOMMENT
LOWserver/consent/doc.go1// Package consent owns the approval (consent) step of the authorization flow:COMMENT
LOWserver/templates/doc.go1// Package templates renders dex's HTML pages — login, connector selection,COMMENT
LOWserver/device/doc.go1// Package device implements the browser-facing side of the OAuth2 deviceCOMMENT
LOWserver/apiserver/refresh.go101// only the client that asked for it, because it has a requesting client to scope toCOMMENT
LOWserver/apiserver/doc.go1// Package apiserver implements the gRPC management API (api.DexServer): the CRUDCOMMENT
LOWserver/session/doc.go1// Package session owns dex's browser session: the session cookie, SSO sessionCOMMENT
LOWdocs/enhancements/auth-sessions-2026-02-18.md341// One per browser, referenced by session cookie.COMMENT
LOWdocs/enhancements/auth-sessions-2026-02-18.md401```goCOMMENT
LOWstorage/storage.go121 DeleteRefresh(ctx context.Context, id string) errorCOMMENT
LOWstorage/storage.go201COMMENT
LOWstorage/storage.go221}COMMENT
LOWstorage/storage.go301COMMENT
LOWstorage/storage.go341 // WebAuthnSessionData stores temporary WebAuthn ceremony data (challenge, etc.)COMMENT
LOWstorage/storage.go501type LogoutState struct {COMMENT
LOWstorage/storage.go561COMMENT
LOWstorage/storage.go601 Groups []string `json:"groups"`COMMENT
LOWstorage/ent/db/password_query.go261//COMMENT
LOWstorage/ent/db/password_query.go281COMMENT
LOWstorage/ent/db/authrequest_query.go261//COMMENT
LOWstorage/ent/db/authrequest_query.go281COMMENT
LOWstorage/ent/db/oauth2client_query.go261//COMMENT
LOWstorage/ent/db/oauth2client_query.go281COMMENT
LOWstorage/ent/db/connector_query.go261//COMMENT
LOWstorage/ent/db/connector_query.go281COMMENT
LOWstorage/ent/db/authsession_query.go261//COMMENT
LOWstorage/ent/db/authsession_query.go281COMMENT
LOWstorage/ent/db/useridentity_query.go261//COMMENT
LOWstorage/ent/db/useridentity_query.go281COMMENT
LOWstorage/ent/db/offlinesession_query.go261//COMMENT
LOWstorage/ent/db/offlinesession_query.go281COMMENT
LOWstorage/ent/db/authcode_query.go261//COMMENT
LOWstorage/ent/db/authcode_query.go281COMMENT
LOWstorage/ent/db/keys_query.go261//COMMENT
LOWstorage/ent/db/keys_query.go281COMMENT
LOWstorage/ent/db/devicetoken_query.go261//COMMENT
LOWstorage/ent/db/devicetoken_query.go281COMMENT
LOWstorage/ent/db/refreshtoken_query.go261//COMMENT
68 more matches not shown…
Fake / Example Data76 hits · 78 pts
SeverityFileLineSnippetContext
LOWREADME.md39 "name": "Jane Doe"CODE
LOWconfig.dev.yaml32 - email: "admin@example.com"CODE
LOW⚡cmd/dex/excluding_handler_test.go23 slog.String("email", "user@example.com"),CODE
LOW⚡cmd/dex/excluding_handler_test.go32 slog.String("email", "user@example.com"),CODE
LOW⚡cmd/dex/excluding_handler_test.go42 slog.String("email", "user@example.com"),CODE
LOWcmd/dex/excluding_handler_test.go54 slog.String("email", "user@example.com"),CODE
LOWcmd/dex/excluding_handler_test.go99 child := logger.With("email", "user@example.com", "connector_id", "github")CODE
LOWcmd/dex/config_test.go163- email: "admin@example.com"CODE
LOWcmd/dex/config_test.go267 Email: "admin@example.com",CODE
LOWcmd/dex/config_test.go398- email: "admin@example.com"CODE
LOWcmd/dex/config_test.go488 Email: "admin@example.com",CODE
LOWserver/server_grant_password_test.go134 Email: "user@example.com",CODE
LOWserver/server_grant_password_test.go151 v.Add("username", "user@example.com")CODE
LOWserver/server_introspection_test.go202 token: "fake-token",CODE
LOWserver/server_introspection_test.go221 token: "fake-token",CODE
LOWserver/server_login_test.go565 Email: "user@example.com",CODE
LOWserver/server_test.go436 Email: "foo@bar.com",CODE
LOWserver/server_test.go1180 Name: "Jane Doe",CODE
LOWserver/server_test.go1202 Username: "Jane Doe",CODE
LOWserver/mfa/totp_test.go19 key, err := totp.Generate(totp.GenerateOpts{Issuer: "dex", AccountName: "user@example.com"})CODE
LOWserver/mfa/handler_test.go107 Claims: storage.Claims{UserID: "user-1", Email: "user@example.com"},CODE
LOWserver/mfa/handler_test.go148 Claims: storage.Claims{UserID: "user-1", Email: "user@example.com"},CODE
LOWserver/mfa/webauthn_test.go52 Claims: storage.Claims{UserID: "user-1", Email: "user@example.com"},CODE
LOWserver/mfa/webauthn_test.go179 Email: "user@example.com",CODE
LOWserver/mfa/webauthn_test.go204 require.Equal(t, "user@example.com", user.WebAuthnName())CODE
LOWserver/authflow/finalize_test.go28 ident := connector.Identity{UserID: "user-1", Email: "user@example.com"}CODE
LOWserver/authflow/finalize_test.go39 Claims: storage.Claims{UserID: "user-1", Email: "user@example.com"},CODE
LOWserver/authflow/finalize_test.go86 ident := connector.Identity{UserID: "user-1", Email: "user@example.com"}CODE
LOWserver/apiserver/api_test.go1109 Claims: storage.Claims{UserID: "user1", Username: "test", Email: "test@test.com"},CODE
LOWserver/apiserver/api_test.go1345 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now, LastLogin: now,CODE
LOWserver/apiserver/api_test.go1360 Claims: storage.Claims{UserID: "user1", Email: "test@test.com"},CODE
LOWserver/apiserver/api_test.go1374 Email: "test@test.com", Hash: []byte("$2y$10$XXXXXXXXXXXXXXXXXXXXXX"), Username: "test", UserID: "user1",CODE
LOWserver/apiserver/api_test.go1403 if _, err := s.GetPassword(ctx, "test@test.com"); err == nil {CODE
LOWserver/apiserver/api_test.go1433 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now, LastLogin: now,CODE
LOWserver/apiserver/api_test.go1466 if identity.Claims.Email != "test@test.com" {CODE
LOWserver/apiserver/api_test.go1485 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now, LastLogin: now,CODE
LOWserver/apiserver/api_test.go1541 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now, LastLogin: now,CODE
LOWserver/apiserver/api_test.go1602 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now, LastLogin: now,CODE
LOWserver/apiserver/api_test.go1665 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now, LastLogin: now,CODE
LOWserver/apiserver/api_test.go1801 Claims: storage.Claims{Email: "test@test.com"}, CreatedAt: now,CODE
LOWdocs/enhancements/cel-expressions-2026-02-28.md426| `dex.emailDomain` | `(string) -> string` | Returns the domain portion of an email address. `dex.emailDomain("user@examCODE
LOWdocs/enhancements/cel-expressions-2026-02-28.md427| `dex.emailLocalPart` | `(string) -> string` | Returns the local part of an email address. `dex.emailLocalPart("user@exCODE
LOWstorage/conformance/transactions.go130 Name: "Jane Doe",CODE
LOWstorage/conformance/conformance.go574 Name: "Jane Doe",CODE
LOWexamples/config-dev.yaml294- email: "admin@example.com"CODE
LOWexamples/k8s/dex.yaml105 - email: "admin@example.com"CODE
LOWexamples/example-app/server/forms.go87 {Name: "username", Label: "Username", Type: "text", Placeholder: "user@example.com", Required: true},CODE
LOWconnector/ldap/kerberos_test.go252 c.UserSearch.NameAttr: {"John Doe"},CODE
LOWconnector/ldap/kerberos_test.go293 c.UserSearch.NameAttr: {"John Doe"},CODE
LOWconnector/ldap/kerberos_test.go455 c.UserSearch.EmailAttr: {"user@example.com"},CODE
LOWconnector/ldap/kerberos_test.go490 c.UserSearch.NameAttr: {"John Doe"},CODE
LOWconnector/ldap/kerberos_test.go549 c.UserSearch.NameAttr: {"John Doe"},CODE
LOWconnector/google/google_test.go117 DomainToAdminEmail: map[string]string{"*": "foo@bar.com"},CODE
LOWconnector/google/google_test.go128 DomainToAdminEmail: map[string]string{"bar.com": "foo@bar.com"},CODE
LOWconnector/google/google_test.go139 DomainToAdminEmail: map[string]string{"*": "foo@bar.com"},CODE
LOWconnector/google/google_test.go150 DomainToAdminEmail: map[string]string{"*": "foo@bar.com"},CODE
LOWconnector/microsoft/microsoft_test.go89 data: user{ID: "S56767889", Name: "Jane Doe", Email: "jane.doe@example.com"},CODE
LOWconnector/microsoft/microsoft_test.go100 expectEquals(t, identity.Username, "Jane Doe")CODE
LOWconnector/microsoft/microsoft_test.go111 data: user{ID: "S56767889", Name: "Jane Doe", Email: "jane.doe@example.com", MailNickname: "janedoe", OnPremisesSamAcCODE
LOWconnector/microsoft/microsoft_test.go122 {"name", "Jane Doe"},CODE
16 more matches not shown…
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMconnector/google/google_test.go24 // ┌───────┤COMMENT
MEDIUMconnector/google/google_test.go26 // │ ├────────┐COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/oidc-conformance/run.sh8# Usage:COMMENT