AI Slop Code Risk Monitor

doocs/md

SlopCodeMonitor badge for doocs/md Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

✍ WeChat Markdown Editor | 一款高度简洁的微信 Markdown 编辑器:支持 Markdown 语法、自定义主题样式、内容管理、多图床、AI 助手等特性

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for doocs/md, a TypeScript project with 13,493 GitHub stars. SynthScan examined 97,878 lines of code across 741 source files, recording 129 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
13.5K
Stars
TypeScript
Language
97.9K
Lines of Code
741
Files
129
Pattern Hits
2026-10-31
Scan Date
0.00
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 6.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 6.3/100 · LOW

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

PR Review Velocity Impact 6.7/100 · LOW

Which changes need focused human review? 129 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 0HIGH 0MEDIUM 3LOW 126

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 129 distinct pattern matches across 6 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.

Hyper-Verbose Identifiers116 hits · 119 pts
SeverityFileLineSnippetContext
LOWpackages/core/src/renderer/renderer-impl.ts170function parseFrontMatterAndContent(markdownText: string): ParseResult {CODE
LOWpackages/core/src/utils/languages.ts90function splitHighlightedHtmlByLines(html: string): string[] {CODE
LOWpackages/core/src/utils/front-matter.ts16function normalizeMarkdownListMarkers(input: string): string {CODE
LOWpackages/core/src/utils/mathDetection.ts114export function stripBreakBeforeInlineKatex(html: string): string {CODE
LOWpackages/core/src/extensions/component.ts417 function hasOnlyWhitespaceToLineEnd(src: string, from: number): boolean {CODE
LOWpackages/core/src/extensions/infographic.ts203export function hydratePendingInfographicDiagrams(root: ParentNode, options?: InfographicOptions) {CODE
LOWpackages/mcp-server/src/config-options.ts130export function assertAllowedCodeBlockThemeUrl(url: string): void {CODE
LOWpackages/shared/src/utils/table.ts75function isTableBodyContinuationLine(line: string): boolean {CODE
LOWpackages/shared/src/utils/table.ts97function isTableHeaderCandidateLine(line: string): boolean {CODE
LOWpackages/shared/src/editor/history.ts8export function replaceDocumentWithoutHistory(view: EditorView, content: string) {CODE
LOWapps/web/index.html133 function readLocaleFromLocalStorage() {CODE
LOWapps/web/src/composables/useInitialPreviewBoot.ts24export async function completeInitialPreviewBoot() {CODE
LOW⚡apps/web/src/composables/useLocalizedAIServices.ts25function localizeImageServiceOptions(t: Translate): ImageServiceOption[] {CODE
LOW⚡apps/web/src/composables/useLocalizedAIServices.ts32export function createLocalizedAIServiceOptions(t: Translate) {CODE
LOW⚡apps/web/src/composables/useLocalizedAIServices.ts41export function useLocalizedAIServiceOptions() {CODE
LOWapps/web/src/composables/useLocalizedUploadHosts.ts17export function createLocalizedUploadHostOptions(t: Translate): IConfigOption<UploadHostValue>[] {CODE
LOWapps/web/src/composables/useLocalizedUploadHosts.ts25export function useLocalizedUploadHostOptions() {CODE
LOW⚡…s/web/src/composables/useLocalizedBuiltinComponents.ts39export function createLocalizedBuiltinComponents(CODE
LOW⚡…s/web/src/composables/useLocalizedBuiltinComponents.ts47export function useLocalizedBuiltinComponents() {CODE
LOW⚡…s/web/src/composables/useLocalizedBuiltinComponents.ts54export function useLocalizedAllComponents() {CODE
LOWapps/web/src/composables/useSlashMenuScrollHint.ts26 function bindScrollContentObserver() {CODE
LOWapps/web/src/composables/useSlashMenuScrollHint.ts38 function unbindScrollContentObserver() {CODE
LOWapps/web/src/composables/useCursorSync.ts89 function syncEditorToPreviewElement(el: HTMLElement) {CODE
LOWapps/web/src/composables/useCursorSync.ts164 function handlePreviewContentClick(event: MouseEvent) {CODE
LOWapps/web/src/composables/useComponentCompletion.ts203export function createComponentCompletionSource(CODE
LOWapps/web/src/composables/useComponentCompletion.ts225export function createComponentCompletionExtension(CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts60function localizeFontFamilyOptions(t: Translate): IConfigOption[] {CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts75function localizeLineHeightOptions(t: Translate): IConfigOption[] {CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts82function localizeBlockSpacingOptions(t: Translate): IConfigOption[] {CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts97function localizeBlockquoteBackgroundOptions(t: Translate): IConfigOption[] {CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts113function localizeHeadingLevelOptions(t: Translate): IConfigOption[] {CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts120function localizeHeadingStyleOptions(t: Translate): IConfigOption[] {CODE
LOWapps/web/src/composables/useLocalizedStyleOptions.ts143export function createLocalizedStyleOptions(CODE
LOWapps/web/src/stores/ui.ts181 function openComponentDialogWithTarget(target: string) {CODE
LOWapps/web/src/stores/render.ts62 function buildComponentFingerprint(CODE
LOWapps/web/src/storage/repositories/documents-backup.ts179export function writeDocumentsPagehideBackup(posts: Post[]): string {CODE
LOWapps/web/src/storage/repositories/documents-backup.ts205export function peekDocumentsPagehideBackup(): { token: string | null, posts: Post[] } | null {CODE
LOWapps/web/src/storage/repositories/documents-backup.ts216export function clearDocumentsPagehideBackup(token?: string): void {CODE
LOWapps/web/src/storage/repositories/documents.ts45export function setUseLegacyDocumentStorage(enabled: boolean): void {CODE
LOWapps/web/src/storage/repositories/documents.ts49export function isUsingLegacyDocumentStorage(): boolean {CODE
LOWapps/web/src/storage/migrate/from-local-storage.ts68export function cleanupMigratedLocalStorage(explicitKeys?: string[]): number {CODE
LOWapps/web/src/storage/migrate/from-local-storage.ts124export async function migrateLegacyThemeSettings(engine: IndexedDBEngine): Promise<void> {CODE
LOWapps/web/src/components/ui/search-tab/SearchTab.vue274function handleReplaceInputKeyDown(e: KeyboardEvent) {CODE
LOWapps/web/src/components/ai/SidebarAIToolbar.vue48function checkSelectionAndUpdateHint() {CODE
LOW…ps/web/src/components/ai/chat-box/AIAssistantPanel.vue138function generateConversationTitle(): string {CODE
LOW…ps/web/src/components/ai/chat-box/AIAssistantPanel.vue151async function autoSaveCurrentConversation() {CODE
LOWapps/web/src/components/editor/PreviewPanel.vue47function scheduleHydratePreviewDiagrams() {CODE
LOWapps/web/src/components/editor/EditorContextMenu.vue167function downloadAsSegmentedImages(maxSegmentHeight: number) {CODE
LOWapps/web/src/components/editor/EditorPanel.vue58function onWrapperContextMenuCapture(e: MouseEvent) {CODE
LOWapps/web/src/components/editor/EditorPanel.vue519function flushEditorContentToPostAtIndex(index: number) {CODE
LOWapps/web/src/components/editor/EditorPanel.vue534function commitEditorContentToPost() {CODE
LOWapps/web/src/components/editor/CssEditor.vue220function enterSelectModeFromContextMenu() {CODE
LOWapps/web/src/components/editor/RightSlider.vue120function blockquoteBackgroundChanged(value: string) {CODE
LOW…/src/components/editor/footer/FooterOutlinePopover.vue52function scrollOutlineFocusIntoView() {CODE
LOW…eb/src/components/editor/post-slider/postSliderMenu.ts23export function getPostSliderDropdownContentProps(isMobile: boolean, desktopClass = `w-40`) {CODE
LOW…/src/components/editor/dialogs/CustomComponentForm.vue183function getPropDefaultPlaceholder(type: string): string {CODE
LOWapps/web/src/components/editor/editor-header/index.vue61function fallbackCopyUsingExecCommand(htmlContent: string) {CODE
LOW…b/src/components/editor/editor-header/FileDropdown.vue56function downloadAsSegmentedImages(maxSegmentHeight: number) {CODE
LOW…/src/components/editor/editor-header/StyleDropdown.vue95function blockquoteBackgroundChanged(value: string) {CODE
LOWapps/web/src/configs/keyboard-shortcuts.ts18export function buildKeyboardShortcutCategories(): ShortcutCategory[] {CODE
56 more matches not shown…
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMapps/web/src/lib/preview/diagram-download.ts11// ─── Download helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMapps/web/src/lib/preview/diagram-download.ts85// ─── Download bar DOM injection ───────────────────────────────────────────────COMMENT
MEDIUMapps/web/src/lib/preview/diagram-download.ts139// ─── Overlay lifecycle ────────────────────────────────────────────────────────COMMENT
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs/custom-upload.md41 errCb(err)COMMENT
LOWpackages/shared/src/editor/basicSetup.ts21/// - [the default command bindings](#commands.defaultKeymap)COMMENT
LOWapps/api/wrangler.toml41# 可开通 Pro 的爱发电方案 plan_id(月 / 季 / 年)COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…web/src/components/ui/password-input/PasswordInput.vue36 :placeholder="placeholder"CODE
LOWapps/web/src/components/ai/AIModelPicker.vue86 :placeholder="placeholder"CODE
LOW…r/dialogs/upload-providers/UploadProviderTextField.vue24 :placeholder="placeholder"CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWapps/api/src/auth.ts55// Step 1: redirect to GitHub authorizationCOMMENT
LOWapps/api/src/auth.ts81// Step 2: GitHub callback — exchange code, issue JWT, redirect to frontendCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWapps/api/src/auth.ts55// Step 1: redirect to GitHub authorizationCOMMENT
LOWapps/api/src/auth.ts81// Step 2: GitHub callback — exchange code, issue JWT, redirect to frontendCOMMENT