DoraCMS 是一个基于 EggJS 3.x + Vue 3 + TypeScript 的现代化内容管理系统,采用 pnpm monorepo 架构管理。它不仅仅是一个 CMS 系统,更是一个优秀的企业级应用架构实践。
This report summarizes scanner evidence for doramart/DoraCMS, a JavaScript project with 3,550 GitHub stars. SynthScan examined 264,062 lines of code across 1243 source files, recording 224 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 1.7 (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? 116 finding(s).
Are imports declared and package/API names verified? 69 finding(s).
Are wrappers, guards, and repeated structures necessary? 101 finding(s).
Which changes need focused human review? 224 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 224 distinct pattern matches across 14 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 |
|---|---|---|---|---|
| MEDIUM | docker-quickstart.sh | 4 | # ============================================================================== | COMMENT |
| MEDIUM | docker-quickstart.sh | 7 | # ============================================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 3 | # ============================================================================== | COMMENT |
| MEDIUM | docker-compose.yml | 7 | # ============================================================================== | COMMENT |
| MEDIUM | docker/entrypoint.sh | 4 | # ============================================================================== | COMMENT |
| MEDIUM | docker/entrypoint.sh | 8 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 4 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 10 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 35 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 37 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 179 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 181 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 284 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 286 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 430 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 432 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 473 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/backup-to-init-data.sh | 475 | # ============================================================================== | COMMENT |
| MEDIUM | packages/cli/README.md | 61 | # ================================= | COMMENT |
| MEDIUM | packages/cli/README.md | 63 | # ================================= | COMMENT |
| MEDIUM | packages/cli/src/generators/env-generator.ts | 38 | let content = `# ================================= | CODE |
| MEDIUM | packages/cli/src/generators/env-generator.ts | 40 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 51 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 53 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 57 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 59 | # ================================= | COMMENT |
| MEDIUM | packages/cli/src/generators/env-generator.ts | 103 | # ================================= | COMMENT |
| MEDIUM | packages/cli/src/generators/env-generator.ts | 105 | # ================================= | COMMENT |
| MEDIUM | packages/cli/src/generators/env-generator.ts | 128 | # ================================= | COMMENT |
| MEDIUM | packages/cli/src/generators/env-generator.ts | 130 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 155 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 157 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 165 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 167 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 176 | # ================================= | COMMENT |
| MEDIUM⚡ | packages/cli/src/generators/env-generator.ts | 178 | # ================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | server/app/extend/helper/tags/layout.js | 178 | this.ctx.service.contentCategory.repository.isTopLevelParentId(item.parentId) | CODE |
| CRITICAL | server/app/public/themes/qingyulan/js/jquery.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | server/app/service/templateService.js | 1082 | return await this.ctx.app.cache.cache.redis.ttl(cacheKey); | CODE |
| CRITICAL | server/app/service/templateService.js | 1086 | const item = this.ctx.app.cache.cache.cache.get(cacheKey); | CODE |
| CRITICAL | …gg-ai-assistant/test/integration/ai-config-api.test.js | 162 | assert(response.body.data.config.apiKey.includes('****')); | CODE |
| CRITICAL | …gg-ai-assistant/test/integration/ai-config-api.test.js | 163 | assert(!response.body.data.config.apiKey.includes('test-key')); | CODE |
| CRITICAL | …gg-ai-assistant/test/integration/ai-config-api.test.js | 310 | assert(response.body.data.config.apiKey.includes('****')); | CODE |
| CRITICAL | server/backstage/admin-center/assets/index-B90voC-y.js | 1 | import{be as We,bf as re,d as k,b7 as Ce,b as E,o as h,f as g,h as o,w as y,bb as be,aL as Ae,c as m,bg as ze,N as w,X a | CODE |
| CRITICAL⚡ | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 23 | `}),u=C(()=>2*Math.PI*s.value),c=C(()=>t.type==="dashboard"?.75:1),d=C(()=>`${-1*u.value*(1-c.value)/2}px`),f= | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/app/bootstrap/repository.js | 17 | async function initializeRepositorySystem(app) { | CODE |
| LOW | server/app/bootstrap/repository.js | 56 | async function initializeDatabaseConnections(app, databaseType) { | CODE |
| LOW | server/app/bootstrap/repository.js | 85 | function initializeRepositoryFactory(app) { | CODE |
| LOW | server/app/bootstrap/repository.js | 177 | function getRepositorySystemStatus(app) { | CODE |
| LOW | …r/app/public/themes/qingyulan/js/api-usage-examples.md | 108 | async function loadMoreRecommendArticles() { | CODE |
| LOW | …njucks-template-test/partials/mariadb/debug-panel.html | 2136 | function initializeStateManagement() { | CODE |
| LOW | …njucks-template-test/partials/mongodb/debug-panel.html | 2136 | function initializeStateManagement() { | CODE |
| LOW | …pository/adapters/mariadb/AIUsageLogMariaRepository.js | 21 | function getAIUsageLogMariaRepository(app) { | CODE |
| LOW | …/repository/adapters/mariadb/AIModelMariaRepository.js | 21 | function getAIModelMariaRepository(app) { | CODE |
| LOW | …tory/adapters/mariadb/PromptTemplateMariaRepository.js | 21 | function getPromptTemplateMariaRepository(app) { | CODE |
| LOW | …/repository/adapters/mongodb/AIModelMongoRepository.js | 20 | function createAIModelMongoRepository(app) { | CODE |
| LOW | …pository/adapters/mongodb/AIUsageLogMongoRepository.js | 20 | function createAIUsageLogMongoRepository(app) { | CODE |
| LOW | …tory/adapters/mongodb/PromptTemplateMongoRepository.js | 20 | function createPromptTemplateMongoRepository(app) { | CODE |
| LOW | …g-ai-assistant/app/repository/base/ConnectionLoader.js | 82 | function getMariaDBConnectionInstance(app) { | CODE |
| LOW | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 61 | async function generateTitleWithFallback(ctx, articleContent) { | CODE |
| LOW | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 158 | async function getRecommendedModelsExample(ctx, taskType) { | CODE |
| LOW | packages/cli/src/config/plugins.ts | 119 | export function getPluginRecommendationMessage(projectType: string): string { | CODE |
| LOW | …ter/packages/materials/src/libs/admin-layout/shared.ts | 14 | function createLayoutCssVarsByCssVarsProps(props: LayoutCssVarsProps) { | CODE |
| LOW | client/admin-center/packages/color/src/shared/colord.ts | 65 | export function transformColorWithOpacity(color: AnyColor, alpha: number, bgColor = '#ffffff') { | CODE |
| LOW | …t/admin-center/packages/color/src/palette/recommend.ts | 16 | export function getRecommendedColorPalette(color: string) { | CODE |
| LOW | …t/admin-center/packages/color/src/palette/recommend.ts | 44 | export function getRecommendedPaletteColorByNumber(color: string, number: ColorPaletteNumber) { | CODE |
| LOW | …t/admin-center/packages/color/src/palette/recommend.ts | 57 | export function getRecommendedColorPaletteFamily(color: string) { | CODE |
| LOW | …t/admin-center/packages/color/src/palette/recommend.ts | 114 | function getNearestColorPaletteFamily(color: string, families: ColorPaletteFamily[]) { | CODE |
| LOW | client/admin-center/packages/color/src/palette/antd.ts | 27 | export function getAntDPaletteColorByIndex(color: AnyColor, index: ColorIndex): string { | CODE |
| LOW | client/admin-center/src/plugins/app.ts | 13 | export function setupAppVersionNotification() { | CODE |
| LOW | client/admin-center/src/layouts/context/index.ts | 15 | function setActiveFirstLevelMenuKey(key: string) { | CODE |
| LOW | client/admin-center/src/layouts/context/index.ts | 19 | function getActiveFirstLevelMenuKey() { | CODE |
| LOW | …c/layouts/modules/theme-drawer/modules/layout-mode.vue | 13 | function handleReverseHorizontalMixChange(value: boolean | string | number) { | CODE |
| LOW | …src/layouts/modules/theme-drawer/modules/dark-mode.vue | 26 | function handleColourWeaknessChange(value: boolean) { | CODE |
| LOW | …/admin-center/src/layouts/modules/global-tab/index.vue | 72 | function getContextMenuDisabledKeys(tabId: string) { | CODE |
| LOW | client/admin-center/src/hooks/common/router.ts | 52 | function routerPushByKeyWithMetaQuery(key: RouteKey) { | CODE |
| LOW | client/admin-center/src/service/api/content-message.ts | 5 | export function fetchGetContentMessageList(params?: Api.DocumentManage.ContentMessageSearchParams) { | CODE |
| LOW | client/admin-center/src/service/api/content-message.ts | 14 | export function fetchGetOneContentMessage(id: string) { | CODE |
| LOW | client/admin-center/src/service/api/content.ts | 13 | export function fetchGetContentCategoryList() { | CODE |
| LOW | client/admin-center/src/service/api/content.ts | 118 | export function fetchGetContentCountsByCateId(cateId: string) { | CODE |
| LOW | client/admin-center/src/service/api/mail-template.ts | 14 | export function fetchGetMailTemplateTypeList() { | CODE |
| LOW | …ient/admin-center/src/service/api/system-option-log.ts | 21 | export function deleteAllSystemOptionLogs() { | CODE |
| LOW | client/admin-center/src/views/home/index.vue | 199 | function applyOverviewLocalization() { | CODE |
| LOW | …t/admin-center/src/views/manage/menu/modules/shared.ts | 25 | export function transformLayoutAndPageToComponent(layout: string, page: string) { | CODE |
| LOW | …t/admin-center/src/views/manage/menu/modules/shared.ts | 58 | export function getPathParamFromRoutePath(routePath: string) { | CODE |
| LOW | …r/src/views/manage/menu/modules/menu-operate-modal.vue | 261 | function handleUpdateRoutePathByRouteName() { | CODE |
| LOW | client/admin-center/src/store/modules/app/index.ts | 78 | function updateDocumentTitleByLocale() { | CODE |
| LOW | client/admin-center/src/store/modules/route/shared.ts | 137 | export function getGlobalMenusByAuthRoutes(routes: ElegantConstRoute[]) { | CODE |
| LOW | client/admin-center/src/store/modules/route/shared.ts | 160 | export function updateLocaleOfGlobalMenus(menus: App.Global.Menu[]) { | CODE |
| LOW | client/admin-center/src/store/modules/route/shared.ts | 244 | function recursiveGetIsRouteExistByRouteName(route: ElegantConstRoute, routeName: RouteKey) { | CODE |
| LOW | client/admin-center/src/store/modules/route/shared.ts | 264 | export function getSelectedMenuKeyPathByKey(selectedKey: string, menus: App.Global.Menu[]) { | CODE |
| LOW | client/admin-center/src/store/modules/route/shared.ts | 323 | function transformMenuToBreadcrumb(menu: App.Global.Menu) { | CODE |
| LOW | client/admin-center/src/store/modules/route/shared.ts | 385 | export function transformMenuToSearchMenus(menus: App.Global.Menu[], treeMap: App.Global.Menu[] = []) { | CODE |
| LOW | client/admin-center/src/store/modules/route/index.ts | 92 | function updateGlobalMenusByLocale() { | CODE |
| LOW | client/admin-center/src/store/modules/route/index.ts | 234 | function handleConstantAndAuthRoutes() { | CODE |
| LOW | client/admin-center/src/store/modules/route/index.ts | 276 | function handleUpdateRootRouteRedirect(redirectKey: LastLevelRouteKey) { | CODE |
| LOW | client/admin-center/src/store/modules/route/index.ts | 321 | async function onRouteSwitchWhenLoggedIn() { | CODE |
| LOW | client/admin-center/src/store/modules/route/index.ts | 325 | async function onRouteSwitchWhenNotLoggedIn() { | CODE |
| LOW | client/admin-center/src/store/modules/theme/shared.ts | 181 | export function toggleAuxiliaryColorModes(grayscaleMode = false, colourWeakness = false) { | CODE |
| LOW | client/admin-center/src/store/modules/theme/index.ts | 152 | function setLayoutReverseHorizontalMix(reverse: boolean) { | CODE |
| LOW | client/admin-center/src/router/elegant/transform.ts | 16 | export function transformElegantRoutesToVueRoutes( | CODE |
| LOW | client/admin-center/src/router/elegant/transform.ts | 30 | function transformElegantRouteToVueRoute( | CODE |
| LOW | client/admin-center/src/router/elegant/transform.ts | 76 | function getSingleLevelRouteComponent(component: string) { | CODE |
| LOW | client/admin-center/src/router/guard/route.ts | 178 | function getRouteQueryOfLoginRoute(to: RouteLocationNormalized, routeHome: RouteKey) { | CODE |
| LOW | …e-page/ai-content-publish/src/views/ContentPublish.vue | 617 | async function checkImageGenAvailability() { | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/app/public/themes/qingyulan/js/index.js | 197 | $('.comment-input').focus().attr('placeholder', '回复评论...'); | CODE |
| LOW | server/app/public/themes/qingyulan/js/index.js | 1207 | $textarea.attr('placeholder', '回复 @' + userName + '...'); | CODE |
| LOW | server/app/public/themes/qingyulan/js/index.js | 1229 | $('.comment-input').attr('placeholder', '写下你的评论...'); | CODE |
| LOW | server/app/public/themes/qingyulan/js/tailwindcss.js | 27 | `),v=y.length-1,v>0?(k=a+v,S=w-y[v].length):(k=a,S=s),T=D.comment,a=k,p=k,d=w-S):c===D.slash?(w=o,T=c,p=a,d=o-s,l=w+1):( | CODE |
| LOW | server/config/config.default.js | 322 | recipients: ['admin@example.com'], | CODE |
| LOW | server/config/locale/zh-CN.json | 20 | "placeholder": { | CODE |
| LOW | server/config/locale/zh-CN.json | 46 | "placeholder": { | CODE |
| LOW | server/config/locale/zh-CN.json | 185 | "placeholder": { | CODE |
| LOW | server/config/locale/en-US.json | 20 | "placeholder": { | CODE |
| LOW | server/config/locale/en-US.json | 46 | "placeholder": { | CODE |
| LOW | server/config/locale/en-US.json | 185 | "placeholder": { | CODE |
| LOW | server/backstage/admin-center/assets/index-D5u14KMX.js | 1 | import{_ as Se}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{Y as z,d as q,ag as | CODE |
| LOW | server/backstage/admin-center/assets/index-fqj1XYr9.js | 1 | import{_ as X}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{d as W,ag as j,ah as | CODE |
| LOW | server/backstage/admin-center/assets/index-Bsu3lWCJ.js | 1 | import{_ as ee}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{Y as j,d as q,a as | CODE |
| LOW | server/backstage/admin-center/assets/index-BVOBE7dc.js | 1 | import{_ as te,a as ae}from"./round-plus-CG7Lsaj2.js";import{Y as $,Z as ne,b as B,o as p,e as k,d as O,r as _,a as oe,$ | CODE |
| LOW | server/backstage/admin-center/assets/index-BPmniYcJ.js | 1 | import{Y as F,d as O,r as y,$ as l,a as g,b as c,o as i,f as o,w as u,al as $,c as b,B as L,s as f,v as D,h as n,a7 as Q | CODE |
| LOW | server/backstage/admin-center/assets/index-k6Giviwp.js | 1 | import{_ as se}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{f as le,a as re,d a | CODE |
| LOW | server/backstage/admin-center/assets/index--DrRzcWO.js | 1 | import{_ as oe}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{Y as W,d as Q,ag as | CODE |
| LOW | server/backstage/admin-center/assets/index-DjtkoSPd.js | 1 | import{_ as se}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{Y as R,$ as a,d as | CODE |
| LOW | server/backstage/admin-center/assets/index-BxCSaYKK.js | 1 | import{_ as se}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{e as J,c as ue}from | CODE |
| LOW | server/backstage/admin-center/assets/index-Db90yLgf.js | 1 | import{r as S,a as x,k as me,l as pe,d as L,m as Q,b as R,o as k,e as d,n as ce,p as ee,$ as l,q as fe,c as I,w as a,f a | CODE |
| LOW | server/backstage/admin-center/assets/index-Bz4JKVLq.js | 1 | import{_ as ue}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{Y as N,d as Q,ag as | CODE |
| LOW | server/backstage/admin-center/assets/index-BEEb2JHo.js | 3 | `)}`);return}const u=ke(),m=_.operateType==="edit"?va:_a;await Ca(()=>m(u))&&((i=window.$message)==null||i.success(a("co | CODE |
| LOW | server/backstage/admin-center/assets/index-DNJDCFNV.js | 1 | import{d as K,ag as H,ah as ne,a as ve,$ as t,ar as le,au as Ae,r as G,q as J,av as Fe,i as ze,c as M,o as w,w as l,f as | CODE |
| LOW | server/backstage/admin-center/assets/index-CGBaVgmT.js | 1 | import{_ as oe}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{Y as L,d as q,a as | CODE |
| LOW | server/backstage/admin-center/assets/index-DHXslqFu.js | 1 | import{_ as we}from"./table-header-operation.vue_vue_type_script_setup_true_lang-BzFVOQ3d.js";import{u as Ee,e as ae,d a | CODE |
| LOW | …i-content-publish/assets/js/ContentPublish-3136f8ac.js | 188 | `)),Ut.success(e("publish.success.loadArticle"))}else throw new Error(nt.message||e("common.error.fetchContentFailed"))} | CODE |
| LOW | …e-page/ai-model-manage/assets/js/ModelList-3567e93f.js | 1 | var M=(u,i,p)=>new Promise((V,I)=>{var $=C=>{try{N(p.next(C))}catch(v){I(v)}},T=C=>{try{N(p.throw(C))}catch(v){I(v)}},N= | CODE |
| LOW | …kstage/user-center/assets/js/ArticleEditor-efafb46f.js | 186 | Please use '@${t}' event instead of props`,e}var h$=(t,e)=>{for(const[n,r]of e)t[n]=r;return t};const Fyt=mP({props:{mod | CODE |
| LOW | …rver/backstage/user-center/assets/js/index-0679c806.js | 1 | import{_ as C,u as L}from"./index-236e3983.js";import{g as M,u as T}from"./profile-f41458c2.js";import{E as p,r as F}fro | CODE |
| LOW | …r/backstage/user-center/assets/js/Register-91458bf4.js | 1 | import{aA as z,r as f,X as R,W as q,ag as m,y,z as F,A as C,P as r,H as t,M as w,V as L,G as Z,K as k,L as V}from"./vue- | CODE |
| LOW | …ckstage/user-center/assets/js/ConfirmEmail-208f2c5a.js | 1 | import{r as u,X as k,ag as e,y as d,z as $,A as _,P as a,H as o,M as p,V as x,G as z,K as A,L as B}from"./vue-acf51e33.j | CODE |
| LOW | …rver/backstage/user-center/assets/js/index-f17b354e.js | 1 | import{_ as M,u as Q}from"./index-236e3983.js";import{E as V,v as Y,r as ee}from"./elementPlus-88b5a5ca.js";import{B as | CODE |
| LOW | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 1 | import{g as nt,i as ke,r as x,c as C,u as l,a as _e,b as gt,d as Ae,s as Rt,w as cn,e as ii,f as Ey,o as ch,h as ce,j as | CODE |
| LOW | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 7 | `}else s||(s=window.setTimeout(p,i.config.hoverThreshold))},h=()=>{s&&(clearTimeout(s),s=null)},p=()=>{u.value&& | CODE |
| LOW⚡ | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 18 | `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),r=new RegExp("(?:^"+n+"$)|(?:^"+a+"$)"),s=new RegExp("^"+n+"$"),i | CODE |
| LOW⚡ | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 23 | `}),u=C(()=>2*Math.PI*s.value),c=C(()=>t.type==="dashboard"?.75:1),d=C(()=>`${-1*u.value*(1-c.value)/2}px`),f= | CODE |
| LOW | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 36 | */const yB=function(e,t){if(e&&e.addEventListener){const n=function(o){const a=bB(o);t&&Reflect.apply(t,this,[o,a])};e.a | COMMENT |
| LOW | …ackstage/user-center/assets/js/elementPlus-88b5a5ca.js | 37 | `||c==="\r"){s=u;continue}if(r.includes(c)){const d=s===-1?o:s;i={pattern:a.slice(u+1,d),start:u+1,end:d,prefix:c,prefix | CODE |
| LOW | …ver/backstage/user-center/assets/js/vendor-354b2dae.js | 13 | */Or.exports;(function(u,o){(function(){var i,l="4.17.21",h=200,w="Unsupported core-js use. Try https://npms.io/search? | COMMENT |
| LOW | …rver/backstage/user-center/assets/js/Login-56d58bc5.js | 1 | import{aA as $,r as f,c as R,X as q,ag as a,y as V,z as I,A as n,P as o,H as s,M as l,u as t,L as u,V as j,G as D,K as G | CODE |
| LOW | …rver/backstage/user-center/assets/js/index-0f375eb7.js | 1 | import{aA as y,r as c,X as b,k as V,ag as n,y as $,z as E,P as t,H as l,A as N,M as f,V as I,L as M}from"./vue-acf51e33. | CODE |
| LOW | …ackstage/user-center/assets/js/SetPassword-e3b2e333.js | 1 | import{r as _,X as h,ag as i,y as v,z as P,P as t,A as g,H as n,V as y,L as b,M as V}from"./vue-acf51e33.js";import{_ as | CODE |
| LOW | …ent/remote-page/ai-content-publish/src/i18n/zh-CN.json | 76 | "placeholder": { | CODE |
| LOW | …ent/remote-page/ai-content-publish/src/i18n/en-US.json | 76 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/ko-KR.json | 111 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/ko-KR.json | 140 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/ko-KR.json | 294 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/zh-CN.json | 111 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/zh-CN.json | 140 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/zh-CN.json | 294 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/en-US.json | 111 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/en-US.json | 140 | "placeholder": { | CODE |
| LOW | client/user-center/src/i18n/en-US.json | 294 | "placeholder": { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/app/middleware/apiVersionLogger.js | 21 | COMMENT | |
| LOW | server/app/extend/application.js | 41 | // try { | COMMENT |
| LOW | server/app/extend/helper.js | 801 | // ); | COMMENT |
| LOW | server/app/extend/helper/tags/block.js | 41 | super(ctx, 'foreach'); | COMMENT |
| LOW | server/app/repository/base/BaseMariaRepository.js | 221 | try { | COMMENT |
| LOW | server/app/controller/page/home.js | 381 | // 🔥 优化:直接调用服务层,避免HTTP自调用造成的性能问题 | COMMENT |
| LOW | server/app/controller/api/regUser.js | 341 | }, | COMMENT |
| LOW | server/app/controller/api/regUser.js | 361 | // let userInfo = {}; | COMMENT |
| LOW | server/app/controller/api/contentCategory.js | 21 | { | COMMENT |
| LOW | server/app/controller/api/contentCategory.js | 41 | // defaultTemp.alias | COMMENT |
| LOW | server/app/model/systemConfig.js | 41 | default: Date.now, | COMMENT |
| LOW | server/app/router/manage/v1.js | 261 | // ==================== 缓存管理 ==================== | COMMENT |
| LOW | server/lib/plugin/egg-ai-assistant/app.js | 301 | try { | COMMENT |
| LOW | server/lib/plugin/egg-ai-assistant/app.js | 321 | // app.logger.debug('[egg-ai-assistant] - POST /manage/ai/content/match-category'); | COMMENT |
| LOW | …er/lib/plugin/egg-ai-assistant/app/router/api/v1/ai.js | 321 | * 返回:{ status: 'ok'|'error', message: string, models: { available: number, enabled: number } } | COMMENT |
| LOW | …er/lib/plugin/egg-ai-assistant/app/router/api/v1/ai.js | 341 | // // TODO: 实现使用统计逻辑 | COMMENT |
| LOW | …lugin/egg-ai-assistant/docs/PROMPT_MANAGEMENT_GUIDE.md | 321 | ```javascript | COMMENT |
| LOW | …r/lib/plugin/egg-ai-assistant/docs/AI_ADAPTER_USAGE.md | 301 | const stats = await this.service.aiModelManager.getModelStats(modelId); | COMMENT |
| LOW | …r/lib/plugin/egg-ai-assistant/docs/AI_ADAPTER_USAGE.md | 321 | // byProvider: { openai: {...}, deepseek: {...} } | COMMENT |
| LOW | …/lib/plugin/egg-ai-assistant/docs/CACHE_REFACTORING.md | 141 | await ctx.service.aiContentService.clearCache(); | COMMENT |
| LOW | packages/cli/src/config/plugins.ts | 81 | required: false, | COMMENT |
| LOW | packages/cli/src/generators/env-generator.ts | 101 | REDIS_DB=0 | COMMENT |
| LOW | client/admin-center/src/service/api/menu.ts | 81 | // url: '/systemManage/getAllPages', | COMMENT |
| LOW | client/admin-center/src/service/request/index.ts | 81 | logoutAndCleanup(); | COMMENT |
| LOW | …-center/src/views/_builtin/login/modules/pwd-login.vue | 81 | // interface Account { | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 21 | // }, | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 41 | // } | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 101 | // i18nKey: 'route.document', | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 121 | // name: 'document_naive', | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 141 | // meta: { | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 161 | // }, | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 181 | // title: 'document_project-link', | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 201 | // }, | COMMENT |
| LOW | client/admin-center/src/router/routes/index.ts | 221 | // url: 'https://cn.vuejs.org/' | COMMENT |
| LOW | …nt/remote-page/ai-content-publish/src/utils/request.js | 41 | // 这里可以调用刷新token的接口 | COMMENT |
| LOW | client/user-center/src/utils/request.js | 21 | // 检查token是否过期 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | server/config/config.default.js | 141 | X-API-Key: {your_api_key} | CODE |
| HIGH | server/lib/plugin/egg-ai-assistant/CHANGELOG.md | 161 | export ARK_API_KEY="your_api_key" | CODE |
| HIGH | packages/README.md | 34 | apiKey: 'your-api-key', | CODE |
| HIGH | packages/sdk-js/README.md | 91 | apiKey: 'your-api-key', | CODE |
| HIGH | packages/sdk-js/QUICK_START.md | 122 | apiKey: 'your-api-key', | CODE |
| HIGH | packages/sdk-js/examples/api-key-auth.ts | 10 | apiKey: 'your-api-key', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …te-page/ai-content-publish/assets/js/index-b41b9e78.js | 23 | */const Ol="9.14.4";function Pl(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(_e().__VUE_I18N_FULL_INSTALL__=!0),typ | COMMENT |
| HIGH | …ent/remote-page/ai-content-publish/src/i18n/en-US.json | 44 | "aiFullDesc": "All metadata is automatically generated by AI, including SEO optimization and content quality check | CODE |
| HIGH | …ent/remote-page/ai-content-publish/src/i18n/en-US.json | 97 | "aiGenerated": "Generated by AI", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | server/backstage/admin-center/assets/style-CpW9kUSH.js | 0 | (?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))* | STRING |
| HIGH | …i-content-publish/assets/js/ContentPublish-3136f8ac.js | 0 | (?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))* | STRING |
| HIGH | …kstage/user-center/assets/js/ArticleEditor-efafb46f.js | 0 | (?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))* | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 15 | // Step 1: 使用模型选择器选择最优模型 | COMMENT |
| LOW⚡ | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 23 | // Step 2: 调用 AI 生成标题(带自动重试) | COMMENT |
| LOW | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 36 | // Step 3: 记录使用统计(重要!用于优化模型选择) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 15 | // Step 1: 使用模型选择器选择最优模型 | COMMENT |
| LOW⚡ | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 23 | // Step 2: 调用 AI 生成标题(带自动重试) | COMMENT |
| LOW | …er/lib/plugin/egg-ai-assistant/examples/basic-usage.js | 36 | // Step 3: 记录使用统计(重要!用于优化模型选择) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/backstage/admin-center/assets/style-CpW9kUSH.js | 30 | Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(a)}return e.VERSION | CODE |
| LOW | server/backstage/admin-center/assets/style-CpW9kUSH.js | 80 | 没有配置 fieldName`);var H=r;d&&(H=(function(K,U){var W=Ht(K.split("#"),2),q=W[0],et=W[1],st=[];f5(U,(function(at,k){st.push | CODE |
| LOW | …i-content-publish/assets/js/ContentPublish-3136f8ac.js | 30 | Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(a)}return e.VERSION | CODE |
| LOW | …i-content-publish/assets/js/ContentPublish-3136f8ac.js | 80 | 没有配置 fieldName`);var $=n;p&&($=function(G,H){var W=ue(G.split("#"),2),q=W[0],Q=W[1],gt=[];d5(H,function(pt,O){gt.push(O+ | CODE |
| LOW | …kstage/user-center/assets/js/ArticleEditor-efafb46f.js | 30 | Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(a)}return e.VERSION | CODE |
| LOW | …kstage/user-center/assets/js/ArticleEditor-efafb46f.js | 80 | 没有配置 fieldName`);var R=n;p&&(R=function(U,$){var W=Ht(U.split("#"),2),q=W[0],J=W[1],ut=[];K5($,function(at,k){ut.push(k+ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | client/admin-center/README.en_US.md | 123 | - [PanisAdmin](https://github.com/paynezhuang/panis-admin): Adopting SpringBoot 3, SaToken, MySQL and other frameworks t | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/wait-for-it.sh | 152 | # Check if busybox timeout uses -t flag | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | client/admin-center/packages/hooks/src/use-table.ts | 92 | async function getData() { | CODE |