AI Slop Code Risk Monitor

nhost/nhost

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

The Open Source Firebase Alternative with GraphQL.

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nhost/nhost, a Go project with 9,376 GitHub stars. SynthScan examined 1,035,909 lines of code across 7650 source files, recording 1483 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
9.4K
Stars
Go
Language
1.0M
Lines of Code
7.7K
Files
1.5K
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 5.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 3.4/100 · LOW

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

PR Review Velocity Impact 7.4/100 · LOW

Which changes need focused human review? 1483 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 4MEDIUM 46LOW 1433

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 1483 distinct pattern matches across 16 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.

Hyper-Verbose Identifiers585 hits · 575 pts
SeverityFileLineSnippetContext
LOWlanding/src/pages/pricing/index.tsx119function SelfHostedPricingListItem({CODE
LOW⚡ci/tests/test_workflows.py461 def test_failed_probe_does_not_report_a_cache_hit_or_stamp_artifacts(self):STRING
LOW⚡ci/tests/test_workflows.py470 def test_failed_checks_leave_dev_outputs_without_stamping_artifacts(self):STRING
LOW⚡ci/tests/test_workflows.py479 def test_failed_environment_does_not_stamp_or_build_artifacts(self):STRING
LOW⚡ci/tests/test_workflows.py485 def test_failed_artifact_build_retains_both_cache_graphs(self):STRING
LOW⚡ci/tests/test_workflows.py495 def test_check_only_job_does_not_stamp_or_package_artifacts(self):STRING
LOW⚡ci/tests/test_workflows.py502 def test_project_pre_check_hooks_run(self):STRING
LOW⚡ci/tests/test_workflows.py509 def test_failed_project_pre_check_stops_checks_and_artifacts(self):STRING
LOWci/tests/test_workflows.py276 def assert_no_artifacts_or_stamp(self):STRING
LOWci/tests/test_workflows.py284 def test_ordering_and_publication_gates(self):STRING
LOWci/tests/test_workflows.py335 def test_cache_roots_record_locked_inputs_but_not_self(self):STRING
LOWci/tests/test_workflows.py348 def test_development_checks_precede_versioned_artifacts(self):STRING
LOWci/tests/test_workflows.py399 def test_dev_artifact_build_reuses_integration_image_and_binary(self):STRING
LOWci/tests/test_workflows.py419 def test_binary_only_artifacts_can_still_prepare_an_image_for_checks(self):STRING
LOWci/tests/test_workflows.py427 def test_secondary_architecture_skips_checks_and_image_import(self):STRING
LOWci/tests/test_workflows.py438 def test_build_only_release_does_not_import_image_or_evaluate_checks(self):STRING
LOWci/tests/test_workflows.py450 def test_cached_checks_build_artifacts_without_environment_or_import(self):STRING
LOWci/tests/test_workflows.py526 def test_project_specific_evaluation_flags_are_preserved(self):STRING
LOWci/tests/test_workflows.py554 def test_auxiliary_images_keep_their_local_import(self):STRING
LOWci/tests/test_workflows.py562 def test_local_default_and_parallel_environment_startup(self):STRING
LOWci/tests/test_workflows.py577 def test_macos_build_only_does_not_evaluate_or_build_a_linux_image(self):STRING
LOW⚡ci/tests/test_ci_sync.py148 def test_receiver_read_write_permissions_are_preserved(self):CODE
LOW⚡ci/tests/test_ci_sync.py158 def test_read_only_modes_report_drift_without_writes(self):CODE
LOW⚡ci/tests/test_ci_sync.py167 def test_unpublished_sources_can_only_preview(self):CODE
LOW⚡ci/tests/test_ci_sync.py177 def test_local_content_and_mode_edits_prevent_all_writes(self):CODE
LOWci/tests/test_ci_sync.py123 def test_apply_updates_hashes_pin_and_modes_and_is_idempotent(self):CODE
LOWci/tests/test_ci_sync.py196 def test_bootstrap_missing_files_and_legacy_hash_only_entries(self):CODE
LOWci/tests/test_ci_sync.py210 def test_preview_of_new_destinations_does_not_create_directories(self):CODE
LOWci/tests/test_ci_sync.py222 def test_paths_are_data_not_shell_commands(self):CODE
LOWci/tests/test_ci_sync.py233 def test_unsafe_destinations_are_rejected(self):CODE
LOWci/tests/test_ci_sync.py262 def test_git_metadata_cannot_be_the_target_root(self):CODE
LOWci/tests/test_ci_sync.py271 def test_invalid_sources_and_destination_collisions_are_rejected(self):CODE
LOWci/tests/test_ci_sync.py288 def test_symlinked_files_and_parents_are_rejected(self):CODE
LOWci/tests/test_ci_sync.py316 def test_invalid_metadata_and_corrupt_bundle_fail_without_writes(self):CODE
LOWci/tests/test_ci_sync.py348 def test_interrupted_copy_can_be_retried_with_manifest_written_last(self):CODE
LOWci/tests/test_ci_sync.py367 def test_changes_during_preflight_are_not_overwritten(self):CODE
LOWci/tests/test_ci_sync.py389 def test_nix_bundle_is_exactly_the_shared_source_files(self):CODE
LOWci/tests/test_ci_sync.py425 def test_ci_documentation_does_not_override_repository_readme(self):CODE
LOWci/tests/test_ci_sync.py429 def test_documented_install_works_with_only_packaged_exports(self):CODE
LOWci/tests/test_ci_sync.py499 def test_packaged_command_previews_real_bundle_without_writes(self):CODE
LOWci/tests/test_ci_sync.py525 def test_packaged_command_help(self):CODE
LOWci/tests/test_runner_sizing.py32 def test_shared_check_callers_select_literal_runner_lists(self):CODE
LOWci/tests/test_runner_sizing.py64 def test_api_metadata_and_transfer_jobs_keep_original_runners(self):CODE
LOWci/tests/test_runner_sizing.py88 def test_project_builds_keep_main_runner_sizes(self):CODE
LOWci/tests/test_runner_sizing.py99 def test_release_builds_keep_main_default_sizes(self):CODE
LOWci/tests/test_runner_sizing.py113 def test_frontend_builds_and_browser_suites_are_sized_separately(self):CODE
LOWci/tests/test_runner_sizing.py141 def test_analysis_and_cache_warming_keep_workload_specific_runners(self):CODE
LOWci/tests/test_shared_ci.py58 def test_cache_target_defaults_and_workflow_forwarding(self):CODE
LOWci/tests/test_shared_ci.py88 def test_runner_matrix_uses_caller_labels_verbatim(self):CODE
LOWci/tests/test_shared_ci.py112 def test_artifact_platform_comes_from_the_actual_runner(self):CODE
LOWci/tests/test_shared_ci.py141 def test_cache_probe_uses_native_target_and_preserves_failures(self):CODE
LOWci/tests/test_shared_ci.py183 def test_publisher_defaults_and_architecture_selection(self):CODE
LOWci/tests/test_shared_ci.py267 def test_publisher_rejects_missing_image_manifests(self):STRING
LOWci/tests/test_ci_contracts.py25 def test_all_local_workflow_and_action_inputs_are_valid(self):CODE
LOWci/tests/test_ci_contracts.py49 def test_secret_bearing_pr_checks_preserve_approval_and_exact_sha(self):CODE
LOWci/tests/test_ci_contracts.py64 def test_runner_and_artifact_contracts(self):CODE
LOWci/tests/test_ci_contracts.py105 def test_variants_and_release_build_only_calls_are_preserved(self):CODE
LOWci/tests/test_ci_contracts.py118 def test_cli_image_loader_does_not_record_an_unused_nix_shell(self):CODE
LOWci/tests/test_ci_contracts.py128 def test_post_publication_nix_cache_is_best_effort(self):CODE
LOWci/tests/test_ci_contracts.py149 def test_shared_action_changes_trigger_pr_and_merge_queue_checks(self):CODE
525 more matches not shown…
Over-Commented Block632 hits · 480 pts
SeverityFileLineSnippetContext
LOWcliff.toml21COMMENT
LOW…ding/src/components/common/icons/TickIcon/TickIcon.tsx1import { DetailedHTMLProps, HTMLProps } from 'react'COMMENT
LOWtools/govulncheck-wrapper/main.go181// version. Only non-allowlisted findings are considered; for modules referencedCOMMENT
LOWinternal/lib/pgmigrate/doc.go1// Package pgmigrate validates and applies versioned PostgreSQL migrationCOMMENT
LOWinternal/lib/jsontmpl/fuzz_test.go1package jsontmpl_testCOMMENT
LOWinternal/lib/jsontmpl/derived_test.go1package jsontmpl_testCOMMENT
LOWinternal/lib/jsontmpl/jsontmpl.go1// Package jsontmpl is a Go port of hasura/kriti-lang, the JSONCOMMENT
LOWinternal/lib/jsontmpl/jsontmpl.go181 Value jsontext.ValueCOMMENT
LOWinternal/lib/jsontmpl/lexer/lexer.go1// Package lexer tokenises jsontmpl source. Hand-rolled mode-stackCOMMENT
LOWinternal/lib/jsontmpl/parser/golden_test.go61 binder string // Range value binder nameCOMMENT
LOWinternal/lib/jsontmpl/parser/golden_test.go161 g.kids[0].dump(b, depth+1, showSpans)COMMENT
LOWinternal/lib/jsontmpl/parser/parser.go1// Package parser builds jsontmpl ASTs from token streams. Hand-rolledCOMMENT
LOWinternal/lib/jsontmpl/parser/parser.go21// Binops are non-associative and do not chain (Grammar.y:60-63). TheCOMMENT
LOWinternal/lib/jsontmpl/eval/value.go21// IEEE 754 double precision)COMMENT
LOWinternal/lib/oapi/middleware/cors.go21)COMMENT
LOWinternal/lib/oapi/middleware/cors.go41 // inspect a function, so callers are responsible for not blanket-allowingCOMMENT
LOWinternal/lib/oapi/middleware/cors.go61 // - nil: reflects client's Access-Control-Request-HeadersCOMMENT
LOW…/content/docs/reference/javascript/nhost-js/storage.md41console.log(JSON.stringify(uploadResp, null, 2));COMMENT
LOW…src/content/docs/reference/javascript/nhost-js/main.md41const uplFilesResp = await nhost.storage.uploadFiles({COMMENT
LOW…src/content/docs/reference/javascript/nhost-js/main.md61// "uploadedByUserId": "3357aada-b6c7-4af1-9655-1307ca2883a2",COMMENT
LOW…src/content/docs/reference/javascript/nhost-js/main.md101// {COMMENT
LOW…src/content/docs/reference/javascript/nhost-js/main.md161});COMMENT
LOW…src/content/docs/reference/javascript/nhost-js/main.md181// "name": "file-2",COMMENT
LOW…src/content/docs/reference/javascript/nhost-js/auth.md61 // error: 'invalid-email-password',COMMENT
LOW…/content/docs/reference/javascript/nhost-js/graphql.md61 genreCOMMENT
LOW…/content/docs/reference/javascript/nhost-js/graphql.md161COMMENT
LOW…/content/docs/reference/javascript/nhost-js/graphql.md221 const resp = error as FetchError<GraphQLResponse>;COMMENT
LOWcli/cmd/configserver/local.go21// for every secret loaded from .secrets, so real secret material never entersCOMMENT
LOWcli/internal/schemadiff/schemadiff.go1// Package schemadiff provides utilities for parsing two GraphQL schemas,COMMENT
LOWcli/dockercompose/compose.go821COMMENT
LOWdashboard/CHANGELOG.md361- *(dashboard)* Migrate account/settings forms from Button v2 to v3 (#4667)COMMENT
LOWdashboard/CHANGELOG.md381# examples/quickstarts/react/pnpm-lock.yamlCOMMENT
LOWexamples/quickstarts/svelte/src/vite-env.d.ts1/// <reference types="svelte" />COMMENT
LOWpackages/stripe-graphql-js/CHANGELOG.md21# docs/pnpm-lock.yamlCOMMENT
LOW…/stripe-graphql-js/src/schema/customer-tax-location.ts21// type Source = 'billing_address' | 'ip_address' | 'payment_method' | 'shipping_destination'COMMENT
LOW…ckages/stripe-graphql-js/src/schema/payment-methods.ts21// type: t({ // unable to get this to workCOMMENT
LOWpackages/nhost-js/src/auth/__tests__/docstrings.test.ts41 throw err; // Re-throw if it's not a FetchErrorCOMMENT
LOW…ages/nhost-js/src/storage/__tests__/docstrings.test.ts21 // Upload files to storageCOMMENT
LOW…ages/nhost-js/src/storage/__tests__/docstrings.test.ts41 // "uploadedByUserId": "",COMMENT
LOWpackages/nhost-js/src/__tests__/docstrings.test.ts41 // {COMMENT
LOWpackages/nhost-js/src/__tests__/docstrings.test.ts61 // "updatedAt": "2025-05-09T17:26:04.596831+00:00",COMMENT
LOWpackages/nhost-js/src/__tests__/docstrings.test.ts101 // "name": "file-2",COMMENT
LOWpackages/nhost-js/src/__tests__/docstrings.test.ts161 ],COMMENT
LOWpackages/nhost-js/src/__tests__/docstrings.test.ts181 // "id": "3f189004-21fd-42d0-be1d-1ead021ab167",COMMENT
LOWpackages/nhost-js/src/__tests__/docstrings.test.ts221 // {COMMENT
LOW…ages/nhost-js/src/graphql/__tests__/docstrings.test.ts21 directorCOMMENT
LOW…ages/nhost-js/src/graphql/__tests__/docstrings.test.ts41 // {COMMENT
LOW…ages/nhost-js/src/graphql/__tests__/docstrings.test.ts121 }COMMENT
LOW…ages/nhost-js/src/graphql/__tests__/docstrings.test.ts141 // title: 'The Godfather',COMMENT
LOW…ages/nhost-js/src/graphql/__tests__/docstrings.test.ts281 // {COMMENT
LOW…ages/nhost-js/src/graphql/__tests__/docstrings.test.ts341 // "message": "field 'restrictedObject' not found in type: 'query_root'",COMMENT
LOW.github/workflows/gen_codeql-analysis.yml41COMMENT
LOW.github/workflows/ci_safe_to_test.yaml1---COMMENT
LOWservices/auth/go/oidc/idtoken.go181 return ErrNonceMismatchCOMMENT
LOWservices/auth/go/controller/mock/validator.go1// Code generated by MockGen. DO NOT EDIT.COMMENT
LOWservices/auth/go/api/server.gen.go21 "github.com/gin-gonic/gin"COMMENT
LOWservices/auth/go/api/server.gen.go41 ElevateOTPEmail(c *gin.Context)COMMENT
LOWservices/auth/go/api/server.gen.go61 // (GET /healthz)COMMENT
LOWservices/auth/go/api/server.gen.go81 // OAuth2 Provider JWKS EndpointCOMMENT
LOWservices/auth/go/api/server.gen.go101 Oauth2UserinfoPost(c *gin.Context)COMMENT
572 more matches not shown…
Fake / Example Data158 hits · 162 pts
SeverityFileLineSnippetContext
LOWREADME.md110 email: 'user@example.com',CODE
LOWcli/cmd/config/example.go199 Allowed: []string{"asd@example.org"},CODE
LOWdashboard/e2e/utils.ts441 .fill('123 Main Street');CODE
LOW…tabaseRecordInputGroup/NullDefaultToggleField.test.tsx46 expect(input).toHaveAttribute('placeholder', 'NULL');CODE
LOW…tabaseRecordInputGroup/NullDefaultToggleField.test.tsx57 expect(input).toHaveAttribute('placeholder', 'some_default');CODE
LOW…baseRecordInputGroup/DatabaseRecordInputGroup.test.tsx55 'placeholder',CODE
LOW…/DatabaseRecordInputGroup/TemporalRecordField.test.tsx90 expect(screen.getByRole('combobox')).toHaveAttribute('placeholder', 'NULL');CODE
LOW…/DatabaseRecordInputGroup/TemporalRecordField.test.tsx116 'placeholder',CODE
LOW⚡…seTableForm/ColumnEditorRow/DefaultValueInput.test.tsx51 describe('placeholder', () => {CODE
LOW⚡…seTableForm/ColumnEditorRow/DefaultValueInput.test.tsx54 expect(getInput()).toHaveAttribute('placeholder', 'NULL');CODE
LOW⚡…seTableForm/ColumnEditorRow/DefaultValueInput.test.tsx59 expect(getInput()).toHaveAttribute('placeholder', 'NO DEFAULT VALUE');CODE
LOW…ComputedFieldsSection/ComputedFieldFormFields.test.tsx198 'placeholder',CODE
LOW…tFieldsSection/CustomGraphQLRootFieldsSection.test.tsx259 'placeholder',CODE
LOW…taGrid/hooks/useTableQuery/createTableQueryKey.test.ts198 { column: 'email', op: '=', value: 'user@example.com', id: 'id' },CODE
LOW…RequestBody/buildServerlessFunctionRequestBody.test.ts54 { key: 'name', value: 'John Doe' },CODE
LOW…components/BaseCronTriggerForm/BaseCronTriggerForm.tsx280 "name": "John Doe",CODE
LOW…-offs/components/CreateOneOffForm/CreateOneOffForm.tsx100 "name": "John Doe",CODE
LOW…components/CreateOrgFormDialog/CreateOrgFormDialog.tsx111 <Input placeholder="Acme Inc" {...field} />CODE
LOW…nents/CreateOrgFormDialog/CreateOrgFormDialog.test.tsx81 'Acme Inc',CODE
LOW…general/components/GeneralSettings/GeneralSettings.tsx101 <Input placeholder="Acme Inc" {...field} />CODE
LOW…mand-palette/components/CommandPaletteTrigger.test.tsx604 'placeholder',CODE
LOW…mand-palette/components/CommandPaletteTrigger.test.tsx616 'placeholder',CODE
LOW…mand-palette/components/CommandPaletteTrigger.test.tsx847 expect(input).toHaveAttribute('placeholder', 'Search or navigate to...');CODE
LOW…mand-palette/components/CommandPaletteTrigger.test.tsx1014 expect(input).toHaveAttribute('placeholder', 'Search or navigate to...');CODE
LOWdashboard/src/components/ui/v3/avatar.test.tsx6 render(<Avatar name="Jane Doe" />);CODE
LOWdashboard/src/components/ui/v3/avatar.test.tsx24 render(<Avatar name="Jane Doe" fallback="JD" />);CODE
LOWdashboard/src/pages/onboarding/index.tsx325 <Input placeholder="Acme Inc" {...field} />CODE
LOWpackages/nhost-js/README.md31 email: 'user@example.com',CODE
LOWservices/auth/go/cryto/crypto_test.go207 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWservices/auth/go/cryto/crypto_test.go207 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWservices/auth/go/providers/upstream_params_test.go52 "login_hint": "user@example.com",CODE
LOWservices/auth/go/providers/upstream_params_test.go60 "login_hint": "user@example.com",CODE
LOWservices/auth/go/providers/bitbucket_internal_test.go137 t.Context(), srv.URL, "fake-token",CODE
LOWservices/auth/go/oauth2/userinfo_test.go28 DisplayName: "John Doe",CODE
LOWservices/auth/go/oauth2/userinfo_test.go59 Name: new("John Doe"),CODE
LOWservices/auth/go/oauth2/userinfo_test.go200 Name: new("John Doe"),CODE
LOWservices/auth/go/oauth2/userinfo_test.go410 Name: new("John Doe"),CODE
LOWservices/auth/go/oauth2/token_test.go555 Return("fake-token", nil).CODE
LOWservices/auth/go/oauth2/token_test.go580 if *resp.IdToken != "fake-token" {CODE
LOWservices/auth/go/oauth2/token_test.go581 t.Errorf("expected id_token 'fake-token', got %q", *resp.IdToken)CODE
LOWservices/auth/go/oauth2/token_test.go1225 Return("fake-token", nil).CODE
LOWservices/auth/go/oauth2/token_test.go1251 if *resp.IdToken != "fake-token" {CODE
LOWservices/auth/go/oauth2/token_test.go1252 t.Errorf("expected id_token 'fake-token', got %q", *resp.IdToken)CODE
LOWservices/auth/go/oauth2/token_test.go1328 return "fake-token", nilCODE
LOWservices/auth/go/oauth2/token_test.go1375 if resp.AccessToken != "fake-token" {CODE
LOWservices/auth/go/oauth2/token_test.go1376 t.Errorf("expected access token 'fake-token', got %q", resp.AccessToken)CODE
LOWservices/auth/go/oauth2/token_test.go1397 return "fake-token", nilCODE
LOWservices/auth/go/oauth2/token_test.go1429 if resp.AccessToken != "fake-token" {CODE
LOWservices/auth/go/oauth2/token_test.go1430 t.Errorf("expected access token 'fake-token', got %q", resp.AccessToken)CODE
LOWservices/auth/go/oauth2/token_test.go1551 Return("fake-token", nil)CODE
LOWservices/auth/go/oauth2/token_test.go1572 if resp.AccessToken != "fake-token" {CODE
LOWservices/auth/go/oauth2/token_test.go1573 t.Errorf("expected access token 'fake-token', got %q", resp.AccessToken)CODE
LOWservices/auth/go/oauth2/token_test.go1600 Return("fake-token", nil)CODE
LOWservices/auth/go/oauth2/token_test.go1621 if resp.AccessToken != "fake-token" {CODE
LOWservices/auth/go/oauth2/token_test.go1622 t.Errorf("expected access token 'fake-token', got %q", resp.AccessToken)CODE
LOW…ices/auth/go/controller/verify_elevate_otp_sms_test.go126 DisplayName: "Jane Doe",CODE
LOW…ices/auth/go/controller/verify_elevate_otp_sms_test.go226 DisplayName: "Jane Doe",CODE
LOW…ces/auth/go/controller/verify_sign_in_mfa_totp_test.go34 DisplayName: "Jane Doe",CODE
LOW…ces/auth/go/controller/verify_sign_in_mfa_totp_test.go110 DisplayName: "Jane Doe",CODE
LOW…es/auth/go/controller/sign_in_passwordless_sms_test.go323 DisplayName: "Jane Doe",CODE
98 more matches not shown…
Decorative Section Separators38 hits · 146 pts
SeverityFileLineSnippetContext
MEDIUMtools/betterleaks/betterleaks.toml368# =================================================================================STRING
MEDIUMdocs/public/openapi/auth.yaml1957 # =========================================================================COMMENT
MEDIUMdocs/public/openapi/auth.yaml1959 # =========================================================================COMMENT
MEDIUMdocs/public/openapi/auth.yaml3837 # =========================================================================COMMENT
MEDIUMdocs/public/openapi/auth.yaml3839 # =========================================================================COMMENT
MEDIUMdocs/src/schemas/auth.yaml1957 # =========================================================================COMMENT
MEDIUMdocs/src/schemas/auth.yaml1959 # =========================================================================COMMENT
MEDIUMdocs/src/schemas/auth.yaml3837 # =========================================================================COMMENT
MEDIUMdocs/src/schemas/auth.yaml3839 # =========================================================================COMMENT
MEDIUMservices/auth/docs/openapi.yaml1957 # =========================================================================COMMENT
MEDIUMservices/auth/docs/openapi.yaml1959 # =========================================================================COMMENT
MEDIUMservices/auth/docs/openapi.yaml3837 # =========================================================================COMMENT
MEDIUMservices/auth/docs/openapi.yaml3839 # =========================================================================COMMENT
MEDIUM⚡services/constellation/integration/sqlite/setup.sh47# ──────────────────────────────────────────────COMMENT
MEDIUM⚡services/constellation/integration/sqlite/setup.sh52# ──────────────────────────────────────────────COMMENT
MEDIUM⚡services/constellation/integration/sqlite/setup.sh263# ──────────────────────────────────────────────COMMENT
MEDIUM⚡services/constellation/integration/sqlite/setup.sh266# ──────────────────────────────────────────────COMMENT
MEDIUM⚡services/constellation/integration/sqlite/setup.sh302# ──────────────────────────────────────────────COMMENT
MEDIUM⚡services/constellation/integration/sqlite/setup.sh304# ──────────────────────────────────────────────COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go10// ┌─────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go15// └─────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go18// ┌───────────────────────────────────┐ ┌───────────────────────────────────┐COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go24// │ - OnClose: cleanup │ └───────────────────────────────────┘COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go25// └───────────────────────────────────┘COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go79// ┌─────────────┐COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go81// └─────────────┘COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go83// ┌─────────────┐COMMENT
MEDIUM⚡services/constellation/controller/websocket/doc.go85// └─────────────┘COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go9// ┌─────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go13// └─────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go16// ┌─────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go22// └─────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go25// ┌─────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go30// └─────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go33// ┌─────────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡…rvices/constellation/connector/sql/subscription/doc.go39// └─────────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMservices/constellation/api/openapi.yaml390 # ================================================================COMMENT
MEDIUMservices/constellation/api/openapi.yaml392 # ================================================================COMMENT
Verbosity Indicators21 hits · 41 pts
SeverityFileLineSnippetContext
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx86 // Step 1: Request a registration challenge from the serverCOMMENT
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx105 // Step 2: Browser prompts user to create a new credentialCOMMENT
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx120 // Step 3: Send the credential attestation to the server for verificationCOMMENT
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx133 // Step 4: Handle registration successCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx168 // Step 1: Request challenge from serverCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx173 // Step 2: Browser prompts user for security key or biometric verificationCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx185 // Step 3: Send credential public key back to server for verificationCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx193 // Step 4: Registration successful - update UICOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx41 // Step 1: Request a challenge from the server for credential discoveryCOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx47 // Step 2: Browser prompts user for their security key or biometric verificationCOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx61 // Step 3: Send the signed challenge to the server for verificationCOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx68 // Step 4: Handle authentication resultCOMMENT
LOWservices/auth/go/providers/bitbucket.go66 // Step 1: Get user profile from BitbucketCOMMENT
LOWservices/auth/go/providers/bitbucket.go78 // Step 2: Get emailCOMMENT
LOWservices/auth/go/providers/bitbucket.go119 // Step 3: Return profile. We only reach this point after selecting aCOMMENT
LOW⚡services/constellation/integration/sqlite/setup.sh48# Step 1: Create the SQLite schema.COMMENT
LOW⚡services/constellation/integration/sqlite/setup.sh264# Step 2: Dump data from PostgreSQL and convertCOMMENT
LOW⚡services/constellation/integration/sqlite/setup.sh303# Step 3: Import data into SQLite.COMMENT
LOW⚡…ices/constellation/controller/websocket/server_test.go553 // Step 1: connection_initCOMMENT
LOW⚡…ices/constellation/controller/websocket/server_test.go561 // Step 2: subscribeCOMMENT
LOW…ices/constellation/controller/websocket/server_test.go577 // Step 3: completeCOMMENT
Structural Annotation Overuse21 hits · 41 pts
SeverityFileLineSnippetContext
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx86 // Step 1: Request a registration challenge from the serverCOMMENT
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx105 // Step 2: Browser prompts user to create a new credentialCOMMENT
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx120 // Step 3: Send the credential attestation to the server for verificationCOMMENT
LOW…demos/react-demo/src/components/WebAuthnSignUpForm.tsx133 // Step 4: Handle registration successCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx168 // Step 1: Request challenge from serverCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx173 // Step 2: Browser prompts user for security key or biometric verificationCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx185 // Step 3: Send credential public key back to server for verificationCOMMENT
LOW⚡…mples/demos/react-demo/src/components/SecurityKeys.tsx193 // Step 4: Registration successful - update UICOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx41 // Step 1: Request a challenge from the server for credential discoveryCOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx47 // Step 2: Browser prompts user for their security key or biometric verificationCOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx61 // Step 3: Send the signed challenge to the server for verificationCOMMENT
LOW⚡…demos/react-demo/src/components/WebAuthnSignInForm.tsx68 // Step 4: Handle authentication resultCOMMENT
LOWservices/auth/go/providers/bitbucket.go66 // Step 1: Get user profile from BitbucketCOMMENT
LOWservices/auth/go/providers/bitbucket.go78 // Step 2: Get emailCOMMENT
LOWservices/auth/go/providers/bitbucket.go119 // Step 3: Return profile. We only reach this point after selecting aCOMMENT
LOW⚡services/constellation/integration/sqlite/setup.sh48# Step 1: Create the SQLite schema.COMMENT
LOW⚡services/constellation/integration/sqlite/setup.sh264# Step 2: Dump data from PostgreSQL and convertCOMMENT
LOW⚡services/constellation/integration/sqlite/setup.sh303# Step 3: Import data into SQLite.COMMENT
LOW⚡…ices/constellation/controller/websocket/server_test.go553 // Step 1: connection_initCOMMENT
LOW⚡…ices/constellation/controller/websocket/server_test.go561 // Step 2: subscribeCOMMENT
LOW…ices/constellation/controller/websocket/server_test.go577 // Step 3: completeCOMMENT
Cross-Language Confusion4 hits · 15 pts
SeverityFileLineSnippetContext
HIGHci/tests/test_workflows.py255 "inputs.BUILD && inputs.DOCKER && runner.os != 'macOS'": lambda: (STRING
HIGHci/tests/test_workflows.py325 "inputs.BUILD && inputs.DOCKER && runner.os != 'macOS'",STRING
HIGHci/tests/test_shared_ci.py84 "inputs.LOGIN_ECR && env.RUN_CHECKS == 'true'",CODE
HIGHci/tests/test_shared_ci.py109 "${{ inputs.CHECKS && matrix.runner == fromJSON(inputs.RUNS_ON)[0] }}",CODE
Deep Nesting10 hits · 9 pts
SeverityFileLineSnippetContext
LOWci/tests/test_ci_sync.py177CODE
LOWci/tests/test_ci_sync.py316CODE
LOWci/tests/test_runner_sizing.py32CODE
LOWci/tests/test_shared_ci.py183CODE
LOWci/tests/test_ci_contracts.py25CODE
LOWci/tests/test_ci_contracts.py105CODE
LOWci/tests/test_ci_contracts.py149CODE
LOWci/tests/test_ci_contracts.py168CODE
LOW.github/actions/cache-nix/test_cache.py233CODE
LOW…ces/postgres/extensions/check-pg-jsonschema-upgrade.py60CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdocs/gen.sh19 # Create a temporary fileCOMMENT
MEDIUMpackages/nhost-js/src/index.ts22 * ### Creating an admin clientCOMMENT
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…hboard/src/components/layout/BaseLayout/BaseLayout.tsx17// TODO: Refactor modal management to utilize `DialogProvider` instead.COMMENT
MEDIUMservices/auth/email-templates/en/elevate-otp/body.html13 <p style="font-size: 15px; line-height: 1.4; margin: 0 0 10px; color: #3c4149">Use the following code to eleCODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWservices/constellation/benchmark/check.sh11# Usage:COMMENT
LOWservices/constellation/integration/main_test.go29// Usage example:COMMENT
LOWservices/constellation/integration/sqlite/setup.sh6# Usage:COMMENT
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtools/ghactivity/README.md1177. `### 🎯 Today's focus` — scaffolding for the human to fill in.CODE
MEDIUMtools/ghactivity/README.md1188. `### 📝 Other` — scaffolding for the human to fill in.CODE
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM.github/actions/cache-nix/test_cache.py83 print("An error occurred (403): Forbidden", file=sys.stderr)CODE
MEDIUM.github/actions/cache-nix/test_cache.py87 print("An error occurred (404): Not Found", file=sys.stderr)CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWservices/postgres/postgres/bin/init.sh72 # Check if postgres process is still runningCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdashboard/public/mockServiceWorker.js137async function handleRequest(event, requestId) {CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ces/postgres/extensions/check-pg-jsonschema-upgrade.py1CODE