The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 55 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 15 finding(s).
Which changes need focused human review? 66 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | AGENTS.md | 81 | COMMENT | |
| LOW | frontend/src/lib/utils/tracing-util.ts | 1 | // Frontend tracing built on the OpenTelemetry Web SDK. | COMMENT |
| LOW | tests/setup/francis-version.sh | 1 | #!/bin/sh | COMMENT |
| LOW | backend/internal/claimmappingpolicy/handler.go | 21 | // @Summary List OIDC claim mapping policies | COMMENT |
| LOW | backend/internal/claimmappingpolicy/handler.go | 181 | COMMENT | |
| LOW | backend/internal/claimmappingpolicy/handler.go | 221 | } | COMMENT |
| LOW | backend/internal/oidc/claim_mappings_preview_handler.go | 21 | ClaimMappings []claimmappingpolicy.OidcClaimMappingDto `json:"claimMappings" binding:"dive"` | COMMENT |
| LOW | backend/internal/controller/oidc_controller.go | 81 | if err != nil { | COMMENT |
| LOW | backend/internal/controller/oidc_controller.go | 321 | return err | COMMENT |
| LOW | backend/internal/controller/oidc_controller.go | 441 | } | COMMENT |
| LOW | backend/internal/controller/oidc_controller.go | 461 | // listAuthorizedClientsHandler godoc | COMMENT |
| LOW | backend/internal/controller/oidc_controller.go | 521 | return nil | COMMENT |
| LOW | backend/internal/controller/user_controller.go | 281 | return uc.updateUser(c, false) | COMMENT |
| LOW | backend/internal/controller/user_controller.go | 321 | COMMENT | |
| LOW | backend/internal/controller/healthz_controller.go | 21 | type HealthzController struct{} | COMMENT |
| LOW | backend/internal/controller/app_images_controller.go | 61 | // @Failure default {object} dto.ErrorDto "Error" | COMMENT |
| LOW | backend/internal/controller/app_images_controller.go | 81 | // @Summary Get background image | COMMENT |
| LOW | backend/internal/controller/app_images_controller.go | 101 | func (c *AppImagesController) getFaviconHandler(ctx *gin.Context) error { | COMMENT |
| LOW | backend/internal/controller/app_images_controller.go | 221 | // @Summary Delete background image | COMMENT |
| LOW | backend/internal/controller/custom_claim_controller.go | 41 | return err | COMMENT |
| LOW | backend/internal/controller/custom_claim_controller.go | 81 | // UpdateCustomClaimsForUserGroupHandler godoc | COMMENT |
| LOW | backend/internal/controller/user_group_controller.go | 41 | // list godoc | COMMENT |
| LOW | backend/internal/controller/user_group_controller.go | 221 | if err := dto.MapStruct(group, &groupDto); err != nil { | COMMENT |
| LOW | backend/internal/auditlogs/handler.go | 41 | // @Summary List audit logs | COMMENT |
| LOW | backend/internal/auditlogs/handler.go | 81 | COMMENT | |
| LOW | backend/internal/common/env_config.go | 121 | ActorsHost string `env:"ACTORS_HOST" options:"toLower"` | COMMENT |
| LOW | backend/internal/environment/handler.go | 41 | } | COMMENT |
| LOW | backend/internal/api/handler.go | 21 | // list godoc | COMMENT |
| LOW | backend/internal/api/handler.go | 141 | // @Success 204 "No Content" | COMMENT |
| LOW | backend/internal/api/handler.go | 241 | } | COMMENT |
| LOW | backend/internal/api/handler.go | 301 | }) | COMMENT |
| LOW | backend/internal/scimsync/handler.go | 21 | // @Summary Get SCIM service provider | COMMENT |
| LOW | backend/internal/scimsync/handler.go | 81 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/lib/utils/email-verification-util.ts | 6 | export function isEmailVerificationPending( | CODE |
| LOW | frontend/src/lib/components/logo.svelte | 85 | function claimDefaultLogoAnimation() { | CODE |
| LOW | frontend/src/lib/components/form/date-picker.svelte | 48 | function handleCalendarInteraction(newDateValue?: DateValue) { | CODE |
| LOW | …c/routes/settings/admin/oidc-clients/[id]/+page.svelte | 137 | async function updateFederatedCredentials(federatedIdentities: OidcClientFederatedIdentity[]) { | CODE |
| LOW | …ntend/src/routes/login/alternative/device/+page.svelte | 106 | function isRetryableDeviceLoginExchangeError(error: unknown) { | CODE |
| LOW | email-templates/build.ts | 31 | async function discoverAndBuildTemplates() { | CODE |
| LOW | tests/specs/oidc-client-settings.spec.ts | 601 | async function authenticateWithAssertion(key: CryptoKey, keyId: string, jti: string) { | CODE |
| LOW | tests/specs/email-verification.spec.ts | 23 | async function requireEmailVerificationWithSmtp(request: APIRequestContext) { | CODE |
| LOW | tests/specs/api-key.spec.ts | 92 | function getDefaultApiKeyExpirationDate() { | CODE |
| LOW | tests/specs/api-key.spec.ts | 99 | async function selectApiKeyExpirationDate(page: Page, date: Date) { | CODE |
| LOW | tests/specs/cli.spec.ts | 425 | function runDockerComposeCommandRaw(args: string[], options?: ExecFileSyncOptions): Buffer { | CODE |
| LOW | tests/specs/oidc.spec.ts | 11 | async function generateSeededOauthAccessToken( | CODE |
| LOW | tests/utils/oidc.util.ts | 3 | export async function interceptCallbackRedirect( | CODE |
| LOW | tests/utils/cleanup.util.ts | 23 | export async function cleanupScimServiceProvider() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/internal/dto/user_dto_test.go | 22 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/dto/user_dto_test.go | 34 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/dto/user_dto_test.go | 44 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/dto/user_dto_test.go | 74 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/dto/user_dto_test.go | 85 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/dto/user_dto_test.go | 96 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/dto/user_dto_test.go | 107 | DisplayName: "John Doe", | CODE |
| LOW | backend/internal/oidc/preview_test.go | 38 | email := "user@example.com" | CODE |
| LOW | backend/internal/service/jwt_service_test.go | 523 | Email: new("user@example.com"), | CODE |
| LOW | backend/internal/service/jwt_service_test.go | 565 | Email: new("admin@example.com"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/specs/oidc.spec.ts | 1464 | // Step 1: Push authorization parameters | COMMENT |
| LOW⚡ | tests/specs/oidc.spec.ts | 1474 | // Step 2: Navigate to /authorize using the request_uri | COMMENT |
| LOW | tests/specs/oidc.spec.ts | 1486 | // Step 3: Exchange the authorization code for tokens | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/specs/oidc.spec.ts | 1464 | // Step 1: Push authorization parameters | COMMENT |
| LOW⚡ | tests/specs/oidc.spec.ts | 1474 | // Step 2: Navigate to /authorize using the request_uri | COMMENT |
| LOW | tests/specs/oidc.spec.ts | 1486 | // Step 3: Exchange the authorization code for tokens | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/specs/oidc.spec.ts | 1446 | // ─── PAR (Pushed Authorization Requests - RFC 9126) ────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/docker/entrypoint.sh | 15 | # Check if the group with PGID exists; if not, create it | COMMENT |
| LOW | scripts/docker/entrypoint.sh | 20 | # Check if a user with PUID exists; if not, create it | COMMENT |