AI Slop Code Risk Monitor

hashicorp/consul

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

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for hashicorp/consul, a Go project with 30,097 GitHub stars. SynthScan examined 939,733 lines of code across 8742 source files, recording 1153 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.8 (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.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
30.1K
Stars
Go
Language
939.7K
Lines of Code
8.7K
Files
1.2K
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 4.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 3.3/100 · LOW

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

PR Review Velocity Impact 8.3/100 · LOW

Which changes need focused human review? 1153 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 6HIGH 1MEDIUM 211LOW 935

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 1153 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block891 hits · 853 pts
SeverityFileLineSnippetContext
LOWscan.hcl1# Copyright IBM Corp. 2024, 2026COMMENT
LOW.pre-commit-config.yaml1# Copyright IBM Corp. 2024, 2026COMMENT
LOWtlsutil/config.go81 // We don't support the raw 0xNNNN values fromCOMMENT
LOWtlsutil/config.go101 // servers. This ensures that the certificate presented is valid forCOMMENT
LOWtlsutil/config.go201// Configurator provides tls.Config and net.Dial wrappers to enable TLS forCOMMENT
LOWtlsutil/config.go881// OutgoingTLSConfigForCheck creates a client *tls.Config for executing checks.COMMENT
LOWui/packages/consul-ui/ember-cli-build.js221 build(`vendor/${item.name}/services-debug.js`, {COMMENT
LOWui/packages/consul-ui/blueprints/serializer/index.js21 // afterInstall(options) {COMMENT
LOW…eprints/serializer/files/__root__/__path__/__name__.js21 // bodyCOMMENT
LOWui/packages/consul-ui/blueprints/adapter/index.js21 // afterInstall(options) {COMMENT
LOW…ackages/consul-ui/app/modifiers/fix-modal-body-role.js1/**COMMENT
LOWui/packages/consul-ui/app/modifiers/fix-alert-aria.js1/**COMMENT
LOW…ackages/consul-ui/app/modifiers/fix-code-block-aria.js1/**COMMENT
LOW…consul-ui/app/modifiers/fix-dropdown-separator-aria.js1/**COMMENT
LOW…ages/consul-ui/app/modifiers/fix-toggle-label-order.js1/**COMMENT
LOW…kages/consul-ui/app/modifiers/fix-super-select-aria.js101 // so once the real input exists, demote the trigger to a plainCOMMENT
LOW…kages/consul-ui/app/modifiers/fix-super-select-aria.js161 });COMMENT
LOW…kages/consul-ui/app/instance-initializers/container.js41 // find all the services and add their classes to the container so we canCOMMENT
LOWui/packages/consul-ui/app/utils/form/builder.js121 // is its a child form then use the child formCOMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss1/**COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss21@import './cancel-plain/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss41@import './deny-default/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss61// @import './git-branch/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss81// @import './logo-alicloud-color/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss101// @import './logo-slack-color/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss121// @import './play-outline/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss141// @import './source-file/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss161// @import './visibility-show/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss181// @import './arrow-down/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss201// @import './azure-devops-color/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss221// @import './boundary/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss241// @import './check-diamond-fill/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss261// @import './clock/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss281// @import './corner-left-up/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss301// @import './docs/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss321// @import './facebook-color/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss341// @import './folder-minus/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss361// @import './globe/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss381// @import './help/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss401// @import './learn/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss421// @import './meh/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss441// @import './module/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss461// @import './outline/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss481// @import './plus-circle/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss501// @import './scissors/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss521// @import './sign-out/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss541// @import './star-off/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss561// @import './toggle-right/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss581// @import './user/index.scss';COMMENT
LOW…kages/consul-ui/app/styles/base/icons/icons/index.scss601// @import './wall/index.scss';COMMENT
LOWui/packages/consul-ui/app/serializers/application.js141 })[primaryKey],COMMENT
LOWui/packages/consul-ui/app/controllers/application.js41 // TODO: For the moment e isn't a real eventCOMMENT
LOW…ges/consul-ui/app/services/repository/oidc-provider.js41 // the only places where Consul w/namespaces enabled doesn't return aCOMMENT
LOWui/packages/consul-ui/config/targets.js1/**COMMENT
LOWui/packages/consul-ui/config/targets.js21///COMMENT
LOWui/packages/consul-ui/config/environment.js61 //COMMENT
LOW…/acceptance/breadcrumbs/multi-level-navigation-test.js1/**COMMENT
LOW…sul-ui/tests/acceptance/breadcrumbs/edge-cases-test.js1/**COMMENT
LOWui/packages/consul-ui/tests/helpers/acceptance.js1/**COMMENT
LOW…s/consul-ui/e2e-tests/tests/services/workflows.spec.js21 // 3. Verify initial healthy stateCOMMENT
831 more matches not shown…
Decorative Section Separators186 hits · 630 pts
SeverityFileLineSnippetContext
MEDIUM.pre-commit-config.yaml10# ====================================================================COMMENT
MEDIUMui/packages/consul-ui/app/services/breadcrumbs.js31 // ─── Public API ───────────────────────────────────────────────────────────COMMENT
MEDIUMui/packages/consul-ui/app/services/breadcrumbs.js119 // ─── Private helpers ──────────────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js423 // ─── getBreadcrumbConfig ──────────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js472 // ─── shouldShowBreadcrumbs ────────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js495 // ─── computeBreadcrumbs — basic shape ────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js524 // ─── computeBreadcrumbs — 3-level chain ──────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js541 // ─── computeBreadcrumbs — snapshot (TASK-2) ───────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js571 // ─── Dynamic label resolution ─────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js585 // ─── Every top-level route returns exactly 1 item (TASK-2) ───────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js608 // ─── No undefined labels ──────────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js649 // ─── ACL 2-level chain (TASK-6) ───────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js674 // ─── Instance sub-tab chains ──────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js724 // ─── TASK-2: all parent references resolve to existing routes ─────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js756 // ─── Cycle guard ──────────────────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js775 // ─── Performance (NFR1 — AC9) ─────────────────────────────────────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js788 // ─── C: Dynamic labels — param value, not literal key name ───────────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js841 // ─── G: Create page crumb shape — "Create" label, 2-crumb chain ──────────COMMENT
MEDIUM…ages/consul-ui/tests/unit/services/breadcrumbs-test.js935 // ─── H3: routing-config chain — Services → Routing Config ────────────────COMMENT
MEDIUM…onsul-ui/tests/integration/components/app-view-test.js40 // ─── Baseline ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…onsul-ui/tests/integration/components/app-view-test.js49 // ─── Explicit <:breadcrumbs> block takes precedence ────────────────────────COMMENT
MEDIUM…onsul-ui/tests/integration/components/app-view-test.js66 // ─── Service-driven fallback ──────────────────────────────────────────────COMMENT
MEDIUM…onsul-ui/tests/integration/components/app-view-test.js92 // ─── @showBreadcrumb=false suppresses breadcrumbs ─────────────────────────COMMENT
MEDIUM…onsul-ui/tests/integration/components/app-view-test.js114 // ─── shouldShowBreadcrumbs=false suppresses fallback ──────────────────────COMMENT
MEDIUM…ul-ui/tests/integration/components/breadcrumbs-test.js39 // ─── Rendering ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ul-ui/tests/integration/components/breadcrumbs-test.js66 // ─── Links vs current item ─────────────────────────────────────────────────COMMENT
MEDIUM…ul-ui/tests/integration/components/breadcrumbs-test.js97 // ─── Ancestor links ────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/acceptance/breadcrumbs/crumb-hidden-routes-test.js88 // ── dc.services.instance (show: false) ──────────────────────────────────COMMENT
MEDIUM…sts/acceptance/breadcrumbs/crumb-hidden-routes-test.js116 // ── Settings (show: false) ───────────────────────────────────────────────COMMENT
MEDIUM…ui/tests/acceptance/breadcrumbs/tab-navigation-test.js45 // ── Node: Health Checks → Lock Sessions ─────────────────────────────────COMMENT
MEDIUM…ui/tests/acceptance/breadcrumbs/tab-navigation-test.js108 // ── Service: Topology → Routing ─────────────────────────────────────────COMMENT
MEDIUM…ui/tests/acceptance/breadcrumbs/tab-navigation-test.js141 // ── Service instances: instances tab → health-checks sub-tab ────────────COMMENT
MEDIUM…/acceptance/breadcrumbs/multi-level-navigation-test.js42 // ── 4-level chain: Services → <name> → Instances → Health Checks ────────COMMENT
MEDIUM…/acceptance/breadcrumbs/multi-level-navigation-test.js93 // ── 3-level chain: Auth Methods → <id> → Auth Method ────────────────────COMMENT
MEDIUM…/acceptance/breadcrumbs/multi-level-navigation-test.js147 // ── 3-level chain: Peers → <name> → Imported Services ───────────────────COMMENT
MEDIUM…sul-ui/tests/acceptance/breadcrumbs/edge-cases-test.js45 // ── H2: Service name with slashes ────────────────────────────────────────COMMENT
MEDIUM…sul-ui/tests/acceptance/breadcrumbs/edge-cases-test.js102 // ── H4: DC switch updates ancestor crumb href ────────────────────────────COMMENT
MEDIUM…consul-ui/e2e-tests/tests/admin-partitions/fixtures.js125 // ── Navigation ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…consul-ui/e2e-tests/tests/admin-partitions/fixtures.js139 // ── Form helpers ───────────────────────────────────────────────────────────COMMENT
MEDIUM…consul-ui/e2e-tests/tests/admin-partitions/fixtures.js172 // ── List helpers ───────────────────────────────────────────────────────────COMMENT
MEDIUM…l-ui/e2e-tests/tests/access-controls/roles/fixtures.js135 // ── Navigation ────────────────────────────────────────────────────────────COMMENT
MEDIUM…l-ui/e2e-tests/tests/access-controls/roles/fixtures.js154 // ── Form helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…i/e2e-tests/tests/access-controls/policies/fixtures.js132 // ── Navigation ────────────────────────────────────────────────────────────COMMENT
MEDIUM…i/e2e-tests/tests/access-controls/policies/fixtures.js151 // ── Form helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…-ui/e2e-tests/tests/access-controls/tokens/fixtures.js129 // ── Navigation ────────────────────────────────────────────────────────────COMMENT
MEDIUM…-ui/e2e-tests/tests/access-controls/tokens/fixtures.js146 // ── Form helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js54 // ── Step 1: Instance A — generate token via the UI ─────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js73 // ── Step 2: Instance A — verify Pending state ──────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js84 // ── Step 3: Instance B — establish via the UI ──────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js93 // ── Step 4: Both sides — wait for Active ──────────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js111 // ── Step 5: View peer detail on both sides ─────────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js147 // ── Step 6: Delete from Instance A ─────────────────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js253 // ── Instance B (importer): Imported Services tab ────────────────────────COMMENT
MEDIUM…es/consul-ui/e2e-tests/tests/peering/workflows.spec.js278 // ── Instance A (exporter): Exported Services tab ────────────────────────COMMENT
MEDIUM…packages/consul-ui/e2e-tests/tests/peering/fixtures.js215 // ── Navigation ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…packages/consul-ui/e2e-tests/tests/peering/fixtures.js236 // ── List ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…packages/consul-ui/e2e-tests/tests/peering/fixtures.js284 // ── "Add peer connection" modal ────────────────────────────────────────────COMMENT
MEDIUM…consul-ui/e2e-tests/tests/namespaces/workflows.spec.js72 // ── 1. Create ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡…consul-ui/e2e-tests/tests/namespaces/workflows.spec.js88 // ── 2. Edit ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡…consul-ui/e2e-tests/tests/namespaces/workflows.spec.js98 // ── 3. Verify persistence ────────────────────────────────────────────────COMMENT
126 more matches not shown…
AI Slop Vocabulary21 hits · 63 pts
SeverityFileLineSnippetContext
MEDIUM.release/linux/package/etc/consul.d/consul.hcl65# This cannot be used in conjunction with the legacy -bootstrap flag. This flag requiresCOMMENT
MEDIUMproto-public/buf.gen.yaml40 # Generate cloning clients that can be used in conjunction with github.com/fullstorydev/grpchan/inprocgrpcCOMMENT
MEDIUMinternal/go-sso/oidcauth/auth.go112 // Use CAP's OIDC provider to leverage its built-in support forCOMMENT
MEDIUMagent/dns.go894 // need to be very familiar with our TLS / SNI / mesh gateways to leverage it.COMMENT
MEDIUMagent/leafcert/leafcert_test.go171 // done. TO be more robust against timing, we take the value as theCOMMENT
MEDIUMagent/cache/cache.go329 // once. But be robust against panics.COMMENT
MEDIUMagent/proxycfg/snapshot.go880 // We leverage the test trust domain knowingCOMMENT
MEDIUMagent/consul/server_grpc.go139 // all the Safe variants will utilize the default cloningCOMMENT
MEDIUMagent/structs/connect_ca.go52 // seamless rotation between trust domains thanks to cross-signing.COMMENT
MEDIUMagent/structs/prepared_query.go311 // struct to make it more robust if it becomes significant.COMMENT
MEDIUMagent/structs/structs.go596 // utilize streaming RPCs.COMMENT
MEDIUMagent/structs/structs.go823 // struct to make it more robust if it becomes significant.COMMENT
MEDIUMagent/connect/ca/provider.go171 // cross-signing an external root to provide a seamless rotation. If the CACOMMENT
MEDIUMagent/xds/listeners_ingress.go277 // cases shouldn't be possible as we validate them at input but be robust toCOMMENT
MEDIUMapi/config_entry_gateways_test.go179 // Set namespace and partition to blank so that CE and ent can utilize the same testsCOMMENT
MEDIUMapi/config_entry_gateways_test.go198 // Set namespace and partition to blank so that CE and ent can utilize the same testsCOMMENT
MEDIUMapi/config_entry_gateways_test.go324 // Set namespace to blank so that CE and ent can utilize the same testsCOMMENT
MEDIUMapi/config_entry_gateways_test.go334 // Set namespace to blank so that CE and ent can utilize the same testsCOMMENT
MEDIUMbuild-support/scripts/copywrite-exceptions.sh4# headers and deletes them, then runs the copywrite bot to utilize local subdir configCOMMENT
MEDIUMconnect/tls.go165 // PKI or Consul clusters). This allows for seamless migrations between trustCOMMENT
MEDIUMacl/policy_authorizer_test.go14// Note that many of the policy authorizer tests still live in acl_test.go. These utilize a default policy or layerCOMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALagent/agent_endpoint.go219 return s.agent.baseDeps.MetricsConfig.Handler.DisplayMetrics(resp, req)CODE
CRITICALagent/agent_endpoint.go256 s.agent.baseDeps.MetricsConfig.Handler.Stream(req.Context(), enc)CODE
CRITICALagent/consul/prepared_query_endpoint_test.go3517 conn, err := grpc.DialContext(ctx, es.peeringServer.server.config.RPCAddr.String(),CODE
CRITICALagent/consul/prepared_query_endpoint_test.go3518 grpc.WithContextDialer(newServerDialer(es.peeringServer.server.config.RPCAddr.String())),CODE
CRITICALagent/consul/prepared_query_endpoint_test.go3534 conn, err = grpc.DialContext(ctx, es.server.server.config.RPCAddr.String(),CODE
CRITICALagent/consul/prepared_query_endpoint_test.go3535 grpc.WithContextDialer(newServerDialer(es.server.server.config.RPCAddr.String())),CODE
Fake / Example Data35 hits · 38 pts
SeverityFileLineSnippetContext
LOWinternal/resource/http/http_test.go33const fakeToken = "fake-token"CODE
LOW⚡…ernal/services/peerstream/subscription_manager_test.go1043 Node: &structs.Node{Node: "placeholder", Address: "10.0.0.1"},CODE
LOW⚡…ernal/services/peerstream/subscription_manager_test.go1044 Service: &structs.NodeService{ID: "placeholder-1", Service: "placeholder", Port: 5000},CODE
LOW⚡…ernal/services/peerstream/subscription_manager_test.go1047 backend.ensureService(t, "placeholder", placeholder.Service)CODE
LOWagent/blockingquery/blockingquery_test.go36 requestOpts.On("GetToken").Return("fake-token")CODE
LOWagent/config/runtime_test.go6896 DestinationName: "placeholder",CODE
LOWagent/config/testdata/full-config.json782 "destination_name": "placeholder",CODE
LOWagent/config/testdata/full-config.hcl657 destination_name = "placeholder"CODE
LOWagent/local/state_test.go2442 }, nil, "fake-token-web", false)CODE
LOWagent/local/state_test.go2453 }, nil, "fake-token-web", false)CODE
LOWagent/local/state_test.go2473 }, nil, "fake-token-web", false)CODE
LOWagent/consul/grpc_integration_test.go162 testauth.InstallSessionToken(testSessionID, "fake-token", "default", "demo", "abc123")CODE
LOWagent/consul/grpc_integration_test.go198 BearerToken: "fake-token",CODE
LOWagent/consul/acl_replication_test.go357 testauth.InstallSessionToken(testSessionID, "fake-token", "default", "demo", "abc123")CODE
LOWagent/consul/acl_replication_test.go373 BearerToken: "fake-token",CODE
LOWagent/consul/acl_endpoint_test.go761 testauth.InstallSessionToken(testSessionID, "fake-token", "default", "demo", "abc123")CODE
LOWagent/consul/acl_endpoint_test.go774 BearerToken: "fake-token",CODE
LOWagent/consul/acl_endpoint_test.go806 testauth.InstallSessionToken(testSessionID, "fake-token", "default", "demo", "abc123")CODE
LOWagent/consul/acl_endpoint_test.go818 BearerToken: "fake-token",CODE
LOWagent/structs/config_entry_inference_gateway.go211 InferenceGatewayPIIActionPlaceholder InferenceGatewayPIIAction = "placeholder"CODE
LOWagent/structs/config_entry_test.go2719 default_action = "placeholder"CODE
LOWagent/structs/config_entry_test.go2750 DefaultAction = "placeholder"CODE
LOWagent/structs/config_entry_test.go2779 DefaultAction: "placeholder",CODE
LOWagent/xds/rbac_test.go1246 payloadKey = "dummy-key"CODE
LOWtesting/deployer/sprawl/boot.go498 Name: "placeholder",CODE
LOWtesting/deployer/sprawl/internal/tfgen/agent.go184 // b.add("name", "placeholder")COMMENT
LOWtesting/deployer/sprawl/internal/tfgen/agent.go189 // b.add("name", "placeholder")COMMENT
LOWapi/config_entry_inference_gateway.go124 InferenceGatewayPIIActionPlaceholder InferenceGatewayPIIAction = "placeholder"CODE
LOWcommand/helpers/helpers_test.go3492 default_action = "placeholder"CODE
LOWcommand/helpers/helpers_test.go3535 DefaultAction = "placeholder"CODE
LOWcommand/helpers/helpers_test.go3569 "default_action": "placeholder",CODE
LOWcommand/helpers/helpers_test.go3596 "DefaultAction": "placeholder",CODE
LOWcommand/helpers/helpers_test.go3628 DefaultAction: "placeholder",CODE
LOWcommand/helpers/helpers_test.go3661 DefaultAction: "placeholder",CODE
LOWcommand/login/login_test.go659 "-aws-access-key-id", "fake-key-id",CODE
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOW.release/release-scripts/trigger-promotion.sh7# Usage:COMMENT
LOW.release/release-scripts/prepare-release-branch.sh35# Usage:COMMENT
LOW⚡.release/release-scripts/verify-release-image.sh13# Usage:COMMENT
LOW.github/scripts/check-jira-ids.sh25# Usage:COMMENT
LOW.github/scripts/check-ent-content-markers.sh20# Usage:COMMENT
LOW.github/scripts/check-forbidden-ent-paths.sh10# Usage:COMMENT
LOWconnect/certgen/certgen.go7// Example usage:COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHagent/proxycfg/snapshot.go1168// enforced here. In this approach it lives in the xDS layer (agent/xds/delta.go),COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest/load/packer/consul-ami/scripts/datadog.yaml10## Create a new API key here: https://app.datadoghq.com/account/settingsCOMMENT
MEDIUM.github/workflows/ce-merge-trigger.yml116 # Create the JSON payload using jq for safe escapingCOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMagent/acl_endpoint.go1066 // 3. Along with #2 you can use the ACL.GetPolicy RPC endpoint which will return a rolled upCOMMENT
MEDIUMagent/consul/state/session.go219 // that here, but it's worth noting that we should never do this in theCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWagent/xds/listeners.go1377// NOTE: This method MUST only be used for connect proxy public listeners,COMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWui/packages/consul-ui/app/validations/sometimes.js12 function guardValidatorWithCondition(validator) {CODE