AI Slop Code Risk Monitor

zitadel/zitadel

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

ZITADEL - Identity infrastructure, simplified for you.

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zitadel/zitadel, a Go project with 15,484 GitHub stars. SynthScan examined 1,283,780 lines of code across 5447 source files, recording 585 pattern matches distributed across 13 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-10-30
Last Push
15.5K
Stars
Go
Language
1.3M
Lines of Code
5.4K
Files
585
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 1.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 2.7/100 · LOW

Which changes need focused human review? 585 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 10HIGH 1MEDIUM 13LOW 561

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 585 distinct pattern matches across 13 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 Block262 hits · 256 pts
SeverityFileLineSnippetContext
LOWAPI_DESIGN.md601// reset for the user. Please check the required format and supported algorithms: <Link to documentation>. COMMENT
LOWAPI_DESIGN.md621//COMMENT
LOWbenchmark/src/user.ts21// then returns no user at all. Retry briefly rather than resolving undefined, whichCOMMENT
LOWbenchmark/src/user.ts81 //COMMENT
LOWcmd/defaults.yaml1Instrumentation:COMMENT
LOWcmd/defaults.yaml21 Exporter:COMMENT
LOWcmd/defaults.yaml41 # The following exporter types are supported:COMMENT
LOWcmd/defaults.yaml61 Log:COMMENT
LOWcmd/defaults.yaml81 # (e.g. added via slog.Any), the entire value is replaced with Value and its structure is not preserved.COMMENT
LOWcmd/defaults.yaml101 Errors:COMMENT
LOWcmd/defaults.yaml141COMMENT
LOWcmd/defaults.yaml161 ServiceName: "ZITADEL" #ZITADEL_TRACING_SERVICENAMECOMMENT
LOWcmd/defaults.yaml181 # If one endpoint returns an unsuccessful response code or times out,COMMENT
LOWcmd/defaults.yaml201Port: 8080 # ZITADEL_PORTCOMMENT
LOWcmd/defaults.yaml221 # Private key of the TLS certificate (KeyPath has a higher priority than Key)COMMENT
LOWcmd/defaults.yaml241# Ordered header name list, which will be used as the public hostCOMMENT
LOWcmd/defaults.yaml321 # Note: ZITADEL ignores the `/db` path when selecting Redis databases; DBs are chosenCOMMENT
LOWcmd/defaults.yaml341 # This option offsets the first DB so it doesn't conflict with other databases on the same server.COMMENT
LOWcmd/defaults.yaml361 # - `-2` - disables SetReadDeadline calls completely.COMMENT
LOWcmd/defaults.yaml381 # Default is ReadTimeout + 1 second.COMMENT
LOWcmd/defaults.yaml401 # If <= 0, connections are not closed due to a connection's age.COMMENT
LOWcmd/defaults.yaml481 # Use private IP to identify machines uniquelyCOMMENT
LOWcmd/defaults.yaml501 # AWS ECS v4 Configuration: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.htCOMMENT
LOWcmd/defaults.yaml521# The Projections section defines the behavior for the scheduled and synchronous events projections.COMMENT
LOWcmd/defaults.yaml601 # Automatically cancel the notification after the amount of failed attemptsCOMMENT
LOWcmd/defaults.yaml821 EncryptionKeyID: "targetKey" # ZITADEL_ENCRYPTIONKEYS_TARGET_ENCRYPTIONKEYIDCOMMENT
LOWcmd/defaults.yaml841# # key or a public X.509 certificateCOMMENT
LOWcmd/defaults.yaml921 MaxRounds: 31 # ZITADEL_SYSTEMDEFAULTS_PASSWORDHASHER_LIMITS_PHPASS_MAXROUNDSCOMMENT
LOWcmd/defaults.yaml941 # - "bcrypt"COMMENT
LOWcmd/defaults.yaml1041 CertificateLifetime: 8766h # ZITADEL_SYSTEMDEFAULTS_KEYCONFIG_CERTIFICATELIFETIMECOMMENT
LOWcmd/defaults.yaml1101 # If enabled, the thresholds below are applied to the eventstore.events2 tableCOMMENT
LOWcmd/defaults.yaml1501 AllowedLanguages: # ZITADEL_DEFAULTINSTANCE_RESTRICTIONS_ALLOWEDLANGUAGESCOMMENT
LOWcmd/defaults.yaml1521# - Unit: "requests.all.authenticated"COMMENT
LOWcmd/defaults.yaml1541# AuditLogRetention limits the number of events that can be queried via the events API by their age.COMMENT
LOWcmd/defaults.yaml1561 # If one report fails, it will be retried up to this number of times.COMMENT
LOWcmd/setup/steps.yaml1Instrumentation:COMMENT
LOWcmd/setup/steps.yaml21 # Interval for batching traces before exportCOMMENT
LOWcmd/setup/steps.yaml61 # regardless of their position in the attribute hierarchy.COMMENT
LOWcmd/setup/steps.yaml81 Format: "disabled" # ZITADEL_INSTRUMENTATION_LOG_STDERRCOMMENT
LOWcmd/mirror/defaults.yaml1Instrumentation:COMMENT
LOWcmd/mirror/defaults.yaml21 # Interval for batching traces before exportCOMMENT
LOWcmd/mirror/defaults.yaml61 # regardless of their position in the attribute hierarchy.COMMENT
LOWcmd/mirror/defaults.yaml81 Format: "disabled" # ZITADEL_INSTRUMENTATION_LOG_STDERRCOMMENT
LOWdeploy/compose/docker-compose.test.yml1# Test overlay: replaces published images with locally-built ones.COMMENT
LOWtests/functional-ui/cypress/support/e2e.ts1// ***********************************************************COMMENT
LOWinternal/idp/providers/ldap/fetch_user_mock.go21// FetchUser implements the [idp.Session] interface.COMMENT
LOWinternal/crypto/hmac.go1package cryptoCOMMENT
LOWinternal/cache/cache.go21 PurposeFederatedLogoutCOMMENT
LOWinternal/cache/cache.go41 // Get an object through specified index.COMMENT
LOWinternal/cache/cache.go61COMMENT
LOWinternal/cache/connector/redis/connector.go21COMMENT
LOWinternal/cache/connector/redis/connector.go41 // This can have destructive consequences when overlapping DB namespaces are used.COMMENT
LOWinternal/cache/connector/redis/connector.go61 // - `-2` - disables SetReadDeadline calls completely.COMMENT
LOWinternal/cache/connector/redis/connector.go81 // are busy before returning an error.COMMENT
LOW…pository/eventsourcing/eventstore/auth_request_test.go2441 tests := []struct {COMMENT
LOWinternal/integration/sink/sink.go1// Package sink provides a simple HTTP server where Zitadel can send HTTP based messages,COMMENT
LOWinternal/zerrors/zerror.go41 // KindPermissionDenied indicates that the caller doesn't have permission toCOMMENT
LOWinternal/eventstore/config.go21// AutovacuumConfig configures table-level autovacuum and autoanalyze tuningCOMMENT
LOWinternal/eventstore/event.go21 // Type describes the actionCOMMENT
LOWinternal/eventstore/handler/v2/statement_test.go1681// type fields struct {COMMENT
202 more matches not shown…
Fake / Example Data185 hits · 180 pts
SeverityFileLineSnippetContext
LOW…l-ui/cypress/e2e/instance/settings/notifications.cy.ts41 cy.get('input[name="smtp-user"]').should('be.enabled').clear().type('user@example.com');CODE
LOW…l-ui/cypress/e2e/instance/settings/notifications.cy.ts62 cy.get('input[name="smtp-user"]').should('be.enabled').clear().type('user@example.com');CODE
LOW⚡internal/eventstore/bench_payload.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec pharetra neque. Nam viverra elit lorem, sit amet euisCODE
LOW⚡internal/eventstore/bench_payload.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec pharetra neque. Nam viverra elit lorem, sit amet euisCODE
LOW⚡internal/eventstore/bench_payload.txt5Duis convallis, dui aliquet imperdiet aliquam, nisl sem vehicula nisi, eleifend dignissim velit nunc nec sem. In euismodCODE
LOW⚡internal/eventstore/bench_payload.txt5Duis convallis, dui aliquet imperdiet aliquam, nisl sem vehicula nisi, eleifend dignissim velit nunc nec sem. In euismodCODE
LOW⚡…api/scim/resources/filter/filter_query_builder_test.go265 filter: `userName eq "Hans" and emails[value ew "@example.org" or value ew "@example.com"]`,CODE
LOW⚡…api/scim/resources/filter/filter_query_builder_test.go269 test.Must(query.NewTextQuery(query.HumanEmailCol, "@example.org", query.TextEndsWith)),CODE
LOW⚡…api/scim/resources/filter/filter_query_builder_test.go276 filter: `emails[value ew "@example.org" and value co "@example.com"] or emails[value sw "hans" or value sw "peter"]`,CODE
LOW⚡…api/scim/resources/filter/filter_query_builder_test.go279 test.Must(query.NewTextQuery(query.HumanEmailCol, "@example.org", query.TextEndsWith)),CODE
LOW…api/scim/resources/filter/filter_query_builder_test.go307 filter: `emails[not(value ew "@example.org" or value ew "@example.com")]`,CODE
LOW…api/scim/resources/filter/filter_query_builder_test.go310 test.Must(query.NewTextQuery(query.HumanEmailCol, "@example.org", query.TextEndsWith)),CODE
LOWinternal/api/grpc/oidc/v2beta/oidc_test.go36 LoginHint: gu.Ptr("foo@bar.com"),CODE
LOWinternal/api/grpc/oidc/v2beta/oidc_test.go56 LoginHint: gu.Ptr("foo@bar.com"),CODE
LOWinternal/api/grpc/oidc/v2/oidc_test.go36 LoginHint: gu.Ptr("foo@bar.com"),CODE
LOWinternal/api/grpc/oidc/v2/oidc_test.go56 LoginHint: gu.Ptr("foo@bar.com"),CODE
LOW…ernal/api/grpc/user/v2/integration_test/intent_test.go1402 LoginHint: "user@example.com",CODE
LOW…ernal/api/grpc/user/v2/integration_test/intent_test.go1414 "login_hint": "user@example.com",CODE
LOWinternal/api/grpc/user/v2/convert/user_test.go87 DisplayName: "John Doe",CODE
LOWinternal/api/oidc/auth_request_test.go41 logoutHint: "user@example.com",CODE
LOWinternal/api/oidc/auth_request_test.go44 "logout_hint": "user@example.com",CODE
LOWinternal/api/oidc/userinfo_test.go224 Email: "foo@bar.com",CODE
LOWinternal/api/oidc/userinfo_test.go349 Email: "foo@bar.com",CODE
LOWinternal/command/idp_intent_test.go649 loginHint: "user@example.com",CODE
LOWinternal/query/user_login_name_exists_test.go115 emailQuery, err := NewUserEmailSearchQuery("user@example.com", TextEqualsIgnoreCase)CODE
LOWinternal/query/user_login_name_exists_test.go233 emailQuery, err := NewUserEmailSearchQuery("user@example.com", TextEqualsIgnoreCase)CODE
LOWinternal/query/user_login_name_exists_test.go253 assert.Contains(t, args, "user@example.com")CODE
LOWinternal/query/user_login_name_exists_test.go260 emailQuery, err := NewUserEmailSearchQuery("user@example.com", TextEqualsIgnoreCase)CODE
LOWinternal/query/user_login_name_exists_test.go280 assert.Contains(t, args, "user@example.com")CODE
LOWinternal/query/user_login_name_exists_test.go285 emailQuery, err := NewUserEmailSearchQuery("user@example.com", TextEqualsIgnoreCase)CODE
LOWinternal/query/user_login_name_exists_test.go305 assert.Contains(t, args, "user@example.com")CODE
LOWinternal/query/user_login_name_exists_test.go656 emailQuery, err := NewUserEmailSearchQuery("user@example.com", TextEqualsIgnoreCase)CODE
LOWinternal/query/user_login_name_exists_test.go675 assert.Contains(t, args, "user@example.com")CODE
LOWinternal/domain/org_domain_test.go60 orgName: "Lorem ipsum dolor sit amet",CODE
LOWinternal/domain/org_domain_test.go60 orgName: "Lorem ipsum dolor sit amet",CODE
LOW…d/v3/api/session/v2/convert/session_check_user_test.go39 Search: &session_grpc.CheckUser_LoginName{LoginName: "user@example.com"},CODE
LOW…d/v3/api/session/v2/convert/session_check_user_test.go41 expectedDomainCheckUser: &domain.CheckUserType{LoginName: "user@example.com"},CODE
LOWbackend/v3/domain/session_challenge_passkey_test.go980 Address: "user@example.com",CODE
LOW⚡backend/v3/domain/session_check_user_test.go224 repo.LoginNameCondition(database.TextOperationEqual, "user@example.com"),CODE
LOW⚡backend/v3/domain/session_check_user_test.go230 LoginNames: []domain.LoginName{{LoginName: "user@example.com"}},CODE
LOW⚡backend/v3/domain/session_check_user_test.go237 InputCheckUser: &domain.CheckUserType{LoginName: "user@example.com"},CODE
LOWapps/login/src/app/(login)/signedin/page.test.tsx43 factors: { user: { id: "user-1", loginName: "user@example.com", displayName: "User", organizationId: "org-1" } },CODE
LOWapps/login/src/app/(login)/device/consent/page.test.tsx43 factors: { user: { id: "user-1", loginName: "user@example.com", displayName: "User", organizationId: "org-1" } },CODE
LOWapps/login/src/app/(login)/device/consent/page.test.tsx114 expect(UserAvatar).toHaveBeenCalledWith(expect.objectContaining({ loginName: "user@example.com" }), undefined);CODE
LOWapps/login/src/components/input.test.tsx29 const { container } = render(<TextInput label="Name" defaultValue="John Doe" />);CODE
LOWapps/login/src/components/input.test.tsx31 expect(input?.defaultValue).toBe("John Doe");CODE
LOWapps/login/src/components/avatar.test.tsx30 const initials = getInitials("John Doe", "john.doe@example.com");CODE
LOWapps/login/src/components/avatar.test.tsx67 const { container } = render(<Avatar name="John Doe" loginName="john@example.com" />);CODE
LOW⚡apps/login/src/lib/auth-utils.test.ts20 expect(equalsIgnoreCase("user@example.com", "user@other.com")).toBe(false);CODE
LOW⚡apps/login/src/lib/auth-utils.test.ts24 expect(equalsIgnoreCase(undefined, "user@example.com")).toBe(false);CODE
LOW⚡apps/login/src/lib/auth-utils.test.ts25 expect(equalsIgnoreCase("user@example.com", undefined)).toBe(false);CODE
LOWapps/login/src/lib/verify-helper.test.ts366 loginName: "user@example.com",CODE
LOWapps/login/src/lib/verify-helper.test.ts477 loginName: "user@example.com",CODE
LOWapps/login/src/lib/verify-helper.test.ts562 loginName: "user@example.com",CODE
LOWapps/login/src/lib/verify-helper.test.ts755 loginName: "user@example.com",CODE
LOWapps/login/src/lib/cookies.test.ts112 loginName: "user@example.com",CODE
LOWapps/login/src/lib/cookies.test.ts155 loginName: "user@example.com",CODE
LOWapps/login/src/lib/cookies.test.ts280 loginName: "user@example.com",CODE
LOWapps/login/src/lib/cookies.test.ts649 loginName: "user@example.com",CODE
LOWapps/login/src/lib/cookies.test.ts803 await expect(getSessionCookieByLoginName({ loginName: "user@example.com" })).resolves.toBeUndefined();CODE
125 more matches not shown…
Hallucination Indicators10 hits · 100 pts
SeverityFileLineSnippetContext
CRITICALcmd/setup/03.go123 mig.instanceSetup.Org.Human.Email.Address = mig.instanceSetup.Org.Human.Email.Address.Normalize()CODE
CRITICALbackend/v3/storage/database/repository/user_test.go2666 assert.False(t, u.Human.Email.OTP.EnabledAt.Equal(now))CODE
CRITICALbackend/v3/storage/database/repository/user_test.go2702 assert.False(t, u.Human.Email.OTP.LastSuccessfullyCheckedAt.Equal(now))CODE
CRITICALbackend/v3/storage/database/repository/user_human.go136 if user.Human.Password.PendingVerification.ExpiresAt != nil && !user.Human.Password.PendingVerification.ExpiresAt.IsZeCODE
CRITICALbackend/v3/storage/database/repository/user_human.go163 if user.Human.Email.PendingVerification.ExpiresAt != nil && !user.Human.Email.PendingVerification.ExpiresAt.IsZero() {CODE
CRITICALbackend/v3/storage/database/repository/user_human.go198 if user.Human.Phone.PendingVerification.ExpiresAt != nil && !user.Human.Phone.PendingVerification.ExpiresAt.IsZero() {CODE
CRITICALbackend/v3/storage/database/repository/user_human.go233 if user.Human.Invite.PendingVerification.ExpiresAt != nil && !user.Human.Invite.PendingVerification.ExpiresAt.IsZero()CODE
CRITICALbackend/v3/domain/session_challenge_otp_sms.go122 if retrievedUser.Human.Phone.OTP.EnabledAt.IsZero() {CODE
CRITICALbackend/v3/domain/session_challenge_otp_email.go118 if retrievedUser.Human.Email.OTP.EnabledAt.IsZero() {CODE
CRITICAL…c/app/modules/smtp-provider/smtp-provider.component.ts251 scopes: state.config.config.value.Auth.value.scopes.join(','),CODE
Hyper-Verbose Identifiers87 hits · 87 pts
SeverityFileLineSnippetContext
LOWtests/functional-ui/cypress/support/api/sms.ts21export function ensureSMSProviderDoesntExist(api: API) {CODE
LOW…onal-ui/cypress/support/api/external-links-settings.ts4export function ensureExternalLinksSettingsSet(api: API, tosLink: string, privacyPolicyLink: string, docsLink: string) {CODE
LOWtests/functional-ui/cypress/support/api/projects.ts37export function ensureProjectResourceDoesntExist(CODE
LOWtests/functional-ui/cypress/support/api/grants.ts21export function ensureProjectGrantDoesntExist(ctx: Context, projectId: number, foreignOrgId: string) {CODE
LOWtests/functional-ui/cypress/support/api/members.ts5export function ensureHumanIsNotOrgMember(api: API, username: string) {CODE
LOWtests/functional-ui/cypress/support/api/members.ts36export function ensureHumanIsNotProjectMember(CODE
LOWtests/functional-ui/cypress/support/api/members.ts50export function ensureHumanIsProjectMember(CODE
LOWinternal/api/ui/login/static/resources/scripts/theme.js16function hasDarkModeOverwriteCookie() {CODE
LOWinternal/api/ui/login/static/resources/scripts/theme.js20function hasLightModeOverwriteCookie() {CODE
LOW…/ui/login/static/resources/scripts/loginname_suffix.js1function RenderDefaultLoginnameSuffix() {CODE
LOWpackages/zitadel-client/src/interceptors.ts7export function NewAuthorizationBearerInterceptor(token: string): Interceptor {CODE
LOWapps/docs/scripts/clean-openapi.ts29function removeAdditionalPropertiesFalse(obj: any) {CODE
LOWapps/login/acceptance/tests/login.ts28export async function loginWithPasswordAndEmailOTP(page: Page, username: string, password: string, email: string) {CODE
LOWapps/login/acceptance/tests/login.ts33export async function loginWithPasswordAndPhoneOTP(page: Page, username: string, password: string, phone: string) {CODE
LOWapps/login/acceptance/tests/passkey.ts71async function simulateSuccessfulPasskeyRegister(CODE
LOWapps/login/acceptance/tests/passkey.ts91async function simulateSuccessfulPasskeyInput(CODE
LOWapps/login/acceptance/tests/password-screen.ts34export async function changePasswordScreenExpect(CODE
LOWapps/login/acceptance/tests/password-screen.ts83export async function resetPasswordScreenExpect(CODE
LOWapps/login/acceptance/tests/register-screen.ts6export async function registerUserScreenPassword(page: Page, firstname: string, lastname: string, email: string) {CODE
LOWapps/login/acceptance/tests/register-screen.ts11export async function registerUserScreenPasskey(page: Page, firstname: string, lastname: string, email: string) {CODE
LOWapps/login/src/instrumentation.ts67async function logSessionCookieSecretNotice(): Promise<void> {CODE
LOW…login/src/components/choose-authenticator-to-login.tsx12export function ChooseAuthenticatorToLogin({ authMethods, params, loginSettings }: Props) {CODE
LOW…/login/src/components/register-form-idp-incomplete.tsx43export function RegisterFormIDPIncomplete({CODE
LOW…login/src/components/choose-second-factor-to-setup.tsx28export function ChooseSecondFactorToSetup({CODE
LOW…s/login/src/components/authentication-method-radio.tsx13export function AuthenticationMethodRadio({CODE
LOW…login/src/components/choose-authenticator-to-setup.tsx13export function ChooseAuthenticatorToSetup({ authMethods, params, loginSettings }: Props) {CODE
LOWapps/login/src/components/login-passkey.tsx74 async function updateOrCreateSessionForChallenge(CODE
LOWapps/login/src/components/theme-switch.tsx14function getThemeSwitchCardAppearance(): string {CODE
LOWapps/login/src/components/language-switcher.tsx14function getLanguageSwitcherRoundness(): string {CODE
LOWapps/login/src/components/language-switcher.tsx19function getLanguageSwitcherCardAppearance(): string {CODE
LOWapps/login/src/components/register-u2f.tsx60 async function submitRegisterAndContinue(): Promise<boolean | void | null> {CODE
LOWapps/login/src/components/button.tsx57function getDefaultButtonRoundness(): string {CODE
LOWapps/login/src/components/button.tsx62function getDefaultButtonAppearance(): string {CODE
LOWapps/login/src/components/session-item.tsx19export function isSessionPrimaryFactorAndLifetimeValid(session: Partial<Session>): {CODE
LOWapps/login/src/components/idps/base-button.tsx18function getDefaultIdpButtonAppearance(): string {CODE
LOWapps/login/src/lib/auth-utils.ts34export function getValidLocaleFromUILocales(uiLocales: string[] | undefined): string | null {CODE
LOWapps/login/src/lib/themeUtils.tsx25export function getButtonRoundnessClasses(roundness: string) {CODE
LOWapps/login/src/lib/i18n.ts72export function shouldUILocalesOverrideCookie(): boolean {CODE
LOWapps/login/src/lib/client-utils.ts10export function handleServerActionResponse(CODE
LOWapps/login/src/lib/verification-check.ts30export async function setUserVerificationCheckCookie(userId: string): Promise<void> {CODE
LOWapps/login/src/lib/verification-check.ts43export async function hasValidUserVerificationCheckCookie(userId: string): Promise<boolean> {CODE
LOWapps/login/src/lib/session-cookie-signature.ts71export function getSessionCookieSecretConfigError(): string | undefined {CODE
LOWapps/login/src/lib/session-cookie-signature.ts110export function isUsingCredentialFallback(): boolean {CODE
LOWapps/login/src/lib/session-cookie-signature.ts117export function getSessionCookieSecretStartupNotice(): { level: "error" | "warn"; message: string } | undefined {CODE
LOWapps/login/src/lib/legal-links.ts3export function resolveLocalizedLegalLink(link: string | undefined, locale: string | undefined): string | undefined {CODE
LOWapps/login/src/lib/verify-helper.ts9export function checkPasswordChangeRequired(CODE
LOWapps/login/src/lib/zitadel.ts97export async function getHostedLoginTranslation({CODE
LOWapps/login/src/lib/zitadel.ts228export async function getPasswordExpirySettings({ serviceConfig, orgId }: WithServiceConfig<{ orgId?: string }>) {CODE
LOWapps/login/src/lib/zitadel.ts287export async function getLegalAndSupportSettings({CODE
LOWapps/login/src/lib/zitadel.ts308export async function getPasswordComplexitySettings({CODE
LOWapps/login/src/lib/zitadel.ts329export async function createSessionFromChecksAndChallenges({CODE
LOWapps/login/src/lib/zitadel.ts346export async function createSessionForUserIdAndIdpIntent({CODE
LOWapps/login/src/lib/zitadel.ts935export async function startIdentityProviderFlow({CODE
LOWapps/login/src/lib/zitadel.ts977export async function startLDAPIdentityProviderFlow({CODE
LOWapps/login/src/lib/zitadel.ts1014export async function getDeviceAuthorizationRequest({CODE
LOWapps/login/src/lib/zitadel.ts1027export async function authorizeOrDenyDeviceAuthorization({CODE
LOWapps/login/src/lib/zitadel.ts1250export async function createPasskeyRegistrationLink({CODE
LOWapps/login/src/lib/zitadel.ts1314export async function getActiveIdentityProviders({CODE
LOWapps/login/src/lib/zitadel.ts1337export async function verifyPasskeyRegistration({CODE
LOWapps/login/src/lib/zitadel.ts1381export async function listAuthenticationMethodTypes({CODE
27 more matches not shown…
Decorative Section Separators8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMapps/docs/scripts/install-proto-plugins.sh16# ── VERSIONS & CHECKSUMS ────────────────────────────────────────────────────COMMENT
MEDIUMapps/docs/scripts/install-proto-plugins.sh28# ── HELPERS ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/docs/scripts/install-proto-plugins.sh46# ── PLATFORM DETECTION ───────────────────────────────────────────────────────COMMENT
MEDIUMapps/docs/scripts/install-proto-plugins.sh67# ── INSTALL ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMconsole/scripts/install-proto-plugins.sh16# ── VERSIONS & CHECKSUMS ────────────────────────────────────────────────────COMMENT
MEDIUMconsole/scripts/install-proto-plugins.sh40# ── HELPERS ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMconsole/scripts/install-proto-plugins.sh58# ── PLATFORM DETECTION ───────────────────────────────────────────────────────COMMENT
MEDIUMconsole/scripts/install-proto-plugins.sh79# ── INSTALL ───────────────────────────────────────────────────────────────────COMMENT
Verbosity Indicators9 hits · 17 pts
SeverityFileLineSnippetContext
LOW…/api/ui/login/integration_test/username_change_test.go106 // Step 1: create a Login V1 auth request by hitting the OIDC authorize endpoint WITHOUT theCOMMENT
LOW⚡…/api/ui/login/integration_test/username_change_test.go121 // Step 2: load the login page. This renders the login form and lets us scrape the CSRF token,COMMENT
LOW⚡…/api/ui/login/integration_test/username_change_test.go126 // Step 3: the binding. POST the victim's login name. handleLoginNameCheck -> checkLoginName ->COMMENT
LOW…/api/ui/login/integration_test/username_change_test.go148 // Step 4: the attack. POST a new username. Before the fix this renamed the bound victim; the fixCOMMENT
LOW…l/api/ui/login/integration_test/external_login_test.go134 // Step 1: create a Login V1 auth request by hitting the OIDC authorize endpoint WITHOUT theCOMMENT
LOW⚡…l/api/ui/login/integration_test/external_login_test.go149 // Step 2: load the login page. This renders the login form and lets us scrape the CSRF tokenCOMMENT
LOW⚡…l/api/ui/login/integration_test/external_login_test.go154 // Step 3: select the external IDP. handleExternalLogin -> handleIDP persists SelectedIDPConfigID onCOMMENT
LOW⚡…l/api/ui/login/integration_test/external_login_test.go163 // Step 4: the attack. POST forged "external account not found" data. Every external-* field below isCOMMENT
LOWapps/login/src/lib/server/password.ts487 // if the user has no authmethods set, we need to check if the user was verifiedCOMMENT
Structural Annotation Overuse8 hits · 16 pts
SeverityFileLineSnippetContext
LOW…/api/ui/login/integration_test/username_change_test.go106 // Step 1: create a Login V1 auth request by hitting the OIDC authorize endpoint WITHOUT theCOMMENT
LOW⚡…/api/ui/login/integration_test/username_change_test.go121 // Step 2: load the login page. This renders the login form and lets us scrape the CSRF token,COMMENT
LOW⚡…/api/ui/login/integration_test/username_change_test.go126 // Step 3: the binding. POST the victim's login name. handleLoginNameCheck -> checkLoginName ->COMMENT
LOW…/api/ui/login/integration_test/username_change_test.go148 // Step 4: the attack. POST a new username. Before the fix this renamed the bound victim; the fixCOMMENT
LOW…l/api/ui/login/integration_test/external_login_test.go134 // Step 1: create a Login V1 auth request by hitting the OIDC authorize endpoint WITHOUT theCOMMENT
LOW⚡…l/api/ui/login/integration_test/external_login_test.go149 // Step 2: load the login page. This renders the login form and lets us scrape the CSRF tokenCOMMENT
LOW⚡…l/api/ui/login/integration_test/external_login_test.go154 // Step 3: select the external IDP. handleExternalLogin -> handleIDP persists SelectedIDPConfigID onCOMMENT
LOW⚡…l/api/ui/login/integration_test/external_login_test.go163 // Step 4: the attack. POST forged "external account not found" data. Every external-* field below isCOMMENT
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWdeploy/compose/docker-compose.test.yml7# Usage:COMMENT
LOWbackend/v3/storage/database/repository/org.go205// Example usage:COMMENT
LOWbackend/v3/storage/database/repository/org.go230// Example usage:COMMENT
LOWbackend/v3/storage/database/repository/instance.go192// Example usage:COMMENT
LOWbackend/v3/storage/database/repository/project_grant.go201// Example usage:COMMENT
LOWbackend/v3/instrumentation/logging/logging.go15// Example usage:COMMENT
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMcmd/defaults.yaml1580 # so you can adjust the bulk size if you see that the requests are too large.COMMENT
LOWinternal/query/projection/projection.go205 // Don't forget to add the new field handler to [ProjectInstanceFields]COMMENT
MEDIUMapps/login/acceptance/oidcrp/main.go111 // for demonstration purposes the returned userinfo response is written as JSON object onto responseCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…th/repository/eventsourcing/eventstore/auth_request.go871 // discovery was allowed, so set the org as requested orgCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMbackend/v3/storage/database/query.go155 // these objects are basically string builders, so we can leverage their String()COMMENT
MEDIUMapps/docs/components/version-selector.tsx26 // Let's implement robust segment swapping.COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinternal/command/preparation/command_test.go155 // TODO: Add test cases.COMMENT
LOWbackend/v3/storage/database/condition.go395 // TODO: implement actual permission check once we have the necessary tables and functions in place.COMMENT
LOWbackend/v3/domain/session_delete.go68 database.PermissionCheck(SessionDeletePermission, true), // TODO: implement check once permissions are implementedCODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/compose/docker-compose.test.yml18 # Create an IAM_OWNER machine user and write its PAT to the bootstrap volume.COMMENT