Repository Analysis

1Panel-dev/1Panel

🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.

0.1 Likely human-written View on GitHub
0.1
Adjusted Score
0.1
Raw Score
100%
Time Factor
2026-05-29
Last Push
35,670
Stars
Go
Language
441,678
Lines of Code
1518
Files
26
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 26

Pattern Findings

26 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block18 hits · 18 pts
SeverityFileLineSnippet
LOWcore/cmd/server/main.go21// @description Custom Token Format, Format: md5('1panel' + API-Key + UnixTimestamp).
LOWcore/app/api/v2/setting.go261// @Summary Load system address
LOWfrontend/vite-env.d.ts1/// <reference types="vite/client" />
LOWagent/cmd/server/main.go1package main
LOWagent/cmd/server/main.go21// @description eg:
LOWagent/app/api/v2/database_mysql.go201// @Success 200 {array} dto.MysqlFormatCollationOption
LOWagent/app/api/v2/setting.go141// @Security Timestamp
LOWagent/app/api/v2/agents.go301// @Security ApiKeyAuth
LOWagent/app/api/v2/database_redis.go81// @Tags Database Redis
LOWagent/app/api/v2/device.go221// @Tags Device
LOWagent/app/api/v2/dashboard.go81 return
LOWagent/app/api/v2/dashboard.go181
LOWagent/app/api/v2/container.go81// @Tags Container
LOWagent/app/api/v2/container.go221// @Security ApiKeyAuth
LOWagent/app/api/v2/ftp.go161// @Router /toolbox/ftp/sync [post]
LOWagent/app/api/v2/website.go1081// @Success 200 {object} response.Database
LOWagent/app/api/v2/ssh.go121// @Security ApiKeyAuth
LOWagent/app/api/v2/cronjob.go101// @Tags Cronjob
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippet
LOWfrontend/src/layout/components/Sidebar/index.vue133function buildMenuListFromSettings(hideMenuValue?: string) {
LOWfrontend/src/utils/date.ts87export function dateFormatSimpleWithSecond(dataStr: any) {
LOWfrontend/src/utils/file.ts119export function buildFileShareDownloadUrl(code: string, currentNode: string, password?: string): string {
LOWfrontend/src/utils/monaco.ts37export async function loadMonacoLanguageSupport() {
LOWfrontend/src/utils/xpack.ts121export async function loadMasterProductProFromDB() {
LOWfrontend/src/extensions/xpack.ts72function getEnterpriseSkillsHubModule(): EnterpriseSkillsHubModule | null {
LOWfrontend/src/extensions/xpack.ts80export async function listEnterprisePublishedSkillHub(params: { agentType?: string; keyword?: string }) {
LOW…st/file-management/ai-search/file-ai-search-drawer.vue858function resetAiSearchLimitsToDefaults() {