Deploy real projects from GitHub or your AI coding agent, then keep them running with AI-powered operations.
This report presents the forensic synthetic code analysis of labring/sealos, a TypeScript project with 18,311 GitHub stars. SynthScan v2.0 examined 485,000 lines of code across 3851 source files, recording 1353 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1353 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/providers/objectstorage/src/consts.ts | 141 | // "resultType": "vector", | COMMENT |
| LOW | frontend/providers/objectstorage/src/consts.ts | 161 | // "instance": "minio.minio-system.svc.cluster.local:80", | COMMENT |
| LOW | frontend/providers/terminal/src/service/kubernetes.ts | 81 | try { | 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 | 41 | }); | COMMENT |
| LOW | frontend/desktop/src/pages/switchRegion.tsx | 61 | // if (!!curToken) { | COMMENT |
| LOW | frontend/desktop/src/pages/switchRegion.tsx | 81 | // return; | 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/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/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/docs.go | 1 | // Copyright © 2022 sealos. | COMMENT |
| LOW | lifecycle/cmd/sealos/cmd/reset.go | 1 | // Copyright © 2021 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 |
| LOW | …/labring/image-cri-shim/pkg/server/integration_test.go | 1 | // Copyright © 2025 sealos. | COMMENT |
| LOW | …com/labring/image-cri-shim/pkg/server/cri_server_v1.go | 81 | } | COMMENT |
| LOW | …src/github.com/labring/image-cri-shim/pkg/shim/shim.go | 1 | // Copyright 2019 Intel Corporation. All Rights Reserved. | COMMENT |
| LOW | …/staging/src/github.com/labring/lvscare/care/runner.go | 1 | // Copyright © 2022 sealos. | COMMENT |
| 814 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 | 184 | //+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/objectstorage/main.go | 32 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | controllers/objectstorage/main.go | 45 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/objectstorage/main.go | 91 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/objectstorage/main.go | 116 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM⚡ | controllers/objectstorage/config/crd/kustomization.yaml | 21 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | controllers/objectstorage/config/crd/kustomization.yaml | 28 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | controllers/objectstorage/config/crd/kustomization.yaml | 34 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | controllers/objectstorage/controllers/suite_test.go | 31 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | controllers/objectstorage/controllers/suite_test.go | 68 | //+kubebuilder:scaffold:scheme | 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 | 51 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/license/cmd/manager/main.go | 145 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/license/cmd/manager/main.go | 187 | //+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/license/internal/controller/suite_test.go | 70 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/resources/main.go | 54 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/resources/main.go | 98 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | controllers/resources/controllers/suite_test.go | 65 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/terminal/main.go | 52 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/terminal/main.go | 108 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/terminal/main.go | 144 | //+kubebuilder:scaffold:builder | COMMENT |
| MEDIUM⚡ | controllers/terminal/config/crd/kustomization.yaml | 20 | #+kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | controllers/terminal/config/crd/kustomization.yaml | 26 | #+kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | controllers/terminal/config/crd/kustomization.yaml | 31 | #+kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | …terminal/config/manager/controller_manager_config.yaml | 31 | # In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/terminal/controllers/suite_test.go | 71 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/user/main.go | 43 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | controllers/user/main.go | 57 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/user/main.go | 201 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | controllers/user/main.go | 272 | //+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 | 31 | //+kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | controllers/user/api/v1/webhook_suite_test.go | 90 | //+kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | controllers/user/api/v1/webhook_suite_test.go | 111 | //+kubebuilder:scaffold:webhook | COMMENT |
| MEDIUM | controllers/user/controllers/suite_test.go | 84 | //+kubebuilder:scaffold:scheme | COMMENT |
| 14 more matches not shown… | ||||
| 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 | 101 | # ============================================================================ | 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 | 82 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …vice/account/deploy/charts/account-service/values.yaml | 84 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …vice/account/deploy/charts/account-service/values.yaml | 91 | # ============================================================================ | 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 | 37 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/account/deploy/charts/account-controller/values.yaml | 39 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/account/deploy/charts/account-controller/values.yaml | 46 | # ============================================================================ | COMMENT |
| MEDIUM | …s/account/deploy/charts/account-controller/values.yaml | 67 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ctstorage-frontend/object-storage-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …y/charts/license-frontend/license-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …charts/template-frontend/template-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …charts/terminal-frontend/terminal-frontend-values.yaml | 2 | # This file contains user-customizable configurations. | COMMENT |
| MEDIUM | …ts/dbprovider-frontend/dbprovider-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 | …pplaunchpad-frontend/applaunchpad-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 | …trollers/objectstorage/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | 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/terminal/config/crd/kustomizeconfig.yaml | 15 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | 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 | …ontend/providers/objectstorage/src/utils/isRealName.ts | 25 | export async function checkSealosUserIsRealName(token: string): Promise<boolean> { | CODE |
| LOW | frontend/providers/license/src/services/db/mongodb.ts | 26 | export async function connectToLicenseCollection() { | CODE |
| LOW | …viders/template/__tests__/instance-pvc-cleanup.test.ts | 80 | function expectStatefulSetModeLogged( | CODE |
| LOW | frontend/providers/template/src/utils/template.ts | 12 | export function filterConfiguredCategorySlugs( | CODE |
| LOW | frontend/providers/template/src/utils/common.ts | 137 | export function injectTemplateDeployLabels(resource: any, instanceName: string): void { | CODE |
| LOW | …viders/template/src/utils/templateInstanceRendering.ts | 19 | function isTemplateInstanceResource(resource: K8sResource): boolean { | CODE |
| LOW | …viders/template/src/utils/templateInstanceRendering.ts | 23 | function applyInstanceNameToYamlList(yamlList: string[], instanceName: string): string[] { | CODE |
| LOW | …viders/template/src/utils/templateInstanceRendering.ts | 53 | export function renderTemplateInstanceYamls(input: { | CODE |
| LOW | …/providers/template/src/pages/api/getTemplateSource.ts | 220 | async function fetchReadmeContentWithRetry(url: string): Promise<string> { | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 75 | export function isInstanceOwnerReferencesReady(instance: TemplateInstanceType): boolean { | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 96 | export async function deleteOwnerReferencedInstance( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 117 | export async function legacyDeletePersistentVolumeClaimsOnly( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 132 | async function listStatefulSetsByInstance( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 150 | async function deletePersistentVolumeClaimsBySelector( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 180 | async function deletePersistentVolumeClaimByName( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 202 | function inferStatefulSetPvcCleanupMode( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 221 | export async function deleteInstancePersistentVolumeClaims( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 331 | async function listObjectStorageBucketsByInstance( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 368 | async function listCertificatesByInstance( | CODE |
| LOW | …viders/template/src/services/backend/instanceDelete.ts | 388 | async function listHorizontalPodAutoscalersByInstance( | CODE |
| LOW | …/providers/template/src/services/backend/operations.ts | 312 | export async function getPersistentVolumeClaims( | CODE |
| LOW | …/providers/template/src/services/backend/operations.ts | 584 | export async function deletePersistentVolumeClaim( | CODE |
| LOW | …/providers/template/src/services/backend/operations.ts | 596 | export async function deleteHorizontalPodAutoscaler( | CODE |
| LOW | …/providers/template/src/services/backend/operations.ts | 786 | export async function legacyDeletePersistentVolumeClaimsByAppLabel( | CODE |
| LOW | …e/src/services/backend/instanceOwnerReferencesApply.ts | 42 | export function generateInstanceOwnerReference(instanceName: string, uid: string) { | CODE |
| LOW | …e/src/services/backend/instanceOwnerReferencesApply.ts | 81 | function shouldInjectOwnerReferences(obj: AnyK8sObject): boolean { | CODE |
| LOW | …e/src/services/backend/instanceOwnerReferencesApply.ts | 105 | function addOrReplaceOwnerReference(existing: any[] | undefined, instanceOwnerRef: any): any[] { | CODE |
| LOW | …e/src/services/backend/instanceOwnerReferencesApply.ts | 156 | export async function applyWithInstanceOwnerReferences( | CODE |
| LOW | frontend/providers/dbprovider/src/pages/api/createDB.ts | 271 | export async function updateTerminationPolicyApi({ | CODE |
| LOW | …roviders/dbprovider/src/services/backend/db-version.ts | 52 | export function parseComponentVersionsWithLabels( | CODE |
| LOW | …roviders/dbprovider/src/services/backend/db-version.ts | 96 | export async function fetchAllDatabaseVersionsWithLabels(): Promise< | CODE |
| LOW | …ers/dbprovider/src/services/backend/database-config.ts | 106 | export function extractParameterConfigFromConfiguration(configuration: any, dbType: string) { | CODE |
| LOW | …ers/dbprovider/src/services/backend/database-config.ts | 174 | export function getEffectiveParameterConfig({ | 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 | …end/providers/applaunchpad/src/types/request_schema.ts | 509 | export function transformFromLegacySchema( | CODE |
| LOW | …iders/applaunchpad/src/types/v2alpha/request_schema.ts | 58 | function formatUptimeFromCreateTime(createTime?: string): string { | CODE |
| LOW | …iders/applaunchpad/src/types/v2alpha/request_schema.ts | 520 | export function transformFromLegacySchema( | CODE |
| LOW | frontend/providers/applaunchpad/src/utils/timeRange.ts | 92 | export function getBoundedDayRangeInTimeZone( | 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 | 74 | 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 |
|---|---|---|---|---|
| HIGH⚡ | …oviders/dbprovider/src/pages/api/migrate/createDump.ts | 205 | elif [ "$IMPORT_FORMAT" = "csv" ]; then | CODE |
| HIGH⚡ | …oviders/dbprovider/src/pages/api/migrate/createDump.ts | 209 | elif [ "$DB_TYPE" = "postgresql" ]; then | CODE |
| HIGH⚡ | …oviders/dbprovider/src/pages/api/migrate/createDump.ts | 218 | elif [ "$IMPORT_FORMAT" = "csv" ]; then | CODE |
| HIGH⚡ | …oviders/dbprovider/src/pages/api/migrate/createDump.ts | 222 | elif [ "$DB_TYPE" = "mongodb" ]; then | CODE |
| HIGH⚡ | …oviders/dbprovider/src/pages/api/migrate/createDump.ts | 226 | elif [ "$IMPORT_FORMAT" = "bson" ]; then | CODE |
| HIGH⚡ | …oviders/dbprovider/src/pages/api/migrate/createDump.ts | 228 | elif [ "$IMPORT_FORMAT" = "csv" ]; then | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 143 | "placeholder": "填写手机号码收到的验证码" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 146 | "placeholder": "填写邮箱" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 149 | "placeholder": "填写联系人" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 152 | "placeholder": "填写手机号码" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 159 | "placeholder": "填写地址" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 162 | "placeholder": "填写银行账号" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 165 | "placeholder": "填写开户银行名称" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 168 | "placeholder": "填写传真" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 171 | "placeholder": "填写发票抬头", | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 175 | "placeholder": "填写电话" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/zh/common.json | 178 | "placeholder": "填写税务登记证号", | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 142 | "placeholder": "Enter verification code" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 145 | "placeholder": "Enter email address" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 148 | "placeholder": "Enter contact person" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 151 | "placeholder": "Enter phone number" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 158 | "placeholder": "Enter address" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 161 | "placeholder": "Enter bank account" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 164 | "placeholder": "Enter bank name" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 167 | "placeholder": "Enter fax number" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 170 | "placeholder": "Enter invoice title", | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 174 | "placeholder": "Enter phone number" | CODE |
| LOW⚡ | …end/providers/costcenter/public/locales/en/common.json | 177 | "placeholder": "Enter tax registration number", | CODE |
| LOW | …__/unit/pages/api/platform/authDomainChallenge.test.ts | 159 | expect(sanitizeChallengeDomain('user@example.com')).toBeNull(); | 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 | …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 |
|---|---|---|---|---|
| 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 | 3312 | // Step 1: Parse and validate event data | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3320 | // Step 2: Check if this is a local event | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3330 | // Step 3: Parse metadata | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3336 | // Step 4: Get workspace subscription and check status | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3364 | // Step 5: Setup notification recipient | COMMENT |
| LOW⚡ | service/account/api/workspace_subscription.go | 3372 | // Step 6: Handle different billing scenarios | COMMENT |
| LOW | service/account/api/workspace_subscription.go | 3383 | // Step 7: Database operations | COMMENT |
| LOW | service/account/api/workspace_subscription.go | 3467 | // Step 8: Send notification | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 843 | // Step 1: Retrieve the invoice to get metadata | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 849 | // Step 2: Check invoice status before proceeding | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 929 | // Step 6: Clear any pending payment intents related to this upgrade | COMMENT |
| LOW⚡ | service/pkg/pay/stripe.go | 934 | // Step 7: Log successful completion | COMMENT |
| LOW | service/pkg/pay/stripe.go | 869 | // Step 3: Retrieve the subscription to get the old item ID and other details | COMMENT |
| LOW | service/pkg/pay/stripe.go | 881 | // Step 4: Void the unpaid invoice | COMMENT |
| LOW | service/pkg/pay/stripe.go | 894 | // Step 5: Roll back the subscription to the old price without proration | COMMENT |
| LOW | service/pkg/pay/stripe.go | 1232 | // Step 1: Finalize the invoice if it's still in draft status | COMMENT |
| LOW | service/pkg/pay/stripe.go | 1259 | // 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 | 36 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 65 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 94 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 151 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 205 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 231 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 259 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 289 | // TODO: Add test cases. | COMMENT |
| LOW | lifecycle/test/e2e/testhelper/cmd/sealosCmdOpts_test.go | 325 | // 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 | 739 | // 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 | 142 | // TODO: Add test cases. | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 174 | // TODO: Add test cases. | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 207 | // TODO: Add test cases. | COMMENT |
| LOW | controllers/pkg/database/mongo/account_test.go | 236 | // TODO: Add test cases. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …end/providers/template/src/types/apis/v2alpha/index.ts | 559 | ' "OPENAI_API_KEY": "<your-api-key>",\n' + | CODE |
| 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 | …rs/costcenter/deploy/costcenter-frontend-entrypoint.sh | 27 | # Check if Deployment selector matches expected Helm labels | COMMENT |
| LOW | scripts/detect-build-modules.sh | 132 | # Check if module exists in array | COMMENT |
| LOW | scripts/detect-build-modules.sh | 137 | # Check if module exists in array | COMMENT |
| LOW | scripts/detect-build-modules.sh | 156 | # Check if any files in the module directory have changed | COMMENT |
| LOW | scripts/detect-build-modules.sh | 193 | # Check if this dependency matches the target module | COMMENT |
| LOW | scripts/detect-build-modules.sh | 348 | # Check if any dependency has changes | COMMENT |
| LOW | scripts/detect-build-modules.sh | 358 | # Check if the dependency module has changes | COMMENT |
| LOW | .github/workflows/frontends.yml | 106 | # Check if we need to build all modules | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | frontend/providers/template/src/pages/_app.tsx | 235 | customScripts = config.template.ui.meta.customScripts.map( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lifecycle/cmd/sealos/cmd/cert.go | 51 | 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 |