Deploy real projects from GitHub or your AI coding agent, then keep them running with AI-powered operations.
This report summarizes scanner evidence for labring/sealos, a Go project with 18,388 GitHub stars. SynthScan examined 393,071 lines of code across 2998 source files, recording 1310 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 4.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1253 finding(s).
Are imports declared and package/API names verified? 36 finding(s).
Are wrappers, guards, and repeated structures necessary? 48 finding(s).
Which changes need focused human review? 1310 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1310 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/README.md | 61 | # such as: | COMMENT |
| LOW | frontend/desktop/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | …y/charts/desktop-frontend/desktop-frontend-values.yaml | 1 | # Custom values for desktop frontend helm chart. | COMMENT |
| LOW | …end/desktop/deploy/charts/desktop-frontend/values.yaml | 41 | serviceAccountName: account-controller-manager | COMMENT |
| LOW | frontend/desktop/src/schema/email.ts | 1 | // import { getPasswordStrength } from '@/utils/tools'; | COMMENT |
| LOW | frontend/desktop/src/pages/switchRegion.tsx | 61 | // let workspaceUid: string | undefined; | COMMENT |
| LOW | frontend/desktop/src/pages/switchRegion.tsx | 81 | // const namespaces = nsList?.data?.namespaces || []; | COMMENT |
| LOW | frontend/packages/ui/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | frontend/packages/ui/src/theme/components/index.ts | 21 | }; | COMMENT |
| LOW | lifecycle/.goreleaser.yml | 1 | project_name: sealos | COMMENT |
| LOW | lifecycle/cmd/image-cri-shim/main.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sreg/main.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sreg/cmd/version.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sreg/cmd/root.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/main.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/render.go | 1 | // Copyright © 2023 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/version.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/token.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/standalone.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/control_plane_mode_test.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/control_plane_mode.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/standalone_upgrade.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/archive.go | 1 | // Copyright © 2023 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/static_pod.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/ipvs.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/cert.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/hostname.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealctl/cmd/root.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/lvscare/main.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/lvscare/cmd/version.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/lvscare/cmd/care.go | 1 | // Copyright © 2022 sealos. | COMMENT |
| LOW | lifecycle/cmd/lvscare/cmd/root.go | 1 | // Copyright © 2022 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/main.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/version.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/add.go | 1 | // Copyright © 2022 cuisongliu@qq.com. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/control_plane_mode_test.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/run.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/delete.go | 1 | // Copyright © 2021 Alibaba Group Holding Ltd. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/switch.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/docs.go | 1 | // Copyright © 2022 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/reset.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/control_plane_mode.go | 1 | // Copyright © 2026 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/cert.go | 1 | // Copyright © 2022 cuisongliu@qq.com. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/status.go | 1 | // Copyright © 2022 cuisongliu@qq.com. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/apply.go | 1 | // Copyright © 2022 cuisongliu@qq.com. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/root.go | 1 | // Copyright © 2021 sealos. | COMMENT |
| LOW | …/labring/image-cri-shim/.github/workflows/close-pr.yml | 1 | # Copyright © 2025 sealos. | COMMENT |
| LOW | …com/labring/image-cri-shim/pkg/types/configmap_sync.go | 1 | // Copyright © 2025 sealos. | COMMENT |
| LOW | …abring/image-cri-shim/pkg/types/configmap_sync_test.go | 1 | // Copyright © 2025 sealos. | COMMENT |
| LOW | …/image-cri-shim/pkg/types/testdata/image-cri-shim.yaml | 1 | # Copyright © 2022 sealos. | COMMENT |
| LOW | …mage-cri-shim/pkg/types/testdata/priority-example.yaml | 1 | # Copyright © 2026 sealos. | COMMENT |
| LOW | …mage-cri-shim/pkg/types/testdata/priority-example.yaml | 81 | # 3. registry.example.com (priority 800) | COMMENT |
| LOW | …mage-cri-shim/pkg/types/testdata/priority-example.yaml | 101 | # auth: admin:passw0rd | COMMENT |
| LOW | …ge-cri-shim/pkg/types/testdata/registries/default.yaml | 1 | # Copyright © 2022 sealos. | COMMENT |
| LOW | …abring/image-cri-shim/pkg/server/cri_server_v1_test.go | 1 | // Copyright © 2025 sealos. | COMMENT |
| LOW | …github.com/labring/image-cri-shim/pkg/server/server.go | 1 | // Copyright 2019 Intel Corporation. All Rights Reserved. | COMMENT |
| LOW | …labring/image-cri-shim/pkg/server/test_helpers_test.go | 1 | // Copyright © 2025 sealos. | COMMENT |
| LOW | …ub.com/labring/image-cri-shim/pkg/server/cri_client.go | 1 | // Copyright 2019 Intel Corporation. All Rights Reserved. | COMMENT |
| LOW | …/github.com/labring/image-cri-shim/pkg/server/const.go | 1 | // Copyright © 2022 sealos. | COMMENT |
| LOW | …om/labring/image-cri-shim/pkg/server/benchmark_test.go | 1 | // Copyright © 2025 sealos. | COMMENT |
| 834 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/providers/costcenter/src/pages/api/plan/pay.ts | 48 | // Step 1: Create workspace if needed | COMMENT |
| LOW | frontend/providers/costcenter/src/pages/api/plan/pay.ts | 79 | // Step 2: Create subscription (skip for PAYG) | COMMENT |
| LOW | …staging/src/github.com/labring/image-cri-shim/USAGE.md | 54 | #### Step 1: Download and Install sealos | COMMENT |
| LOW | …staging/src/github.com/labring/image-cri-shim/USAGE.md | 77 | #### Step 2: Create Basic Configuration File | COMMENT |
| LOW | …ocs/quick-start/examples/blog-platform/install-halo.md | 17 | ## Step 1: Deploy PostgreSQL on Sealos | COMMENT |
| LOW | …ocs/quick-start/examples/blog-platform/install-halo.md | 51 | ## Step 2: Deploy Halo on Sealos | COMMENT |
| LOW | …ocs/quick-start/examples/blog-platform/install-halo.md | 122 | ## Step 3: Access Halo via the Public Network | COMMENT |
| LOW | …5.0/docs/quick-start/examples/baas/install-fireboom.md | 23 | ## Step 1: Create a New Application | COMMENT |
| LOW | …5.0/docs/quick-start/examples/baas/install-fireboom.md | 31 | ## Step 2: Application Deployment | COMMENT |
| LOW | …5.0/docs/quick-start/examples/baas/install-fireboom.md | 68 | ## Step 3: Deploy the Application | COMMENT |
| LOW | …5.0/docs/quick-start/examples/baas/install-fireboom.md | 79 | ## Step 4: Access the Application | COMMENT |
| LOW | …5.0/docs/quick-start/examples/baas/install-fireboom.md | 91 | ## Step 5: Configure Fireboom (optional) | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 15 | ### Step 1: First, enter Sealos and open the App Launchpad | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 19 | ### Step 2: Create a New Application | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 26 | ### Step 3: Set Startup Parameters | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 37 | ### Step 4: Set up Storage Volumes | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 44 | ### Step 5: Deploy the Application | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 50 | ### Step 6: Access the Application | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 57 | ### Step 7: Create an Administrator Account | COMMENT |
| LOW⚡ | …rt/examples/dial-testing-system/install-uptime-kuma.md | 65 | ### Step 8: Add Custom Monitoring Items | COMMENT |
| LOW⚡ | …k-start/examples/low-code-platform/install-appsmith.md | 12 | ## Step 1: Step 1: open the App Launchpad application in the [Sealos](https://cloud.sealos.io) desktop environment | COMMENT |
| LOW⚡ | …k-start/examples/low-code-platform/install-appsmith.md | 16 | ## Step 2: create a new application | COMMENT |
| LOW⚡ | …k-start/examples/low-code-platform/install-appsmith.md | 22 | ## Step 3: application deployment | COMMENT |
| LOW | …k-start/examples/low-code-platform/install-appsmith.md | 54 | ## Step 4: deploy the application | COMMENT |
| LOW | …k-start/examples/low-code-platform/install-appsmith.md | 60 | ## Step 5: access the application | COMMENT |
| LOW⚡ | …k-start/examples/low-code-platform/install-pageplug.md | 14 | ## Step 1: Step 1: open the App Launchpad application in the [Sealos](https://cloud.sealos.io) desktop environment | COMMENT |
| LOW⚡ | …k-start/examples/low-code-platform/install-pageplug.md | 18 | ## Step 2: create a new application | COMMENT |
| LOW⚡ | …k-start/examples/low-code-platform/install-pageplug.md | 24 | ## Step 3: application deployment | COMMENT |
| LOW | …k-start/examples/low-code-platform/install-pageplug.md | 56 | ## Step 4: deploy the application | COMMENT |
| LOW | …k-start/examples/low-code-platform/install-pageplug.md | 62 | ## Step 5: access the application | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 12 | ## Step 1: Write your Node.js program | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 63 | ## Step 2: Create a Docker image | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 84 | ## Step 3: Build the Docker image | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 92 | ## Step 4: Push the Docker image | COMMENT |
| LOW⚡ | …amming-languages/Quick installation of Node.js Apps.md | 126 | ## Step 5: Login to Sealos | COMMENT |
| LOW⚡ | …amming-languages/Quick installation of Node.js Apps.md | 132 | ## Step 6: Open the "Database" application | COMMENT |
| LOW⚡ | …amming-languages/Quick installation of Node.js Apps.md | 136 | ## Step 7: Create a database | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 151 | ## Step 8: Configure the database | COMMENT |
| LOW⚡ | …amming-languages/Quick installation of Node.js Apps.md | 179 | ## Step 9: Open the "App Launchpad" application | COMMENT |
| LOW⚡ | …amming-languages/Quick installation of Node.js Apps.md | 183 | ## Step 10: Create a new application | COMMENT |
| LOW⚡ | …amming-languages/Quick installation of Node.js Apps.md | 189 | ## Step 11: Deploy the application | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 207 | ## Step 12: Deploy the application | COMMENT |
| LOW | …amming-languages/Quick installation of Node.js Apps.md | 213 | ## Step 13: Access the application | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 13 | ## Step 1: Write Your Java Program | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 39 | ## Step 2: Create Entity and Repository Classes | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 73 | ## Step 3: Create a Web Controller | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 109 | ## Step 4: Build the Application | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 119 | ## Step 5: Create a Docker Image | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 148 | ## Step 6: Push the Docker Image | COMMENT |
| LOW⚡ | …ogramming-languages/Quick installation of Java Apps.md | 170 | ## Step 7: Log in to Sealos | COMMENT |
| LOW⚡ | …ogramming-languages/Quick installation of Java Apps.md | 176 | ## Step 8: Open the "Database" application | COMMENT |
| LOW⚡ | …ogramming-languages/Quick installation of Java Apps.md | 180 | ## Step 9: Create a database | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 195 | ## Step 10: Configure the database | COMMENT |
| LOW⚡ | …ogramming-languages/Quick installation of Java Apps.md | 223 | ## Step 11: Open the "App Launchpad" application | COMMENT |
| LOW⚡ | …ogramming-languages/Quick installation of Java Apps.md | 227 | ## Step 12: Create a new application | COMMENT |
| LOW⚡ | …ogramming-languages/Quick installation of Java Apps.md | 233 | ## Step 13: Deploy the application | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 251 | ## Step 14: Deploy the application | COMMENT |
| LOW | …ogramming-languages/Quick installation of Java Apps.md | 257 | ## Step 15: Access the application | COMMENT |
| LOW | …ramming-languages/Quick installation of Python Apps.md | 12 | ## Step 1: Write your Python program | COMMENT |
| LOW | …ramming-languages/Quick installation of Python Apps.md | 87 | ## Step 2: Create a Docker image | COMMENT |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | webhooks/admission/cmd/main.go | 47 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | webhooks/admission/cmd/main.go | 146 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | webhooks/admission/cmd/main.go | 189 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | webhooks/stargz/cmd/main.go | 33 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | webhooks/stargz/cmd/main.go | 230 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | webhooks/stargz/cmd/main.go | 250 | // +kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | webhooks/stargz/test/e2e/e2e_test.go | 206 | // +kubebuilder:scaffold:e2e-metrics-webhooks-readiness | COMMENT |
| MEDIUM | webhooks/stargz/test/e2e/e2e_test.go | 260 | // +kubebuilder:scaffold:e2e-webhooks-checks | COMMENT |
| MEDIUM⚡ | webhooks/stargz/config/default/kustomization.yaml | 251 | # targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD. | COMMENT |
| MEDIUM⚡ | webhooks/stargz/config/default/kustomization.yaml | 252 | # +kubebuilder:scaffold:crdkustomizecainjectionns | COMMENT |
| MEDIUM⚡ | webhooks/stargz/config/default/kustomization.yaml | 259 | # targets: # Do not remove or uncomment the following scaffold marker; required to generate code for target CRD. | COMMENT |
| MEDIUM⚡ | webhooks/stargz/config/default/kustomization.yaml | 260 | # +kubebuilder:scaffold:crdkustomizecainjectionname | COMMENT |
| MEDIUM | controllers/app/cmd/main.go | 43 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/app/cmd/main.go | 92 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/app/cmd/main.go | 103 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM⚡ | controllers/app/config/crd/kustomization.yaml | 22 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | controllers/app/config/crd/kustomization.yaml | 30 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | controllers/app/config/crd/kustomization.yaml | 37 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | controllers/app/config/samples/kustomization.yaml | 20 | #+kubebuilder:scaffold:manifestskustomizesamples | COMMENT |
| MEDIUM | controllers/license/cmd/manager/main.go | 55 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/license/cmd/manager/main.go | 153 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/license/cmd/manager/main.go | 199 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM⚡ | controllers/license/config/crd/kustomization.yaml | 20 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | controllers/license/config/crd/kustomization.yaml | 26 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | controllers/license/config/crd/kustomization.yaml | 31 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | controllers/license/config/samples/kustomization.yaml | 18 | #+kubebuilder:scaffold:manifestskustomizesamples | COMMENT |
| MEDIUM | controllers/resources/main.go | 58 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/resources/main.go | 106 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | controllers/user/main.go | 44 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | controllers/user/main.go | 58 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/user/main.go | 317 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | controllers/user/config/crd/kustomization.yaml | 22 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM | controllers/user/config/crd/kustomization.yaml | 35 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM | controllers/user/config/crd/kustomization.yaml | 47 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | …ers/user/config/manager/controller_manager_config.yaml | 31 | # In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/user/deploy/drop/deploy.yaml | 197 | # In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/user/api/v1/webhook_suite_test.go | 32 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | controllers/user/api/v1/webhook_suite_test.go | 92 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/user/api/v1/webhook_suite_test.go | 118 | //+kubebuilder:scaffold:webhook | COMMENT |
| MEDIUM | controllers/user/controllers/suite_test.go | 84 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | …llers/user/controllers/helper/kubeconfig/suite_test.go | 86 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/node/main.go | 46 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/node/main.go | 138 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/node/main.go | 155 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | controllers/account/main.go | 78 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/account/main.go | 534 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | controllers/account/config/crd/kustomization.yaml | 21 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM | controllers/account/config/crd/kustomization.yaml | 34 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM | controllers/account/config/crd/kustomization.yaml | 46 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM⚡ | …rollers/pkg/notification/config/crd/kustomization.yaml | 20 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | …rollers/pkg/notification/config/crd/kustomization.yaml | 26 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | …rollers/pkg/notification/config/crd/kustomization.yaml | 31 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …end/desktop/deploy/charts/desktop-frontend/values.yaml | 48 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …end/desktop/deploy/charts/desktop-frontend/values.yaml | 50 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …end/desktop/deploy/charts/desktop-frontend/values.yaml | 57 | # ============================================================================ | COMMENT |
| MEDIUM | …end/desktop/deploy/charts/desktop-frontend/values.yaml | 102 | # ============================================================================ | COMMENT |
| MEDIUM | …mage-cri-shim/pkg/types/testdata/priority-example.yaml | 95 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …mage-cri-shim/pkg/types/testdata/priority-example.yaml | 97 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …mage-cri-shim/pkg/types/testdata/priority-example.yaml | 117 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …vice/account/deploy/charts/account-service/values.yaml | 85 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …vice/account/deploy/charts/account-service/values.yaml | 87 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …vice/account/deploy/charts/account-service/values.yaml | 94 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sources/deploy/charts/resources-controller/values.yaml | 40 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sources/deploy/charts/resources-controller/values.yaml | 42 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sources/deploy/charts/resources-controller/values.yaml | 49 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sources/deploy/charts/resources-controller/values.yaml | 54 | # ============================================================================ | COMMENT |
| MEDIUM | …sources/deploy/charts/resources-controller/values.yaml | 81 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/account/deploy/charts/account-controller/values.yaml | 39 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/account/deploy/charts/account-controller/values.yaml | 41 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/account/deploy/charts/account-controller/values.yaml | 48 | # ============================================================================ | COMMENT |
| MEDIUM | …s/account/deploy/charts/account-controller/values.yaml | 74 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 147 | "placeholder": "填写手机号码收到的验证码" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 150 | "placeholder": "填写邮箱" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 153 | "placeholder": "填写联系人" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 156 | "placeholder": "填写手机号码" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 163 | "placeholder": "填写地址" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 166 | "placeholder": "填写银行账号" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 169 | "placeholder": "填写开户银行名称" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 172 | "placeholder": "填写传真" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 175 | "placeholder": "填写发票抬头", | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 179 | "placeholder": "填写电话" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 182 | "placeholder": "填写税务登记证号", | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 146 | "placeholder": "Enter verification code" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 149 | "placeholder": "Enter email address" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 152 | "placeholder": "Enter contact person" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 155 | "placeholder": "Enter phone number" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 162 | "placeholder": "Enter address" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 165 | "placeholder": "Enter bank account" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 168 | "placeholder": "Enter bank name" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 171 | "placeholder": "Enter fax number" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 174 | "placeholder": "Enter invoice title", | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 178 | "placeholder": "Enter phone number" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 181 | "placeholder": "Enter tax registration number", | CODE |
| LOW | …desktop/src/__tests__/unit/utils/sessionConfig.test.ts | 54 | providerId: 'user@example.com' | CODE |
| LOW | …desktop/src/__tests__/unit/utils/sessionConfig.test.ts | 85 | email: 'user@example.com', | CODE |
| LOW | …desktop/src/__tests__/unit/utils/sessionConfig.test.ts | 100 | user_email: 'user@example.com' | CODE |
| LOW | …/__tests__/unit/backend/auth/verification-code.test.ts | 185 | id: 'user@example.com', | CODE |
| LOW | …/__tests__/unit/backend/auth/verification-code.test.ts | 194 | { id: 'user@example.com', smsType: 'email_login' }, | CODE |
| LOW | …ts__/unit/backend/auth/verification-rate-limit.test.ts | 60 | expect(key).not.toContain('user@example.com'); | CODE |
| LOW | service/account/dao/admin_read_test.go | 51 | {ProviderType: types.OauthProviderTypeEmail, ProviderID: "user@example.com"}, | CODE |
| LOW | service/account/dao/admin_read_test.go | 56 | if got.Username != "username" || got.Email != "user@example.com" || | CODE |
| LOW⚡ | service/account/dao/admin_read_test.go | 81 | ProviderID: "user@example.com", | CODE |
| LOW⚡ | service/account/dao/admin_read_test.go | 88 | ProviderID: "user@example.com", | CODE |
| LOW⚡ | service/account/dao/admin_read_test.go | 98 | if got[0].ProviderID != "user@example.com" || got[1].ProviderID != "+123456789" { | CODE |
| LOW | …vice/account/helper/user_alert_notification_account.go | 29 | ProviderID string `json:"providerId" bson:"providerId" binding:"required" example:"user@example.com"` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …y/charts/license-frontend/license-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …ts/costcenter-frontend/costcenter-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …y/charts/desktop-frontend/desktop-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …loy/charts/account-service/account-service-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | controllers/app/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM | controllers/license/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM | …arts/license-controller/license-controller-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …/resources-controller/resources-controller-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | controllers/user/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM | …loy/charts/user-controller/user-controller-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …s/job/init/deploy/charts/job-init/job-init-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …eartbeat/deploy/charts/heartbeat/heartbeat-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | controllers/account/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM | …arts/account-controller/account-controller-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …llers/pkg/notification/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/providers/costcenter/src/pages/api/plan/pay.ts | 48 | // Step 1: Create workspace if needed | COMMENT |
| LOW | frontend/providers/costcenter/src/pages/api/plan/pay.ts | 79 | // Step 2: Create subscription (skip for PAYG) | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3330 | // Step 1: Parse and validate event data | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3338 | // Step 2: Check if this is a local event | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3348 | // Step 3: Parse metadata | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3354 | // Step 4: Get workspace subscription and check status | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3382 | // Step 5: Setup notification recipient | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3390 | // Step 6: Handle different billing scenarios | COMMENT |
| LOW | service/account/api/workspace_subscription.go | 3401 | // Step 7: Database operations | COMMENT |
| LOW | service/account/api/workspace_subscription.go | 3485 | // Step 8: Send notification | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 849 | // Step 1: Retrieve the invoice to get metadata | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 855 | // Step 2: Check invoice status before proceeding | COMMENT |
| LOW | service/pkg/pay/stripe.go | 875 | // Step 3: Retrieve the subscription to get the old item ID and other details | COMMENT |
| LOW | service/pkg/pay/stripe.go | 887 | // Step 4: Void the unpaid invoice | COMMENT |
| LOW | service/pkg/pay/stripe.go | 900 | // Step 5: Roll back the subscription to the old price without proration | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 935 | // Step 6: Clear any pending payment intents related to this upgrade | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 940 | // Step 7: Log successful completion | COMMENT |
| LOW | service/pkg/pay/stripe.go | 1238 | // Step 1: Finalize the invoice if it's still in draft status | COMMENT |
| LOW | service/pkg/pay/stripe.go | 1265 | // Step 2: Attempt payment automatically for invoices that haven't been paid yet | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 35 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 64 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 93 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 150 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 204 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 230 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 258 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 288 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 324 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/kube/k8s_test.go | 32 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/pkg/apply/apply_test.go | 106 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/pkg/apply/run_test.go | 49 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/pkg/apply/run_test.go | 118 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/pkg/apply/run_test.go | 145 | // TODO: Add test cases. | COMMENT |
| LOW | service/account/dao/interface_test.go | 769 | // TODO: Add test cases. | COMMENT |
| LOW | service/account/api/subscription_process.go | 330 | //// TODO: implement the actual notification logic | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 178 | // TODO: Add test cases. | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 210 | // TODO: Add test cases. | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 243 | // TODO: Add test cases. | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 272 | // TODO: Add test cases. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/providers/license/src/services/db/mongodb.ts | 26 | export async function connectToLicenseCollection() { | CODE |
| LOW | …nter/src/components/plan/PlanConfirmationModalView.tsx | 735 | export function PlanConfirmationModalView({ | CODE |
| LOW | …ter/src/components/plan/RechargeExpenditureSection.tsx | 10 | export function RechargeExpenditureSection({ | CODE |
| LOW | …r/src/components/invoice/WithSubscriptionOrderList.tsx | 21 | export function WithSubscriptionOrderList({ | CODE |
| LOW | …nd/providers/costcenter/src/service/backend/desktop.ts | 37 | export async function createWorkspaceViaDesktop({ | CODE |
| LOW | …end/providers/costcenter/src/service/backend/region.ts | 46 | export async function makeRegionListAPIClientByHeader(req: NextApiRequest, res: NextApiResponse) { | CODE |
| LOW | frontend/desktop/src/utils/marketing-attribution.ts | 84 | export function clearPersistedMarketingQuery(): void { | CODE |
| LOW | frontend/desktop/src/utils/marketing-attribution.ts | 95 | function readPersistedMarketingQuery(): MarketingQuery { | CODE |
| LOW | frontend/desktop/src/utils/app-visitor-link.ts | 33 | export function clearWebAnalyticsIdentity(): void { | CODE |
| LOW | frontend/desktop/src/utils/brain-analytics.ts | 42 | export function createBrainAnalyticsRelay(options: { | CODE |
| LOW | frontend/desktop/src/utils/brain-analytics.ts | 133 | export function brainAnalyticsAttribution(storage: Pick<Storage, 'getItem'>): AnalyticsProperties { | CODE |
| LOW | frontend/desktop/src/utils/switchKubeconfigNamespace.ts | 3 | export function switchKubeconfigNamespace(kc: string, namespace: string) { | CODE |
| LOW | …/src/components/desktop_content/GlobalNotification.tsx | 11 | function GlobalNotificationComponent() { | CODE |
| LOW | …/src/components/desktop_content/GlobalAnnouncement.tsx | 14 | function GlobalAnnouncementComponent() { | CODE |
| LOW | …ntend/desktop/src/components/account/RealNameModal.tsx | 62 | export function useRealNameAuthNotification(props?: UseToastOptions) { | CODE |
| LOW | …top/src/pages/api/account/refreshRealNameQRecodeUri.ts | 172 | async function generateRealNameQRcodeUri( | CODE |
| LOW | …top/src/pages/api/account/generateRealNameQRcodeUri.ts | 182 | async function generateRealNameQRcodeUri( | CODE |
| LOW | frontend/desktop/src/services/backend/globalAuth.ts | 78 | async function checkDeductionBalanceAndCreateTasks(userUid: string) { | CODE |
| LOW | …/desktop/src/services/backend/db/verificationTicket.ts | 37 | export async function createVerificationFlowTicket({ | CODE |
| LOW | …/desktop/src/services/backend/db/verificationTicket.ts | 63 | export async function getVerificationFlowTicket(selector: TicketSelector) { | CODE |
| LOW | …/desktop/src/services/backend/db/verificationTicket.ts | 68 | export async function consumeVerificationFlowTicket(selector: TicketSelector) { | CODE |
| LOW | frontend/packages/driver/src/popover.tsx | 352 | function calculateLeftForTopBottom( | CODE |
| LOW | frontend/packages/driver/src/overlay.ts | 178 | function generateStageSvgPathString(stage: StageDefinition) { | CODE |
| LOW | …packages/shared/src-server/config/client-app-config.ts | 28 | export function isServerMisconfiguredError(error: unknown): error is ServerMisconfiguredError { | CODE |
| LOW | …nsufficientQuotaDialog/InsufficientQuotaDialogView.tsx | 36 | export function InsufficientQuotaDialogView({ | CODE |
| LOW | …nsufficientQuotaDialog/InsufficientQuotaDialogView.tsx | 23 | export function InsufficientQuotaDialogView({ | CODE |
| LOW | …ontend/packages/shared/src/hooks/useClientAppConfig.ts | 55 | export function setupClientAppConfigDefaults( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rs/costcenter/deploy/costcenter-frontend-entrypoint.sh | 27 | # Check if Deployment selector matches expected Helm labels | COMMENT |
| LOW | scripts/detect-build-modules.sh | 127 | # Check if module exists in array | COMMENT |
| LOW | scripts/detect-build-modules.sh | 132 | # Check if module exists in array | COMMENT |
| LOW | scripts/detect-build-modules.sh | 151 | # Check if any files in the module directory have changed | COMMENT |
| LOW | scripts/detect-build-modules.sh | 188 | # Check if this dependency matches the target module | COMMENT |
| LOW | scripts/detect-build-modules.sh | 343 | # Check if any dependency has changes | COMMENT |
| LOW | scripts/detect-build-modules.sh | 353 | # Check if the dependency module has changes | COMMENT |
| LOW | .github/workflows/frontends.yml | 104 | # Check if we need to build all modules | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/archived/5.0/docs/user-guide/ai-proxy/ai-proxy.md | 59 | const apiKey = 'your-api-key' | CODE |
| HIGH | …hived/5.0/i18n/zh-Hans/user-guide/ai-proxy/ai-proxy.md | 59 | const apiKey = 'your-api-key' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lifecycle/cmd/sealos/cmd/cert.go | 49 | 2. edit .kube/config, set the apiserver address as 39.105.169.253, (don't forget to open the security group port for | CODE |
| MEDIUM | …count/config/crd/bases/account.sealos.io_accounts.yaml | 60 | description: 'ActivityBonus: for demonstration purposes only and does | CODE |
| MEDIUM | controllers/account/api/v1/account_types.go | 98 | // ActivityBonus: for demonstration purposes only and does not participate in calculation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/install.sh | 19 | # Usage: | COMMENT |
| LOW | scripts/cloud/install-v2.sh | 5 | # Usage: | COMMENT |
| LOW | …ollers/account/controllers/utils/subscription_cache.go | 177 | // Example usage | COMMENT |
| LOW | controllers/pkg/utils/logger/feishu.go | 16 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lifecycle/docker/sreg/scripts/sreg-storage.sh | 241 | except Exception as e: | CODE |
| MEDIUM | lifecycle/docker/sreg/scripts/sreg-storage.sh | 242 | print(f"Error: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | controllers/pkg/pay/stripe.go | 93 | // RefundPayment processes a refund request with robust validation and error handling | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ntime/kubernetes/standalone/testdata/membership-e2e.py | 35 | CODE |