AI Slop Code Risk Monitor

pocket-id/pocket-id

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

The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys.

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for pocket-id/pocket-id, a Go project with 9,834 GitHub stars. SynthScan examined 144,965 lines of code across 984 source files, recording 66 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.8K
Stars
Go
Language
145.0K
Lines of Code
984
Files
66
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.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 2.3/100 · LOW

Which changes need focused human review? 66 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 1LOW 65

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 66 distinct pattern matches across 7 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 Block33 hits · 33 pts
SeverityFileLineSnippetContext
LOWAGENTS.md81COMMENT
LOWfrontend/src/lib/utils/tracing-util.ts1// Frontend tracing built on the OpenTelemetry Web SDK.COMMENT
LOWtests/setup/francis-version.sh1#!/bin/shCOMMENT
LOWbackend/internal/claimmappingpolicy/handler.go21// @Summary List OIDC claim mapping policiesCOMMENT
LOWbackend/internal/claimmappingpolicy/handler.go181COMMENT
LOWbackend/internal/claimmappingpolicy/handler.go221}COMMENT
LOWbackend/internal/oidc/claim_mappings_preview_handler.go21 ClaimMappings []claimmappingpolicy.OidcClaimMappingDto `json:"claimMappings" binding:"dive"`COMMENT
LOWbackend/internal/controller/oidc_controller.go81 if err != nil {COMMENT
LOWbackend/internal/controller/oidc_controller.go321 return errCOMMENT
LOWbackend/internal/controller/oidc_controller.go441}COMMENT
LOWbackend/internal/controller/oidc_controller.go461// listAuthorizedClientsHandler godocCOMMENT
LOWbackend/internal/controller/oidc_controller.go521 return nilCOMMENT
LOWbackend/internal/controller/user_controller.go281 return uc.updateUser(c, false)COMMENT
LOWbackend/internal/controller/user_controller.go321COMMENT
LOWbackend/internal/controller/healthz_controller.go21type HealthzController struct{}COMMENT
LOWbackend/internal/controller/app_images_controller.go61// @Failure default {object} dto.ErrorDto "Error"COMMENT
LOWbackend/internal/controller/app_images_controller.go81// @Summary Get background imageCOMMENT
LOWbackend/internal/controller/app_images_controller.go101func (c *AppImagesController) getFaviconHandler(ctx *gin.Context) error {COMMENT
LOWbackend/internal/controller/app_images_controller.go221// @Summary Delete background imageCOMMENT
LOWbackend/internal/controller/custom_claim_controller.go41 return errCOMMENT
LOWbackend/internal/controller/custom_claim_controller.go81// UpdateCustomClaimsForUserGroupHandler godocCOMMENT
LOWbackend/internal/controller/user_group_controller.go41// list godocCOMMENT
LOWbackend/internal/controller/user_group_controller.go221 if err := dto.MapStruct(group, &groupDto); err != nil {COMMENT
LOWbackend/internal/auditlogs/handler.go41// @Summary List audit logsCOMMENT
LOWbackend/internal/auditlogs/handler.go81COMMENT
LOWbackend/internal/common/env_config.go121 ActorsHost string `env:"ACTORS_HOST" options:"toLower"`COMMENT
LOWbackend/internal/environment/handler.go41}COMMENT
LOWbackend/internal/api/handler.go21// list godocCOMMENT
LOWbackend/internal/api/handler.go141// @Success 204 "No Content"COMMENT
LOWbackend/internal/api/handler.go241}COMMENT
LOWbackend/internal/api/handler.go301 })COMMENT
LOWbackend/internal/scimsync/handler.go21// @Summary Get SCIM service providerCOMMENT
LOWbackend/internal/scimsync/handler.go81COMMENT
Hyper-Verbose Identifiers14 hits · 14 pts
SeverityFileLineSnippetContext
LOWfrontend/src/lib/utils/email-verification-util.ts6export function isEmailVerificationPending(CODE
LOWfrontend/src/lib/components/logo.svelte85 function claimDefaultLogoAnimation() {CODE
LOWfrontend/src/lib/components/form/date-picker.svelte48 function handleCalendarInteraction(newDateValue?: DateValue) {CODE
LOW…c/routes/settings/admin/oidc-clients/[id]/+page.svelte137 async function updateFederatedCredentials(federatedIdentities: OidcClientFederatedIdentity[]) {CODE
LOW…ntend/src/routes/login/alternative/device/+page.svelte106 function isRetryableDeviceLoginExchangeError(error: unknown) {CODE
LOWemail-templates/build.ts31async function discoverAndBuildTemplates() {CODE
LOWtests/specs/oidc-client-settings.spec.ts601 async function authenticateWithAssertion(key: CryptoKey, keyId: string, jti: string) {CODE
LOWtests/specs/email-verification.spec.ts23async function requireEmailVerificationWithSmtp(request: APIRequestContext) {CODE
LOWtests/specs/api-key.spec.ts92function getDefaultApiKeyExpirationDate() {CODE
LOWtests/specs/api-key.spec.ts99async function selectApiKeyExpirationDate(page: Page, date: Date) {CODE
LOWtests/specs/cli.spec.ts425function runDockerComposeCommandRaw(args: string[], options?: ExecFileSyncOptions): Buffer {CODE
LOWtests/specs/oidc.spec.ts11async function generateSeededOauthAccessToken(CODE
LOWtests/utils/oidc.util.ts3export async function interceptCallbackRedirect(CODE
LOWtests/utils/cleanup.util.ts23export async function cleanupScimServiceProvider() {CODE
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWbackend/internal/dto/user_dto_test.go22 DisplayName: "John Doe",CODE
LOWbackend/internal/dto/user_dto_test.go34 DisplayName: "John Doe",CODE
LOWbackend/internal/dto/user_dto_test.go44 DisplayName: "John Doe",CODE
LOWbackend/internal/dto/user_dto_test.go74 DisplayName: "John Doe",CODE
LOWbackend/internal/dto/user_dto_test.go85 DisplayName: "John Doe",CODE
LOWbackend/internal/dto/user_dto_test.go96 DisplayName: "John Doe",CODE
LOWbackend/internal/dto/user_dto_test.go107 DisplayName: "John Doe",CODE
LOWbackend/internal/oidc/preview_test.go38 email := "user@example.com"CODE
LOWbackend/internal/service/jwt_service_test.go523 Email: new("user@example.com"),CODE
LOWbackend/internal/service/jwt_service_test.go565 Email: new("admin@example.com"),CODE
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡tests/specs/oidc.spec.ts1464 // Step 1: Push authorization parametersCOMMENT
LOW⚡tests/specs/oidc.spec.ts1474 // Step 2: Navigate to /authorize using the request_uriCOMMENT
LOWtests/specs/oidc.spec.ts1486 // Step 3: Exchange the authorization code for tokensCOMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡tests/specs/oidc.spec.ts1464 // Step 1: Push authorization parametersCOMMENT
LOW⚡tests/specs/oidc.spec.ts1474 // Step 2: Navigate to /authorize using the request_uriCOMMENT
LOWtests/specs/oidc.spec.ts1486 // Step 3: Exchange the authorization code for tokensCOMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/specs/oidc.spec.ts1446// ─── PAR (Pushed Authorization Requests - RFC 9126) ──────────────────────────COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/docker/entrypoint.sh15# Check if the group with PGID exists; if not, create itCOMMENT
LOWscripts/docker/entrypoint.sh20# Check if a user with PUID exists; if not, create itCOMMENT