The authentication glue you need.
This report presents the forensic synthetic code analysis of goauthentik/authentik, a Python project with 22,576 GitHub stars. SynthScan v2.0 examined 803,096 lines of code across 4940 source files, recording 5679 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 8.8 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5679 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/src/admin/blueprints/BlueprintListPage.ts | 59 | export function formatBlueprintDescription(item: BlueprintInstance): string | null { | CODE |
| LOW | …src/admin/object-attributes/ObjectAttributeListPage.ts | 22 | export function formatObjectAttributeType(type?: ObjectAttributeTypeEnum): string { | CODE |
| LOW | web/src/admin/stages/authenticator_webauthn/utils.ts | 7 | export function deviceTypeRestrictionPair(item: WebAuthnDeviceType): DualSelectPair { | CODE |
| LOW | web/src/admin/stages/captcha/shared.ts | 204 | export function detectProviderFromInstance(stage?: CaptchaStage | null): CaptchaProviderKey { | CODE |
| LOW | …ator_validate/AuthenticatorValidateStageFormHelpers.ts | 44 | export async function authenticatorWebauthnDeviceTypesListProvider(page = 1, search = "") { | CODE |
| LOW | …rosoft_entra/MicrosoftEntraProviderPropertyMappings.ts | 7 | export async function microsoftEntraPropertyMappingsProvider(page = 1, search = "") { | CODE |
| LOW | …rosoft_entra/MicrosoftEntraProviderPropertyMappings.ts | 22 | export function makeMicrosoftEntraPropertyMappingsSelector( | CODE |
| LOW | web/src/admin/providers/proxy/ProxyProviderFormForm.ts | 119 | function renderForwardSingleSettings( | CODE |
| LOW | web/src/admin/providers/proxy/ProxyProviderFormForm.ts | 143 | function renderForwardDomainSettings( | CODE |
| LOW | web/src/admin/providers/saml/SAMLProviderOptions.ts | 101 | export function retrieveSignatureAlgorithm( | CODE |
| LOW | web/src/admin/lifecycle/LifecycleRuleForm.ts | 69 | function formatContentTypePlaceholder(contentType: ContentTypeEnum): string { | CODE |
| LOW | web/src/admin/requests/RequestRuleForm.ts | 29 | function createNotificationModeOptions(): RadioOption<NotificationModeEnum>[] { | CODE |
| LOW | web/src/admin/users/UserActiveForm.ts | 90 | export function ToggleUserActivationButton( | CODE |
| LOW | …rc/admin/applications/wizard/steps/providers/shared.ts | 52 | export function isApplicationTransactionValidationError( | CODE |
| LOW | web/src/admin/sources/kerberos/KerberosSourceForm.ts | 42 | function createSyncOutgoingTriggerModeOptions(): RadioOption<SyncOutgoingTriggerModeEnum>[] { | CODE |
| LOW | web/src/admin/sources/ldap/LDAPSourceForm.ts | 35 | function createSyncOutgoingTriggerModeOptions(): RadioOption<SyncOutgoingTriggerModeEnum>[] { | CODE |
| LOW | web/src/admin/flows/StageBindingForm.ts | 30 | function createInvalidResponseOptions(): RadioOption<InvalidResponseActionEnum>[] { | CODE |
| LOW | web/src/components/notifications/utils.ts | 19 | export function createPaginatedNotificationListFrom( | CODE |
| LOW | web/src/components/notifications/utils.ts | 59 | export function renderNotificationDrawerPanel({ notifications, api }: DrawerState) { | CODE |
| LOW | web/src/common/collections.ts | 21 | export function checkIterableShallowEquality( | CODE |
| LOW | web/src/common/collections.ts | 36 | export function checkObjectShallowEquality( | CODE |
| LOW⚡ | web/src/common/users.ts | 43 | export function formatDisambiguatedUserDisplayName( | CODE |
| LOW⚡ | web/src/common/users.ts | 47 | export function formatDisambiguatedUserDisplayName( | CODE |
| LOW⚡ | web/src/common/users.ts | 51 | export function formatDisambiguatedUserDisplayName( | CODE |
| LOW | web/src/common/theme.ts | 330 | function pluckCurrentBackgroundURL( | CODE |
| LOW | web/src/common/theme.ts | 358 | export function applyBackgroundImageProperty( | CODE |
| LOW | web/src/common/labels.ts | 116 | export function formatDeviceChallengeMessage(deviceChallenge?: DeviceChallenge | null): string { | CODE |
| LOW | web/src/common/ui/locale/utils.ts | 49 | function getParsedSupportedLocales(): ParsedLocale[] { | CODE |
| LOW | web/src/common/ui/locale/utils.ts | 232 | export function formatAcceptLanguageHeader(languageTag: Intl.UnicodeBCP47LocaleIdentifier): string { | CODE |
| LOW | web/src/common/ui/locale/format.ts | 214 | export function formatRelativeLocaleDisplayName( | CODE |
| LOW | web/src/common/ui/locale/format.ts | 240 | export function formatAutoDetectLocaleDisplayName(detectedLocale?: LocaleDisplay | null) { | CODE |
| LOW | web/src/common/ui/locale/cjk.ts | 119 | export function resolveChineseScriptLegacy(candidate: string): HanScriptTag { | CODE |
| LOW | web/src/common/errors/network.ts | 140 | export function createSyntheticGenericError(detail?: string): GenericError { | CODE |
| LOW | web/src/common/errors/network.ts | 171 | export function composeResponseErrorDescriptor(descriptor: ResponseErrorDescriptor): string { | CODE |
| LOW | web/src/common/helpers/webauthn.ts | 34 | export function isWebAuthnNotAllowedError(error: unknown): error is DOMException { | CODE |
| LOW | web/src/common/helpers/webauthn.ts | 41 | export async function isConditionalMediationAvailable(): Promise<boolean> { | CODE |
| LOW | web/src/common/helpers/webauthn.ts | 55 | export function transformCredentialCreateOptions( | CODE |
| LOW | web/src/common/helpers/webauthn.ts | 90 | export function transformNewAssertionForServer(newAssertion: PublicKeyCredential): Assertion { | CODE |
| LOW | web/src/common/helpers/webauthn.ts | 110 | export function transformCredentialRequestOptions( | CODE |
| LOW | web/src/common/helpers/webauthn.ts | 146 | export function transformAssertionForServer(newAssertion: PublicKeyCredential): AuthAssertion { | CODE |
| LOW | web/src/elements/CodeMirror/shared.ts | 16 | export function stringifyCodeMirrorSource(value: unknown, mode: CodeMirrorMode): string { | CODE |
| LOW | …/src/elements/buttons/IconEnrollmentTokenCopyButton.ts | 11 | export function IconEnrollmentTokenCopyButton(tokenUuid?: string | null): SlottedTemplateResult { | CODE |
| LOW | web/src/elements/decorators/listen.ts | 115 | target.disconnectedCallback = function disconnectedCallbackWrapped(this: T) { | CODE |
| LOW | web/src/elements/decorators/intersection-observer.ts | 136 | this.disconnectedCallback = function disconnectedCallbackWrapper( | CODE |
| LOW | web/src/elements/utils/unsafe.ts | 18 | export function assertAKRegisteredElement( | CODE |
| LOW | web/src/elements/dialogs/shared.ts | 172 | export function isTransclusionParentElement( | CODE |
| LOW | …/src/elements/controllers/ContextControllerRegistry.ts | 10 | function supportsSymbolKeyedWeakMap(): boolean { | CODE |
| LOW | web/src/polyfill/custom-elements-get-name.ts | 25 | export function applyCustomElementsGetNamePolyfill( | CODE |
| LOW | web/src/flow/tabs/orchestrator.ts | 46 | export function suppressNextExitForSameOriginNavigation() { | CODE |
| LOW | web/src/flow/tabs/orchestrator.ts | 120 | export async function multiTabOrchestrateResume() { | CODE |
| LOW | …w/stages/authenticator_validate/challenge-selection.ts | 3 | export function shouldResetSelectedChallenge( | CODE |
| LOW | …s/authenticator_validate/AuthenticatorValidateStage.ts | 84 | export function resolveAuthenticatorComponentTag( | CODE |
| LOW | …ite/docusaurus-theme/components/VersionPicker/utils.ts | 61 | export function useCachedVersionPluginData(): AKReleasesPluginData | null { | CODE |
| LOW | …ite/docusaurus-theme/components/VersionPicker/utils.ts | 69 | function preferredPreReleaseOrigin(browser: boolean, fallback: string): string { | CODE |
| LOW | website/specs/2026-06-24-llms-txt-plugin-plan.md | 527 | function collapseMatchingTrailingSegment(urlPath) { | CODE |
| LOW | authentik/__init__.py | 17 | def authentik_version_family_previous() -> str: | CODE |
| LOW | authentik/rbac/permissions.py | 65 | def assign_initial_permissions(user, instance: Model): | CODE |
| LOW | authentik/rbac/tests/test_roles.py | 29 | def test_role_create_add_reverse(self): | CODE |
| LOW | authentik/rbac/tests/test_roles.py | 86 | def test_remove_users_remove_reverse(self): | CODE |
| LOW | authentik/rbac/tests/test_api_filters.py | 116 | def test_create_simple_denied(self): | CODE |
| 5059 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | blueprints/default/flow-oobe.yaml | 113 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/tasks/tests/test_broker.py | 51 | consumer.query_set.filter.return_value.exclude.assert_called_once_with( | CODE |
| CRITICAL⚡ | authentik/tasks/tests/test_broker.py | 85 | consumer.query_set.filter.return_value.exclude.assert_called_once_with( | CODE |
| CRITICAL⚡ | authentik/tasks/tests/test_broker.py | 88 | consumer.query_set.filter.return_value.exclude.return_value.update.assert_called_once_with( | CODE |
| CRITICAL | authentik/blueprints/v1/importer.py | 13 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | authentik/stages/captcha/stage.py | 107 | key=self.stage.executor.plan.context.get(PLAN_CONTEXT_CAPTCHA_PRIVATE_KEY), | CODE |
| CRITICAL | authentik/stages/consent/stage.py | 55 | token, self.stage.executor.plan.context.get(PLAN_CONTEXT_CONSENT_TOKEN, "") | CODE |
| CRITICAL | authentik/stages/authenticator_validate/stage.py | 81 | device_challenges: list[dict] = self.stage.executor.plan.context.get( | CODE |
| CRITICAL | authentik/stages/authenticator_validate/stage.py | 114 | for device_challenge in self.stage.executor.plan.context.get( | CODE |
| CRITICAL | authentik/stages/authenticator_validate/stage.py | 139 | stages = self.stage.executor.plan.context.get(PLAN_CONTEXT_STAGES, []) | CODE |
| CRITICAL | authentik/stages/authenticator_validate/stage.py | 151 | self.stage.executor.plan.context.setdefault(PLAN_CONTEXT_METHOD, "auth_mfa") | CODE |
| CRITICAL | authentik/stages/authenticator_validate/stage.py | 152 | self.stage.executor.plan.context.setdefault(PLAN_CONTEXT_METHOD_ARGS, {}) | CODE |
| CRITICAL | authentik/stages/identification/stage.py | 208 | key=self.stage.executor.plan.context.get(PLAN_CONTEXT_CAPTCHA_PRIVATE_KEY), | CODE |
| CRITICAL | authentik/stages/authenticator/util.py | 8 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/stages/invitation/stage.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/providers/scim/clients/schema.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/admin/files/validation.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/admin/files/tests/test_validation.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/tenants/models.py | 8 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/lib/models.py | 59 | return self.field.remote_field.model.objects.db_manager(hints=hints).select_subclasses() | CODE |
| CRITICAL | authentik/lib/tests/test_utils_time.py | 5 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/lib/utils/time.py | 8 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | authentik/lib/expression/evaluator.py | 12 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | authentik/sources/kerberos/sync.py | 5 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | authentik/sources/ldap/tests/test_sync.py | 7 | from ldap3.core.exceptions import LDAPInvalidFilterError | CODE |
| CRITICAL | authentik/sources/ldap/sync/users.py | 5 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | authentik/sources/ldap/sync/groups.py | 5 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | tests/e2e/test_source_ldap_samba.py | 4 | from ldap3.core.exceptions import LDAPSessionTerminatedByServerError | CODE |
| CRITICAL | internal/outpost/radius/handler_pap.go | 16 | fe := flow.NewFlowExecutor(r.Context(), r.pi.flowSlug, r.pi.s.ac.Client.GetConfig(), log.Fields{ | CODE |
| CRITICAL | packages/ak-guardian/guardian/models.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …o-dramatiq-postgres/django_dramatiq_postgres/models.py | 11 | from django.core.exceptions import ValidationError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | authentik/core/sources/flow_manager.py | 0 | prepare authentication plan, redirect user flowexecutor | STRING |
| HIGH | authentik/sources/telegram/views.py | 0 | prepare authentication plan, redirect user flowexecutor | STRING |
| HIGH | authentik/sources/saml/views.py | 0 | prepare authentication plan, redirect user flowexecutor | STRING |
| HIGH | authentik/core/api/property_mappings.py | 0 | get object component so that we know how to edit the object | STRING |
| HIGH | authentik/core/api/providers.py | 0 | get object component so that we know how to edit the object | STRING |
| HIGH | authentik/core/api/sources.py | 0 | get object component so that we know how to edit the object | STRING |
| HIGH | authentik/endpoints/api/connectors.py | 0 | get object component so that we know how to edit the object | STRING |
| HIGH | authentik/policies/api/policies.py | 0 | get object component so that we know how to edit the object | STRING |
| HIGH | …/enterprise/providers/microsoft_entra/clients/users.py | 0 | create user from scratch and create a connection object | STRING |
| HIGH | …enterprise/providers/google_workspace/clients/users.py | 0 | create user from scratch and create a connection object | STRING |
| HIGH | authentik/providers/scim/clients/users.py | 0 | create user from scratch and create a connection object | STRING |
| HIGH | …enterprise/providers/microsoft_entra/clients/groups.py | 0 | create group from scratch and create a connection object | STRING |
| HIGH | …nterprise/providers/google_workspace/clients/groups.py | 0 | create group from scratch and create a connection object | STRING |
| HIGH | authentik/providers/scim/clients/groups.py | 0 | create group from scratch and create a connection object | STRING |
| HIGH | …terprise/providers/microsoft_entra/tests/test_users.py | 0 | test without group property mappings, no group is created | STRING |
| HIGH | …erprise/providers/google_workspace/tests/test_users.py | 0 | test without group property mappings, no group is created | STRING |
| HIGH | …erprise/providers/microsoft_entra/tests/test_groups.py | 0 | test without group property mappings, no group is created | STRING |
| HIGH | …rprise/providers/google_workspace/tests/test_groups.py | 0 | test without group property mappings, no group is created | STRING |
| HIGH | authentik/stages/authenticator_duo/tests.py | 0 | a setup stage with enrolled devices cannot be deleted. | STRING |
| HIGH | authentik/stages/authenticator_email/tests.py | 0 | a setup stage with enrolled devices cannot be deleted. | STRING |
| HIGH | authentik/stages/authenticator_sms/tests.py | 0 | a setup stage with enrolled devices cannot be deleted. | STRING |
| HIGH | authentik/admin/files/backends/tests/test_s3_backend.py | 0 | test themed_urls returns dict of urls for each theme | STRING |
| HIGH | …hentik/admin/files/backends/tests/test_file_backend.py | 0 | test themed_urls returns dict of urls for each theme | STRING |
| HIGH | authentik/admin/files/tests/test_manager.py | 0 | test themed_urls returns dict of urls for each theme | STRING |
| HIGH | tests/e2e/test_provider_oidc_implicit.py | 0 | test openid provider flow (invalid redirect uri, check error message) | STRING |
| HIGH | tests/e2e/test_provider_oidc.py | 0 | test openid provider flow (invalid redirect uri, check error message) | STRING |
| HIGH | tests/e2e/test_provider_oauth2_grafana.py | 0 | test openid provider flow (invalid redirect uri, check error message) | STRING |
| HIGH | tests/e2e/test_provider_oidc_implicit.py | 0 | test openid provider flow (default authorization flow with explicit consent) | STRING |
| HIGH | tests/e2e/test_provider_oidc.py | 0 | test openid provider flow (default authorization flow with explicit consent) | STRING |
| HIGH | tests/e2e/test_provider_oauth2_grafana.py | 0 | test openid provider flow (default authorization flow with explicit consent) | STRING |
| HIGH | tests/e2e/test_provider_oidc_implicit.py | 0 | test openid provider flow (default authorization with access deny) | STRING |
| HIGH | tests/e2e/test_provider_oidc.py | 0 | test openid provider flow (default authorization with access deny) | STRING |
| HIGH | tests/e2e/test_provider_oauth2_grafana.py | 0 | test openid provider flow (default authorization with access deny) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rints/example/flows-invitation-enrollment-minimal.yaml | 1 | # Minimal Invitation-based Enrollment Blueprint | COMMENT |
| LOW | blueprints/example/flows-invitation-enrollment.yaml | 1 | # Example - Invitation-based Enrollment Blueprint | COMMENT |
| LOW | web/pnpm-workspace.yaml | 1 | packages: | COMMENT |
| LOW | …s/20240625-add-htmlelementtagnamemaps-to-everything.py | 1 | #!/opt/homebrew/bin/python3 | COMMENT |
| LOW | web/src/elements/decorators/bound.ts | 1 | // Automatically binds a method to the `this` instance during instantiation. | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 1 | // import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 21 | // * | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 41 | // }) | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 61 | // export function IconEditButton<T extends TransclusionElementConstructor>( | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 81 | // return html`<button | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 101 | // * | COMMENT |
| LOW | web/src/elements/dialogs/components.ts | 121 | // ); | COMMENT |
| LOW | web/src/flow/stages/captcha/controllers/shared.ts | 1 | // import { CaptchaControllerConstructor } from "#flow/stages/captcha/controllers/CaptchaController"; | COMMENT |
| LOW | website/docs/add-secure-apps/outposts/_config.md | 1 | ```yaml | COMMENT |
| LOW | website/docs/add-secure-apps/outposts/_config.md | 21 | # Template used for objects created (deployments/containers, services, secrets, etc) | COMMENT |
| LOW | website/docs/add-secure-apps/outposts/_config.md | 41 | ######################################## | COMMENT |
| LOW | website/docs/add-secure-apps/outposts/_config.md | 61 | # - 'ingress' | COMMENT |
| LOW | website/docs/add-secure-apps/outposts/_config.md | 81 | # For example use this patch to add custom resource requests and limits | COMMENT |
| LOW | website/docs/add-secure-apps/outposts/_config.md | 101 | # errors to appear in outpost logs. This option disables the stricter | COMMENT |
| LOW | website/docs/customize/blueprints/v1/structure.md | 21 | # Optional block of metadata, name is required if metadata is set | COMMENT |
| LOW | website/docs/customize/blueprints/v1/structure.md | 41 | # the blueprint will fail with a validation error. | COMMENT |
| LOW | website/docs/customize/blueprints/v1/structure.md | 61 | # Avoid setting the same field in both places. | COMMENT |
| LOW | authentik/rbac/filters.py | 21 | # | COMMENT |
| LOW | authentik/providers/proxy/tests.py | 181 | # }, | COMMENT |
| LOW | authentik/providers/oauth2/id_token.py | 41 | https://www.iana.org/assignments/jwt/jwt.xhtml""" | COMMENT |
| LOW | authentik/lib/default.yml | 1 | # authentik configuration | COMMENT |
| LOW | authentik/lib/default.yml | 181 | COMMENT | |
| LOW | authentik/lib/default.yml | 201 | # media: | COMMENT |
| LOW | authentik/lib/tests/test_config.py | 541 | conf["replica_1"]["OPTIONS"]["connect_timeout"], | COMMENT |
| LOW | authentik/lib/tests/test_config.py | 561 | # "default": { | COMMENT |
| LOW | authentik/lib/tests/test_config.py | 581 | # ) | COMMENT |
| LOW | authentik/lib/tests/test_config.py | 601 | # ).decode(), | COMMENT |
| LOW | internal/outpost/proxyv2/postgresstore/postgresstore.go | 321 | // BuildDSN constructs a PostgreSQL connection string from a ConnConfig. | COMMENT |
| LOW | internal/outpost/proxyv2/postgresstore/postgresstore.go | 341 | // - cfg: PostgreSQL configuration (host, port, user, password, etc.) | COMMENT |
| LOW | internal/outpost/ak/api_utils_test.go | 61 | COMMENT | |
| LOW | internal/outpost/ak/api_utils_test.go | 81 | // req := api.ApiOutpostsProxyListRequest{} | COMMENT |
| LOW | packages/client-rust/src/models/event_actions.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/shell_challenge.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/user_type_enum.rs | 1 | // authentik | COMMENT |
| LOW | …rust/src/models/telegram_challenge_response_request.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/event_request.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/contextual_flow_info.rs | 1 | // authentik | COMMENT |
| LOW | …ges/client-rust/src/models/identification_challenge.rs | 1 | // authentik | COMMENT |
| LOW | …lient-rust/src/models/open_id_connect_configuration.rs | 1 | // authentik | COMMENT |
| LOW | …ges/client-rust/src/models/endpoint_agent_challenge.rs | 1 | // authentik | COMMENT |
| LOW | …rust/src/models/o_auth_device_code_finish_challenge.rs | 1 | // authentik | COMMENT |
| LOW | …_auth_device_code_finish_challenge_response_request.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/radius_check_access.rs | 1 | // authentik | COMMENT |
| LOW | …-rust/src/models/authenticator_validation_challenge.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/password_challenge.rs | 1 | // authentik | COMMENT |
| LOW | …ient-rust/src/models/authenticator_static_challenge.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/role.rs | 1 | // authentik | COMMENT |
| LOW | …-rust/src/models/consent_challenge_response_request.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/proxy_mode.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/certificate_key_pair.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/certificate_key_pair.rs | 21 | #[serde( | COMMENT |
| LOW | …odels/o_auth_device_code_challenge_response_request.rs | 1 | // authentik | COMMENT |
| LOW | …nt-rust/src/models/email_challenge_response_request.rs | 1 | // authentik | COMMENT |
| LOW | …client-rust/src/models/o_auth_device_code_challenge.rs | 1 | // authentik | COMMENT |
| LOW | packages/client-rust/src/models/redirect_challenge.rs | 1 | // authentik | COMMENT |
| 99 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | authentik/enterprise/providers/oauth2/tests/test_dcr.py | 302 | # Create a separate provider/app without DCR | COMMENT |
| MEDIUM | …terprise/policies/unique_password/tests/test_stages.py | 64 | # Create a password history entry manually to simulate the signal behavior | COMMENT |
| MEDIUM | …nterprise/policies/unique_password/tests/test_flows.py | 58 | # Create a policy request with the reused password | COMMENT |
| MEDIUM⚡ | …nterprise/policies/unique_password/tests/test_tasks.py | 22 | # Create a UniquePasswordPolicy and a PolicyBinding for it | COMMENT |
| MEDIUM⚡ | …nterprise/policies/unique_password/tests/test_tasks.py | 34 | # Create a UniquePasswordPolicy and attach it to a PromptStage | COMMENT |
| MEDIUM | …nterprise/policies/unique_password/tests/test_tasks.py | 53 | # Create a policy with a limit of 1 password | COMMENT |
| MEDIUM | …nterprise/policies/unique_password/tests/test_tasks.py | 86 | # Create a policy and binding | COMMENT |
| MEDIUM | …ntik/stages/authenticator_validate/tests/test_email.py | 72 | # Create a device for our user | COMMENT |
| MEDIUM | …ntik/stages/authenticator_validate/tests/test_email.py | 143 | # Create a device for our user | COMMENT |
| MEDIUM | authentik/providers/scim/tests/test_client.py | 246 | # Creating a new client should now hit the API again since cache was cleared | COMMENT |
| MEDIUM | authentik/providers/proxy/controllers/k8s/ingress.py | 52 | # Create a list of all expected host and tls hosts | COMMENT |
| MEDIUM | authentik/providers/oauth2/utils.py | 251 | # Create the logout token payload | COMMENT |
| MEDIUM | …ntik/providers/oauth2/tests/test_backchannel_logout.py | 54 | # Create a token with the same issuer that the view will expect | COMMENT |
| MEDIUM | authentik/providers/oauth2/tests/test_token.py | 552 | # Create a custom scope mapping that returns a custom scope claim | COMMENT |
| MEDIUM | authentik/providers/saml/tasks.py | 111 | # Create a minimal LogoutRequest object for the response processor | COMMENT |
| MEDIUM⚡ | authentik/providers/saml/tests/test_auth_n_request.py | 237 | # Create a full keypair for the source (SP) - it needs the private key to decrypt | COMMENT |
| MEDIUM⚡ | authentik/providers/saml/tests/test_auth_n_request.py | 240 | # Create a certificate-only keypair for the provider (IdP) | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_views_sp_slo.py | 155 | # Create a flow plan with the return URL | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_views_sp_slo.py | 270 | # Create a flow plan with the return URL | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_api.py | 84 | # Create an Ed25519 certificate | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_models_session.py | 30 | # Create a provider | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_models_session.py | 46 | # Create a session first (using authentik's custom Session model) | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_models_session.py | 52 | # Create an authenticated session | COMMENT |
| MEDIUM | authentik/providers/saml/tests/test_models_session.py | 249 | # Create an expired session | COMMENT |
| MEDIUM | …/providers/saml/tests/test_logout_request_processor.py | 29 | # Create a signing keypair | COMMENT |
| MEDIUM | authentik/providers/saml/processors/assertion.py | 415 | # Create a standalone copy so namespace declarations are included in the encrypted content | COMMENT |
| MEDIUM⚡ | …hentik/admin/files/backends/tests/test_file_backend.py | 40 | # Create the directory but keep it empty | COMMENT |
| MEDIUM | authentik/root/tests/test_ws_client.py | 37 | # Create a fake request to store login details. | COMMENT |
| MEDIUM | authentik/sources/ldap/tests/test_sync.py | 132 | # Create the user beforehand so we can set attributes and check they aren't removed | COMMENT |
| MEDIUM | authentik/sources/ldap/tests/test_sync.py | 178 | # Create the user beforehand so we can set attributes and check they aren't removed | COMMENT |
| MEDIUM | authentik/sources/saml/processors/request.py | 149 | # Create the full querystring in the correct order to be signed | COMMENT |
| MEDIUM | authentik/sources/saml/processors/response.py | 245 | # Create a temporary User | COMMENT |
| MEDIUM | authentik/events/tasks.py | 81 | # Create the notification objects | COMMENT |
| MEDIUM | …o-dramatiq-postgres/django_dramatiq_postgres/broker.py | 468 | # This method is called every second | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | blueprints/default/flow-default-source-enrollment.yaml | 28 | # Check if we''ve not been given a username by the external IdP | COMMENT |
| LOW | authentik/rbac/api/rbac.py | 126 | # Check if we're setting an object-level perm or global | COMMENT |
| LOW | authentik/blueprints/v1/tasks.py | 128 | # Check if any part in the path starts with a dot and assume a hidden file | COMMENT |
| LOW | authentik/outposts/controllers/docker.py | 248 | # Check if the container is out of date, delete it and retry | COMMENT |
| LOW | authentik/core/views/apps.py | 36 | # Check if we're authenticated already, saves us the flow run | COMMENT |
| LOW | authentik/endpoints/connectors/agent/stage.py | 90 | # Check if we're in a device interactive auth flow, in which case we use that | COMMENT |
| LOW | authentik/enterprise/stages/source/stage.py | 81 | # Check if token is expired and rotate key if so | COMMENT |
| LOW | …thentik/enterprise/policies/unique_password/signals.py | 16 | # Check if any UniquePasswordPolicy is in use | COMMENT |
| LOW | authentik/enterprise/policies/unique_password/models.py | 104 | # Check if any policy is in use through bindings | COMMENT |
| LOW | authentik/enterprise/policies/unique_password/models.py | 108 | # Check if any policy is attached to a PromptStage | COMMENT |
| LOW | authentik/stages/user_write/stage.py | 115 | # Check if user has a setter for this key, like set_password | COMMENT |
| LOW | authentik/stages/user_write/stage.py | 150 | # Check if we're writing from a source, and save the source to the attributes | COMMENT |
| LOW | authentik/stages/user_write/stage.py | 232 | # Check if the password has been updated, and update the session auth hash | COMMENT |
| LOW | authentik/stages/user_login/stage.py | 219 | # Check if the login request is coming from a known device | COMMENT |
| LOW | authentik/stages/prompt/stage.py | 102 | # Check if we have a password field, add a handler that sends a signal | COMMENT |
| LOW | authentik/stages/prompt/stage.py | 121 | # Check if we have any static or hidden fields, and ensure they | COMMENT |
| LOW | authentik/stages/prompt/stage.py | 142 | # Check if we have two password fields, and make sure they are the same | COMMENT |
| LOW | authentik/stages/identification/stage.py | 146 | # Check if this is a passkey authentication | COMMENT |
| LOW | authentik/stages/email/stage.py | 98 | # Check if token is expired and rotate key if so | COMMENT |
| LOW | authentik/stages/email/stage.py | 141 | # Check if the user came back from the email link to verify | COMMENT |
| LOW | authentik/stages/email/stage.py | 157 | # Check if we've already sent the initial e-mail | COMMENT |
| LOW | authentik/providers/oauth2/views/authorize.py | 551 | # Check if we're not already doing the re-authentication | COMMENT |
| LOW | authentik/providers/oauth2/views/authorize.py | 774 | # Check if response_type must include access_token in the response. | COMMENT |
| LOW | authentik/providers/oauth2/views/authorize.py | 784 | # Check if response_type must include id_token in the response. | COMMENT |
| LOW | authentik/providers/rac/views.py | 106 | # Check if we're already at the maximum connection limit | COMMENT |
| LOW | authentik/providers/rac/views.py | 113 | # Check if any other tokens exist for the current user, and inform them | COMMENT |
| LOW | authentik/providers/saml/tests/test_models_session.py | 246 | # Check if session is expired (ExpiringModel behavior) | COMMENT |
| LOW | authentik/providers/saml/tests/test_models_session.py | 263 | # Check if marked as expired | COMMENT |
| LOW | …ntik/providers/saml/processors/authn_request_parser.py | 85 | # Check if AuthnRequest has a NameID Policy object | COMMENT |
| LOW | authentik/providers/saml/views/sp_slo.py | 234 | # Check if this is a LogoutResponse before doing any authentication checks | COMMENT |
| LOW | authentik/providers/saml/views/sp_slo.py | 277 | # Check if this is a LogoutResponse before doing any authentication checks | COMMENT |
| LOW | authentik/admin/tasks.py | 52 | # Check if upstream version is newer than what we're running, | COMMENT |
| LOW | authentik/admin/files/api.py | 133 | # Check if file already exists | COMMENT |
| LOW | authentik/policies/views.py | 76 | # Check if user is unauthenticated, so we pass the application | COMMENT |
| LOW | authentik/policies/geoip/models.py | 144 | # Check if distance between `previous_login` and now is more | COMMENT |
| LOW | authentik/root/test_runner.py | 169 | # Check if the label is a dotted module path | COMMENT |
| LOW | authentik/lib/config.py | 92 | # Check if path is relative, and if so join with base_dir | COMMENT |
| LOW | authentik/lib/config.py | 226 | # Check if the value is json, and try to load it | COMMENT |
| LOW | authentik/lib/models.py | 105 | # Check if the scheme is valid. | COMMENT |
| LOW | authentik/lib/utils/reflection.py | 23 | # Check if we're in debug mode, if not exclude classes which have `__debug_only__` | COMMENT |
| LOW | authentik/lib/utils/email.py | 76 | if not domain_parts[-1]: # Check if TLD is empty | CODE |
| LOW | authentik/lib/sync/outgoing/tasks.py | 53 | # Assign tasks to the same schedule as the current one | COMMENT |
| LOW | authentik/lib/sync/outgoing/tasks.py | 270 | # Check if the object is allowed within the provider's restrictions. | COMMENT |
| LOW | authentik/lib/sync/outgoing/tasks.py | 393 | # Check if the object is allowed within the provider's restrictions. | COMMENT |
| LOW | authentik/sources/oauth/tasks.py | 44 | # Check if we're actually changing anything to only | COMMENT |
| LOW | authentik/sources/ldap/password.py | 145 | # Check if password contains sAMAccountName or displayNames | COMMENT |
| LOW | authentik/sources/saml/processors/response.py | 84 | # Check if response is compressed, b64 decode it | COMMENT |
| LOW | authentik/events/signals.py | 79 | # Check if this even comes from the user_login stage's middleware, which will set an extra | COMMENT |
| LOW | authentik/events/models.py | 238 | # Check if we're currently impersonating, and add that user | COMMENT |
| LOW | authentik/flows/planner.py | 133 | # Check if we actually need to show the Flow executor, or if we can jump straight to the end | COMMENT |
| LOW | authentik/flows/api/flows_diagram.py | 135 | # Check if we have a stage behind us and if it has any sources | COMMENT |
| LOW⚡ | tests/openid_conformance/base.py | 112 | # Check if we need to clear cookies - tests only indicates this in their written summary | COMMENT |
| LOW⚡ | tests/openid_conformance/base.py | 119 | # Check if we need deal with any browser URLs | COMMENT |
| LOW⚡ | tests/openid_conformance/base.py | 125 | # Check if we need to upload any items | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | blueprints/schema.json | 16911 | "placeholder": { | CODE |
| LOW | web/src/admin/ak-admin-debug-page.ts | 74 | message: `lorem ipsum ${Date.now()}`, | CODE |
| LOW | web/src/admin/stages/prompt/PromptForm.ts | 290 | <ak-form-element-horizontal label=${msg("Placeholder")} name="placeholder"> | CODE |
| LOW | web/src/user/ak-interface-user.ts | 139 | return html`<slot name="placeholder"></slot>`; | CODE |
| LOW | …src/styles/authentik/components/Login/flow-loading.css | 14 | ak-flow-executor:not(:defined) > :not([slot="placeholder"]) { | CODE |
| LOW | …src/styles/authentik/components/Login/login-layout.css | 135 | slot[name="placeholder"] { | CODE |
| LOW | …src/styles/authentik/components/Login/login-layout.css | 154 | &:has([slot="placeholder"]), | CODE |
| LOW | …src/styles/authentik/components/Login/login-layout.css | 155 | &:has(slot[name="placeholder"]) { | CODE |
| LOW | web/src/flow/FlowExecutor.ts | 386 | return html`<slot name="placeholder"></slot>`; | CODE |
| LOW | …flow/stages/access_denied/AccessDeniedStage.stories.ts | 12 | title: "lorem ipsum foo bar baz", | CODE |
| LOW | web/src/flow/stages/consent/ConsentStage.stories.ts | 11 | headerText: "lorem ipsum", | CODE |
| LOW | web/src/flow/stages/consent/ConsentStage.stories.ts | 22 | headerText: "lorem ipsum", | CODE |
| LOW | web/src/flow/components/ak-flow-card.stories.ts | 27 | title: "lorem ipsum foo bar baz", | CODE |
| LOW | web/src/flow/components/ak-flow-card.stories.ts | 58 | title: "lorem ipsum foo bar baz", | CODE |
| LOW | web/src/flow/components/ak-flow-card.stories.ts | 87 | title: "lorem ipsum foo bar baz", | CODE |
| LOW | website/docs/users-sources/user/invitations.md | 134 | "email": "user@example.com" | CODE |
| LOW | website/docs/users-sources/user/invitations.md | 149 | "name": "John Doe", | CODE |
| LOW⚡ | website/docs/sys-mgmt/events/event-actions.md | 231 | "city": "placeholder", | CODE |
| LOW⚡ | website/docs/sys-mgmt/events/event-actions.md | 233 | "country": "placeholder", | CODE |
| LOW⚡ | website/docs/sys-mgmt/events/event-actions.md | 234 | "continent": "placeholder" | CODE |
| LOW | …ations/chat-communication-collaboration/kimai/index.md | 132 | emailAddress: "admin@example.com" | CODE |
| LOW | authentik/core/templates/base/placeholder.html | 3 | <div class="ak-c-placeholder" id="ak-placeholder" slot="placeholder"> | CODE |
| LOW | …nterprise/policies/unique_password/tests/test_flows.py | 92 | "placeholder": "PASSWORD_PLACEHOLDER", | CODE |
| LOW | authentik/stages/prompt/api.py | 63 | "placeholder", | CODE |
| LOW | authentik/stages/prompt/api.py | 84 | filterset_fields = ["field_key", "name", "label", "type", "placeholder"] | CODE |
| LOW | authentik/stages/prompt/api.py | 85 | search_fields = ["field_key", "name", "label", "type", "placeholder"] | CODE |
| LOW | authentik/stages/prompt/stage.py | 232 | data["placeholder"] = str( | CODE |
| LOW⚡ | authentik/stages/prompt/tests.py | 719 | "placeholder": "Hello world", | CODE |
| LOW⚡ | authentik/stages/prompt/tests.py | 738 | "placeholder": "return [", | CODE |
| LOW | authentik/stages/prompt/tests.py | 700 | "placeholder": 'return "Hello world"', | CODE |
| LOW | authentik/stages/invitation/tests.py | 288 | "email_addresses": ["user@example.com"], | CODE |
| LOW | authentik/stages/invitation/tests.py | 313 | {"email_addresses": ["user@example.com"]}, | CODE |
| LOW | authentik/providers/scim/tests/test_schema.py | 10 | Email.model_validate({"value": "foo@bar.com"}) | CODE |
| LOW | authentik/policies/password/tests/test_flows.py | 62 | "placeholder": "PASSWORD_PLACEHOLDER", | CODE |
| LOW | authentik/lib/utils/email.py | 10 | - Single email string: "user@example.com" | STRING |
| LOW | authentik/lib/expression/evaluator.py | 267 | - Single email: "user@example.com" | STRING |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 265 | patches = [PatchOperation(op=PatchOp.add, path="address.street", value="123 Main St")] | CODE |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 268 | self.assertEqual(result["address"]["street"], "123 Main St") | CODE |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 962 | self.processor._navigate_and_modify(data_copy, components, "123 Main St", "add") | CODE |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 964 | self.assertEqual(data_copy["profile"]["address"]["street"], "123 Main St") | CODE |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 988 | data_copy["profile"] = {"address": {"street": "123 Main St", "city": "New York"}} | CODE |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 1005 | self.processor._navigate_and_modify(data_copy, components, "123 Main St", "add") | CODE |
| LOW⚡ | authentik/sources/scim/tests/test_patch.py | 1007 | self.assertEqual(data_copy["profile"]["address"]["street"], "123 Main St") | CODE |
| LOW | authentik/sources/scim/tests/test_patch.py | 30 | "name": {"formatted": "John Doe", "familyName": "Doe", "givenName": "John"}, | CODE |
| LOW | authentik/sources/oauth/tests/test_type_slack.py | 20 | "email": "user@example.com", | CODE |
| LOW | authentik/flows/api/flows_diagram.py | 183 | DiagramElement("flow_start", "placeholder", _("Requirement fulfilled"), source=[auth]) | CODE |
| LOW | tests/e2e/test_source_oauth_oauth2.py | 131 | self.driver.find_element(By.ID, "login").send_keys("admin@example.com") | CODE |
| LOW | tests/e2e/test_source_oauth_oauth2.py | 189 | self.assert_user(User(username="foo", name="admin", email="admin@example.com")) | CODE |
| LOW | tests/e2e/test_source_oauth_oauth2.py | 215 | self.assert_user(User(username="foo", name="admin", email="admin@example.com")) | CODE |
| LOW⚡ | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 272 | "email": "admin@example.com", | CODE |
| LOW⚡ | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 279 | "email": "admin@example.com", | CODE |
| LOW⚡ | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 286 | "email": "user@example.com", | CODE |
| LOW | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 299 | return c.Email == "admin@example.com" | CODE |
| LOW | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 316 | assert.Equal(t, "user@example.com", claims["email"]) | CODE |
| LOW | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 330 | "email": "admin@example.com", | CODE |
| LOW | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 338 | "email": "user@example.com", | CODE |
| LOW | …al/outpost/proxyv2/postgresstore/postgresstore_test.go | 379 | assert.NotEqual(t, "admin@example.com", claims["email"]) | CODE |
| LOW | packages/client-go/model_stage_prompt.go | 28 | Placeholder string `json:"placeholder"` | CODE |
| LOW | packages/client-go/model_stage_prompt.go | 296 | toSerialize["placeholder"] = o.Placeholder | CODE |
| LOW | packages/client-go/model_stage_prompt.go | 320 | "placeholder", | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | authentik/crypto/tasks.py | 110 | CODE | |
| LOW | authentik/tasks/schedules/scheduler.py | 19 | CODE | |
| LOW | authentik/blueprints/v1/importer.py | 171 | CODE | |
| LOW | authentik/blueprints/v1/importer.py | 385 | CODE | |
| LOW | authentik/blueprints/v1/schema.py | 158 | CODE | |
| LOW | …ntik/blueprints/management/commands/apply_blueprint.py | 20 | CODE | |
| LOW | authentik/outposts/signals.py | 119 | CODE | |
| LOW | authentik/outposts/docker_ssh.py | 80 | CODE | |
| LOW | authentik/outposts/models.py | 332 | CODE | |
| LOW | authentik/outposts/apps.py | 36 | CODE | |
| LOW | authentik/core/setup/signals.py | 19 | CODE | |
| LOW | authentik/core/sources/flow_manager.py | 199 | CODE | |
| LOW | authentik/enterprise/core/revocation.py | 50 | CODE | |
| LOW | authentik/stages/user_write/stage.py | 106 | CODE | |
| LOW | authentik/stages/captcha/stage.py | 36 | CODE | |
| LOW | authentik/stages/prompt/models.py | 156 | CODE | |
| LOW | authentik/stages/prompt/models.py | 225 | CODE | |
| LOW | authentik/stages/prompt/models.py | 269 | CODE | |
| LOW | authentik/stages/authenticator_validate/models.py | 116 | CODE | |
| LOW | authentik/stages/authenticator_validate/challenge.py | 144 | CODE | |
| LOW | authentik/providers/oauth2/id_token.py | 79 | CODE | |
| LOW | authentik/providers/oauth2/tests/test_dpop.py | 72 | CODE | |
| LOW | authentik/providers/oauth2/views/end_session.py | 61 | CODE | |
| LOW | authentik/providers/saml/views/sp_slo.py | 84 | CODE | |
| LOW | authentik/admin/files/api.py | 217 | CODE | |
| LOW | authentik/admin/files/backends/static.py | 31 | CODE | |
| LOW | authentik/root/asgi.py | 36 | CODE | |
| LOW | authentik/lib/config.py | 86 | CODE | |
| LOW | authentik/lib/config.py | 157 | CODE | |
| LOW | authentik/sources/kerberos/tasks.py | 38 | CODE | |
| LOW | authentik/sources/scim/patch/processor.py | 14 | CODE | |
| LOW | authentik/sources/scim/patch/processor.py | 32 | CODE | |
| LOW | authentik/sources/scim/patch/processor.py | 108 | CODE | |
| LOW | authentik/sources/scim/patch/processor.py | 194 | CODE | |
| LOW | authentik/sources/scim/patch/parser.py | 80 | CODE | |
| LOW | authentik/sources/scim/patch/lexer.py | 120 | CODE | |
| LOW | authentik/sources/scim/views/v2/groups.py | 159 | CODE | |
| LOW | authentik/sources/oauth/tasks.py | 22 | CODE | |
| LOW | authentik/sources/oauth/api/source.py | 60 | CODE | |
| LOW | authentik/sources/ldap/sync/users.py | 59 | CODE | |
| LOW | authentik/sources/ldap/sync/groups.py | 58 | CODE | |
| LOW | authentik/api/search/fields.py | 90 | CODE | |
| LOW | authentik/api/v3/schema/query.py | 75 | CODE | |
| LOW | authentik/api/v3/schema/enum.py | 28 | CODE | |
| LOW | authentik/api/v3/schema/enum.py | 247 | CODE | |
| LOW | authentik/api/v3/schema/enum.py | 42 | CODE | |
| LOW | authentik/api/v3/schema/enum.py | 43 | CODE | |
| LOW | authentik/api/v3/schema/enum.py | 61 | CODE | |
| LOW | authentik/flows/planner.py | 313 | CODE | |
| LOW | authentik/flows/api/flows_diagram.py | 104 | CODE | |
| LOW | authentik/flows/views/executor.py | 162 | CODE | |
| LOW | tests/openid_conformance/conformance.py | 60 | CODE | |
| LOW | lifecycle/migrate.py | 124 | CODE | |
| LOW | packages/ak-guardian/guardian/utils.py | 114 | CODE | |
| LOW | …o-dramatiq-postgres/django_dramatiq_postgres/broker.py | 344 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | authentik/blueprints/v1/common.py | 214 | except Exception as exc: # noqa: BLE001 - a repr must never raise | CODE |
| LOW | authentik/core/models.py | 617 | except Exception as exc: # noqa | CODE |
| LOW | authentik/core/models.py | 817 | except Exception as exc: # noqa | CODE |
| LOW | authentik/core/models.py | 1046 | except Exception as exc: # noqa | CODE |
| LOW | authentik/core/models.py | 1259 | except Exception as exc: | CODE |
| LOW | authentik/core/api/property_mappings.py | 172 | except Exception as exc: # noqa | CODE |
| LOW | authentik/enterprise/stages/account_lockdown/stage.py | 142 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | authentik/enterprise/stages/account_lockdown/stage.py | 170 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | authentik/enterprise/stages/account_lockdown/stage.py | 221 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …enterprise/stages/account_lockdown/tests/test_stage.py | 597 | except Exception as exc: # noqa: BLE001 | CODE |
| MEDIUM | …enterprise/stages/account_lockdown/tests/test_stage.py | 584 | def run(self): | CODE |
| LOW | authentik/enterprise/lifecycle/offboarding/tasks.py | 44 | except Exception: | CODE |
| MEDIUM | …rprise/lifecycle/offboarding/tests/test_offboarding.py | 263 | def run(self): | CODE |
| MEDIUM | …rprise/lifecycle/offboarding/tests/test_offboarding.py | 319 | def run(self): | CODE |
| MEDIUM | …rprise/lifecycle/offboarding/tests/test_offboarding.py | 330 | def run(self): | CODE |
| LOW | …rprise/lifecycle/offboarding/tests/test_offboarding.py | 266 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …rprise/lifecycle/offboarding/tests/test_offboarding.py | 322 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …rprise/lifecycle/offboarding/tests/test_offboarding.py | 333 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | authentik/stages/prompt/models.py | 177 | except Exception as exc: # pylint:disable=broad-except | CODE |
| LOW | authentik/stages/prompt/models.py | 215 | except Exception as exc: # pylint:disable=broad-except | CODE |
| LOW | authentik/stages/prompt/models.py | 244 | except Exception as exc: # pylint:disable=broad-except | CODE |
| LOW | authentik/brands/models.py | 175 | except Exception as exc: # noqa | CODE |
| LOW | authentik/providers/saml/views/unified.py | 54 | except Exception: # noqa: BLE001 | CODE |
| LOW | authentik/policies/process.py | 141 | except Exception as exc: # noqa | CODE |
| LOW | authentik/policies/expression/evaluator.py | 74 | except Exception as exc: # noqa | CODE |
| LOW | authentik/root/test_runner.py | 195 | except Exception as exc: # noqa | CODE |
| LOW | authentik/root/middleware.py | 317 | except Exception as exc: | CODE |
| LOW | authentik/lib/expression/evaluator.py | 364 | except Exception as exc: | CODE |
| LOW | authentik/lib/sync/mapper.py | 74 | except Exception as exc: | CODE |
| LOW | authentik/flows/stage.py | 165 | except Exception as exc: # noqa | CODE |
| LOW | authentik/flows/views/executor.py | 217 | except Exception as exc: # noqa | CODE |
| LOW | authentik/flows/views/executor.py | 307 | except Exception as exc: # noqa | CODE |
| LOW | authentik/flows/views/executor.py | 358 | except Exception as exc: # noqa | CODE |
| LOW | authentik/flows/views/executor.py | 370 | except Exception: # noqa | CODE |
| LOW | lifecycle/gunicorn.conf.py | 156 | except Exception: # nosec # noqa | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ions/wizard/steps/ak-application-wizard-submit-step.ts | 119 | // Step 1: Import SAML metadata to create the provider | COMMENT |
| LOW⚡ | …ions/wizard/steps/ak-application-wizard-submit-step.ts | 127 | // Step 2: Create the application linked to the provider | COMMENT |
| LOW⚡ | …ions/wizard/steps/ak-application-wizard-submit-step.ts | 135 | // Step 3: Create policy bindings | COMMENT |
| LOW | website/docs/users-sources/user/invitations.md | 208 | ### Step 1: Create an Invitation stage | COMMENT |
| LOW | website/docs/users-sources/user/invitations.md | 225 | ### Step 2: Create or modify an Enrollment flow | COMMENT |
| LOW | website/docs/users-sources/user/invitations.md | 235 | ### Step 3: Bind the Invitation stage to the flow | COMMENT |
| LOW | website/docs/users-sources/user/invitations.md | 250 | ### Step 4: Create invitations | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 45 | # Step 1: Client connects to this websocket endpoint | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 46 | # Step 2: We prepare all the connection args for Guac | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 47 | # Step 3: Send a websocket message to a single outpost that has this provider assigned | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 50 | # Step 4: Outpost creates a websocket connection back to authentik | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 52 | # Step 5: This consumer transfers data between the two channels | COMMENT |
| LOW⚡ | internal/outpost/proxyv2/application/auth_test.go | 328 | // Step 1: Serialize Claims to JSON (simulating storage) | COMMENT |
| LOW⚡ | internal/outpost/proxyv2/application/auth_test.go | 332 | // Step 2: Deserialize to map[string]any (simulating PostgreSQL load) | COMMENT |
| LOW⚡ | internal/outpost/proxyv2/application/auth_test.go | 337 | // Step 3: Convert map back to Claims (simulating getClaimsFromSession) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | authentik/blueprints/tasks.py | 2 | CODE | |
| LOW | authentik/endpoints/controller.py | 4 | CODE | |
| LOW | authentik/enterprise/lifecycle/signals.py | 7 | CODE | |
| LOW | authentik/enterprise/lifecycle/signals.py | 7 | CODE | |
| LOW | authentik/enterprise/lifecycle/tasks.py | 7 | CODE | |
| LOW | authentik/enterprise/lifecycle/tasks.py | 7 | CODE | |
| LOW | authentik/enterprise/lifecycle/tasks.py | 11 | CODE | |
| LOW | authentik/enterprise/lifecycle/tasks.py | 11 | CODE | |
| LOW | authentik/enterprise/lifecycle/tasks.py | 11 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 12 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 21 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 21 | CODE | |
| LOW | authentik/enterprise/lifecycle/models.py | 21 | CODE | |
| LOW | authentik/providers/scim/clients/base.py | 30 | CODE | |
| LOW | authentik/providers/scim/clients/base.py | 31 | CODE | |
| LOW | authentik/policies/types.py | 3 | CODE | |
| LOW | authentik/lib/sync/outgoing/base.py | 19 | CODE | |
| LOW | authentik/lib/sync/outgoing/base.py | 21 | CODE | |
| LOW | lifecycle/gunicorn.conf.py | 26 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ions/wizard/steps/ak-application-wizard-submit-step.ts | 119 | // Step 1: Import SAML metadata to create the provider | COMMENT |
| LOW⚡ | …ions/wizard/steps/ak-application-wizard-submit-step.ts | 127 | // Step 2: Create the application linked to the provider | COMMENT |
| LOW⚡ | …ions/wizard/steps/ak-application-wizard-submit-step.ts | 135 | // Step 3: Create policy bindings | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 45 | # Step 1: Client connects to this websocket endpoint | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 46 | # Step 2: We prepare all the connection args for Guac | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 47 | # Step 3: Send a websocket message to a single outpost that has this provider assigned | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 50 | # Step 4: Outpost creates a websocket connection back to authentik | COMMENT |
| LOW⚡ | authentik/providers/rac/consumer_client.py | 52 | # Step 5: This consumer transfers data between the two channels | COMMENT |
| LOW⚡ | internal/outpost/proxyv2/application/auth_test.go | 328 | // Step 1: Serialize Claims to JSON (simulating storage) | COMMENT |
| LOW⚡ | internal/outpost/proxyv2/application/auth_test.go | 332 | // Step 2: Deserialize to map[string]any (simulating PostgreSQL load) | COMMENT |
| LOW⚡ | internal/outpost/proxyv2/application/auth_test.go | 337 | // Step 3: Convert map back to Claims (simulating getClaimsFromSession) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/src/elements/forms/SearchSelect/stories/sampleData.ts | 7 | // The descriptions were generated by ChatGPT. Don't blame us. | COMMENT |
| HIGH | web/src/elements/ak-list-select/stories/sampleData.ts | 5 | // The descriptions were generated by ChatGPT. Don't blame us. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | authentik/admin/files/validation.py | 29 | Sanitize file path. Args: file_path: The file path to sanitize Returns: Sanitized file path | STRING |
| HIGH | authentik/lib/utils/email.py | 5 | Normalize email address parameter to list of (name, email) tuples. Args: addr: Email address(es). Can be: | STRING |
| HIGH | packages/ak-guardian/guardian/utils.py | 115 | Get a tuple with the identity of the given input. Returns: (user_obj, None, None) or (None, group | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | authentik/api/ordering.py | 16 | return {f.name for f in queryset.model._meta.get_fields() if hasattr(f, "null") and f.null} | CODE |
| HIGH | authentik/api/search/fields.py | 64 | ck.key_path_array || jsonb_object_keys(ck.value), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | authentik/enterprise/lifecycle/signals.py | 9 | __all__ = [ | CODE |
| LOW | authentik/enterprise/lifecycle/tasks.py | 17 | __all__ = [ | CODE |
| LOW | authentik/enterprise/lifecycle/models.py | 29 | __all__ = [ | CODE |
| LOW | authentik/stages/authenticator_webauthn/models.py | 183 | def set_sign_count(self, sign_count: int) -> None: | CODE |
| LOW | authentik/stages/authenticator/models.py | 398 | def set_throttle_factor(self, throttle_factor: float) -> None: | CODE |
| LOW | authentik/root/settings.py | 566 | def _update_settings(app_path: str) -> None: | CODE |
| LOW | authentik/lib/tests/test_config.py | 633 | def _set_main_postgres(self, config: ConfigLoader) -> None: | CODE |
| LOW | packages/ak-guardian/guardian/utils.py | 24 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | authentik/core/sessions.py | 92 | # If any of these happen, just return an empty dictionary (an empty session) | COMMENT |
| LOW | authentik/enterprise/audit/middleware.py | 144 | # If we're clearing we just set the "flag" to True | COMMENT |
| LOW | authentik/stages/authenticator_validate/stage.py | 177 | # hence it doesn't have a PK. In that case we just return an empty list of | COMMENT |
| MEDIUM | authentik/lib/expression/evaluator.py | 365 | # So, this is a bit questionable. Essentially, we are edit the stacktrace | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | authentik/sources/scim/tests/test_patch.py | 1197 | # Based on the code, after processing a filter, the method doesn't continue | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/client-ts/src/runtime.ts | 129 | * @return True if the given MIME is JSON, false otherwise. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | authentik/enterprise/endpoints/connectors/agent/http.py | 34 | CODE | |
| LOW | authentik/providers/oauth2/tests/test_dpop.py | 36 | CODE | |
| LOW | authentik/providers/oauth2/views/userinfo.py | 128 | CODE | |
| LOW | authentik/sources/ldap/sync/base.py | 87 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/specs/2026-06-24-llms-txt-plugin-plan.md | 1161 | ### Task 9: Plugin orchestration (`postBuild`) + group assignment | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/outpost/proxyv2/hs256/hs256.go | 26 | // Don't forget to validate the alg is what you expect: | COMMENT |
| LOW | internal/outpost/proxyv2/application/oauth_state.go | 110 | // Don't forget to validate the alg is what you expect: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …go-channels-postgres/django_channels_postgres/layer.py | 299 | # ============================================================== | STRING |
| MEDIUM | …go-channels-postgres/django_channels_postgres/layer.py | 301 | # ============================================================== | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/20240625-add-htmlelementtagnamemaps-to-everything.py | 14 | # Usage: | COMMENT |