🔥 1Panel is a modern, open-source Linux server management panel and a lightweight AI management platform.
This report summarizes scanner evidence for 1Panel-dev/1Panel, a Go project with 37,327 GitHub stars. SynthScan examined 605,484 lines of code across 1840 source files, recording 49 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.1 (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? 47 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 14 finding(s).
Which changes need focused human review? 49 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 49 distinct pattern matches across 3 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 | core/cmd/server/main.go | 21 | // @description Signed API Key authentication. Send the signature, never the plaintext API Key, in 1Panel-Token. | COMMENT |
| LOW | core/app/api/v2/setting.go | 121 | // @Security ApiKeyAuth | COMMENT |
| LOW | core/app/api/v2/setting.go | 281 | COMMENT | |
| LOW | core/app/api/v2/setting.go | 321 | // @Summary Load system cert info | COMMENT |
| LOW | core/app/api/v2/api_key.go | 41 | helper.InternalServer(c, err) | COMMENT |
| LOW | core/app/api/v2/api_key.go | 81 | // @Description Omitted expiresAt defaults to 90 days; explicit null means no expiration. Omitted apiKeyValidityTime def | COMMENT |
| LOW | core/app/api/v2/api_key.go | 101 | if err != nil { | COMMENT |
| LOW | core/app/api/v2/api_key.go | 141 | // @Description Success increments the revision; search again before another mutation. Authentication and business error | COMMENT |
| LOW | core/app/api/v2/api_key.go | 161 | apiKeyMutationSuccess(c) | COMMENT |
| LOW | core/app/api/v2/api_key.go | 221 | } | COMMENT |
| LOW | frontend/vite-env.d.ts | 1 | /// <reference types="vite/client" /> | COMMENT |
| LOW | agent/cmd/server/main.go | 1 | package main | COMMENT |
| LOW | agent/cmd/server/main.go | 21 | // @description eg: | COMMENT |
| LOW | agent/app/api/v2/terminal.go | 41 | // @Tags Terminal | COMMENT |
| LOW | agent/app/api/v2/firewall.go | 261 | } | COMMENT |
| LOW | agent/app/api/v2/firewall.go | 281 | if err != nil { | COMMENT |
| LOW | agent/app/api/v2/backup.go | 41 | // @Security Timestamp | COMMENT |
| LOW | agent/app/api/v2/database_mysql.go | 401 | // @Accept json | COMMENT |
| LOW | agent/app/api/v2/setting.go | 41 | COMMENT | |
| LOW | agent/app/api/v2/setting.go | 181 | // @Security Timestamp | COMMENT |
| LOW | agent/app/api/v2/setting.go | 201 | // @Security Timestamp | COMMENT |
| LOW | agent/app/api/v2/device.go | 221 | // @Tags Device | COMMENT |
| LOW | agent/app/api/v2/file.go | 1541 | COMMENT | |
| LOW | agent/app/api/v2/dashboard.go | 81 | return | COMMENT |
| LOW | agent/app/api/v2/dashboard.go | 181 | COMMENT | |
| LOW | agent/app/api/v2/container.go | 81 | // @Tags Container | COMMENT |
| LOW | agent/app/api/v2/container.go | 221 | // @Security ApiKeyAuth | COMMENT |
| LOW | agent/app/api/v2/container.go | 401 | // @Success 200 {object} dto.ResourceLimit | COMMENT |
| LOW | agent/app/api/v2/container.go | 721 | // @Summary List networks | COMMENT |
| LOW | agent/app/api/v2/container.go | 921 | return | COMMENT |
| LOW | agent/app/api/v2/ftp.go | 161 | // @Router /toolbox/ftp/sync [post] | COMMENT |
| LOW | agent/app/api/v2/ssh.go | 121 | // @Summary Sycn host SSH secret | COMMENT |
| LOW | agent/app/api/v2/cronjob.go | 101 | // @Tags Cronjob | COMMENT |
| LOW | agent/app/api/v2/gpu.go | 41 | // @Summary Get CPU options | COMMENT |
| LOW | agent/app/service/nginx_module_runtime.go | 201 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/layout/components/Sidebar/index.vue | 183 | function buildMenuListFromSettings(hideMenuValue?: string) { | CODE |
| LOW | frontend/src/utils/date.ts | 96 | export function dateFormatSimpleWithSecond(dataStr: any) { | CODE |
| LOW | frontend/src/utils/file.ts | 119 | export function buildFileShareDownloadUrl(code: string, currentNode: string, password?: string): string { | CODE |
| LOW | frontend/src/utils/monaco.ts | 92 | export async function loadMonacoLanguageSupport() { | CODE |
| LOW | frontend/src/utils/xpack.ts | 124 | export async function loadMasterProductProFromDB() { | CODE |
| LOW | frontend/src/extensions/xpack.ts | 72 | function getEnterpriseSkillsHubModule(): EnterpriseSkillsHubModule | null { | CODE |
| LOW | frontend/src/extensions/xpack.ts | 80 | export async function listEnterprisePublishedSkillHub(params: { agentType?: string; keyword?: string }) { | CODE |
| LOW | frontend/src/extensions/footer-setting.ts | 15 | function getEnterpriseFooterSettingModuleLoader(): EnterpriseFooterSettingModuleLoader | null { | CODE |
| LOW | frontend/src/extensions/footer-setting.ts | 24 | export async function getEnterpriseFooterSetting(silent = false) { | CODE |
| LOW | …st/file-management/ai-search/file-ai-search-drawer.vue | 854 | function resetAiSearchLimitsToDefaults() { | CODE |
| LOW | …ntend/src/views/setting/alert/setting/drawer/index.vue | 297 | function checkDisplayNameDuplicate(_rule: unknown, value: string, callback: (error?: Error) => void) { | CODE |
| LOW | …ntend/src/views/setting/alert/setting/drawer/index.vue | 327 | function checkSmsDisplayNameDuplicate(_rule: unknown, value: string, callback: (error?: Error) => void) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/openresty-modules/diagnose-install.sh | 233 | except Exception as error: | CODE |
| LOW | scripts/openresty-modules/diagnose-install.sh | 279 | except Exception as error: | CODE |