AI Slop Code Risk Monitor

gz-yami/mall4j

SlopCodeMonitor badge for gz-yami/mall4j Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

⭐️⭐️⭐️ 电商商城 小程序电商商城系统 PC商城 H5商城 APP商城 Java商城 O2O商城 跨境商城

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gz-yami/mall4j, a JavaScript project with 5,312 GitHub stars. SynthScan examined 101,691 lines of code across 866 source files, recording 29 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
5.3K
Stars
JavaScript
Language
101.7K
Lines of Code
866
Files
29
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 0.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 12 finding(s).

Hallucinated Dependency & Supply Chain Risk 9.1/100 · LOW

Are imports declared and package/API names verified? 17 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1 finding(s).

PR Review Velocity Impact 7.1/100 · LOW

Which changes need focused human review? 29 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 13HIGH 0MEDIUM 2LOW 14

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 29 distinct pattern matches across 5 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.

Hallucination Indicators13 hits · 190 pts
SeverityFileLineSnippetContext
CRITICAL⚡db/yami_shop.sql4699(831,'admin','删除菜单','com.yami.shop.sys.controller.SysMenuController.delete()','168',8,'127.0.0.1','2019-06-26 14:04:22')CODE
CRITICAL⚡db/yami_shop.sql4700(832,'admin','删除菜单','com.yami.shop.sys.controller.SysMenuController.delete()','229',1,'127.0.0.1','2019-06-26 14:31:31')CODE
CRITICAL⚡db/yami_shop.sql4701(833,'admin','删除菜单','com.yami.shop.sys.controller.SysMenuController.delete()','231',6,'127.0.0.1','2019-06-26 14:31:37')CODE
CRITICAL⚡db/yami_shop.sql4702(834,'admin','删除菜单','com.yami.shop.sys.controller.SysMenuController.delete()','232',8,'127.0.0.1','2019-06-26 14:31:38')CODE
CRITICAL⚡db/yami_shop.sql4703(835,'admin','删除菜单','com.yami.shop.sys.controller.SysMenuController.delete()','233',25,'127.0.0.1','2019-06-26 14:31:42'CODE
CRITICAL⚡db/yami_shop.sql4704(836,'admin','删除菜单','com.yami.shop.sys.controller.SysMenuController.delete()','229',6,'127.0.0.1','2019-06-26 14:31:46')CODE
CRITICAL⚡db/yami_shop.sql4705(837,'admin','删除分类','com.yami.shop.admin.controller.CategoryController.delete()','92',536,'127.0.0.1','2019-07-01 11:14:CODE
CRITICAL⚡db/yami_shop.sql4706(838,'admin','保存角色','com.yami.shop.sys.controller.SysRoleController.save()','{\"roleId\":1,\"roleName\":\"管理员\",\"remarkCODE
CRITICAL⚡db/yami_shop.sql4707(839,'admin','保存配置','com.yami.shop.sys.controller.SysConfigController.save()','{\"id\":1,\"paramKey\":\"测试\",\"paramValuCODE
CRITICAL⚡db/yami_shop.sql4708(840,'admin','删除配置','com.yami.shop.sys.controller.SysConfigController.delete()','[1]',18,'127.0.0.1','2019-07-03 08:58:2CODE
CRITICAL⚡db/yami_shop.sql4709(841,'admin','新增公告管理','com.yami.shop.admin.controller.NoticeController.save()','{\"id\":4,\"shopId\":1,\"title\":\"测试\",CODE
CRITICAL⚡db/yami_shop.sql4710(842,'admin','删除公告管理','com.yami.shop.admin.controller.NoticeController.removeById()','4',37,'127.0.0.1','2019-07-03 20:0CODE
CRITICAL…va/com/yami/shop/api/listener/SubmitOrderListener.java190 com.yami.shop.bean.model.Order order = new com.yami.shop.bean.model.Order();CODE
Over-Commented Block9 hits · 9 pts
SeverityFileLineSnippetContext
LOW…main/java/com/yami/shop/admin/config/XxlJobConfig.java41 private String logPath;COMMENT
LOW…main/java/com/yami/shop/admin/config/XxlJobConfig.java61// xxlJobSpringExecutor.setPort(port + 1000);COMMENT
LOWfront-end/mall4m/app.js1//app.jsCOMMENT
LOW…lic/static/js/tinymce/js/tinymce/jquery.tinymce.min.js21// Load TinyMCE on demand, if we need toCOMMENT
LOW…lic/static/js/tinymce/js/tinymce/jquery.tinymce.min.js41m.each(o.plugins.split(","),function(e,t){t&&(n("plugins/"+t+"/plugin"+r+".js"),n("plugins/"+t+"/langs/"+i+".js"))})},enCOMMENT
LOW…lic/static/js/tinymce/js/tinymce/jquery.tinymce.min.js61// need to have the full editors array used in the onInit callsCOMMENT
LOW…mce/js/tinymce/plugins/emoticons/js/emojiimages.min.js1// Source: npm package: emojilibCOMMENT
LOW…/com/yami/shop/api/controller/PayNoticeController.java21@HiddenCOMMENT
LOW…/com/yami/shop/api/controller/PayNoticeController.java41//COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM⚡…l4v/public/static/js/tinymce/js/tinymce/tinymce.min.js9!function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"obCODE
MEDIUM⚡…l4v/public/static/js/tinymce/js/tinymce/tinymce.min.js9!function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"obCODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWfront-end/mall4uni/src/pages/index/index.vue13 <text class="placeholder">CODE
LOW⚡…l4v/public/static/js/tinymce/js/tinymce/tinymce.min.js9!function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"obCODE
LOW…tatic/js/tinymce/js/tinymce/themes/silver/theme.min.js9!function(){"use strict";function t(o){return function(t){return e=typeof(n=t),(null===n?"null":"object"==e&&(Array.protCODE
LOW…tatic/js/tinymce/js/tinymce/themes/mobile/theme.min.js9!function(){"use strict";var y=function(){return(y=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)fCODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWfront-end/mall4m/miniprogram_npm/crypto-js/index.js4737 function generateKeystreamAndEncrypt(words, offset, blockSize, cipher) {CODE