AI Slop Code RIsk Monitor

xpzouying/xiaohongshu-mcp

MCP for xiaohongshu.com

10.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for xpzouying/xiaohongshu-mcp, a Go project with 16,193 GitHub stars. SynthScan examined 19,091 lines of code across 99 source files, recording 101 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 10.7 (Moderate 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.

10.7
Adjusted Signal
10.7
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
16.2K
Stars
Go
Language
19.1K
Lines of Code
99
Files
101
Pattern Hits
2026-10-12
Scan Date
0.13
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 8.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.6/100 · LOW

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

Agent Over-Engineering Ratio 32.5/100 · MEDIUM

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

PR Review Velocity Impact 47.2/100 · MEDIUM

Which changes need focused human review? 101 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 13MEDIUM 39LOW 49

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 101 distinct pattern matches across 12 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.

Decorative Section Separators18 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMskills/post-to-xhs/scripts/account_manager.py219# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/account_manager.py221# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py57# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py59# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py119 # ------------------------------------------------------------------COMMENT
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py121 # ------------------------------------------------------------------COMMENT
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py815# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py817# ---------------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py180 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py182 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py225 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py227 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py292 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py294 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py763 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py765 # ------------------------------------------------------------------COMMENT
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py465 # ------------------------------------------------------------------STRING
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py467 # ------------------------------------------------------------------STRING
Excessive Try-Catch Wrapping30 hits · 47 pts
SeverityFileLineSnippetContext
LOWskills/post-to-xhs/scripts/chrome_launcher.py175 except Exception:CODE
LOWskills/post-to-xhs/scripts/chrome_launcher.py179 except Exception:CODE
LOWskills/post-to-xhs/scripts/chrome_launcher.py191 except Exception:CODE
LOWskills/post-to-xhs/scripts/chrome_launcher.py194 except Exception:CODE
LOWskills/post-to-xhs/scripts/chrome_launcher.py214 except Exception:CODE
LOWskills/post-to-xhs/scripts/image_downloader.py104 except Exception as e:CODE
LOWskills/post-to-xhs/scripts/account_manager.py196 except Exception:CODE
MEDIUMskills/post-to-xhs/scripts/account_manager.py275 print(f"Error: Account '{args.name}' already exists.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/account_manager.py282 print(f"Error: Cannot remove account '{args.name}'.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/account_manager.py294 print(f"Error: Account '{args.name}' not found.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/account_manager.py301 print(f"Error: Account '{args.name}' not found.", file=sys.stderr)CODE
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py920 print(f"Error: Account '{args.name}' already exists.", file=sys.stderr)CODE
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py929 print(f"Error: Cannot remove account '{args.name}'.", file=sys.stderr)CODE
MEDIUM⚡skills/post-to-xhs/scripts/cdp_publish.py938 print(f"Error: Account '{args.name}' not found.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py968 print("Error: --content or --content-file required.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py985 print("Error: --title or --title-file required.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py993 print("Error: --content or --content-file required.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py1009 print(f"Error: Template '{args.name}' not found.", file=sys.stderr)CODE
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py51 except Exception:CODE
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py131 except Exception as e:CODE
LOWskills/post-to-xhs/scripts/publish_pipeline.py44 except Exception:CODE
MEDIUMskills/post-to-xhs/scripts/publish_pipeline.py131 print("Error: title is empty.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/publish_pipeline.py142 print("Error: content is empty.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/publish_pipeline.py150 print("Error: Failed to start Chrome.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/publish_pipeline.py170 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUM⚡skills/post-to-xhs/scripts/publish_pipeline.py182 print("Error: All image downloads failed.", file=sys.stderr)CODE
MEDIUM⚡skills/post-to-xhs/scripts/publish_pipeline.py189 print(f"Error: Image file not found: {p}", file=sys.stderr)CODE
MEDIUM⚡skills/post-to-xhs/scripts/publish_pipeline.py193 print("Error: Images are required for image-text mode. Use --image-urls or --images.", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/publish_pipeline.py212 print(f"Error during form fill: {e}", file=sys.stderr)CODE
MEDIUMskills/post-to-xhs/scripts/publish_pipeline.py224 print(f"Error clicking publish: {e}", file=sys.stderr)CODE
Empty Error Handlers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHskills/post-to-xhs/scripts/chrome_launcher.py179except Exception:CODE
HIGHskills/post-to-xhs/scripts/chrome_launcher.py214except Exception:CODE
HIGHskills/post-to-xhs/scripts/chrome_launcher.py175except Exception:CODE
HIGHskills/post-to-xhs/scripts/chrome_launcher.py194except Exception:CODE
HIGHskills/post-to-xhs/scripts/image_downloader.py117except OSError:CODE
HIGHskills/post-to-xhs/scripts/account_manager.py47except (json.JSONDecodeError, IOError):CODE
HIGHskills/post-to-xhs/scripts/account_manager.py196except Exception:CODE
HIGHskills/post-to-xhs/scripts/cdp_publish.py51except Exception:CODE
HIGHskills/post-to-xhs/scripts/publish_pipeline.py44except Exception:CODE
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHskills/post-to-xhs/scripts/cdp_publish.py411 html.push('<p>' + paragraphs[i] + '</p>');CODE
HIGHskills/post-to-xhs/scripts/cdp_publish.py413 html.push('<p><br></p>');CODE
HIGHskills/post-to-xhs/scripts/cdp_publish.py611 names.push(title ? title.textContent.trim() : 'Template ' + i);CODE
HIGHskills/post-to-xhs/scripts/cdp_publish.py628 if (title && title.textContent.trim() === {json.dumps(name)}) {{CODE
Structural Annotation Overuse17 hits · 15 pts
SeverityFileLineSnippetContext
LOWskills/post-to-xhs/SKILL.md34## Step 1: 判断输入类型COMMENT
LOWskills/post-to-xhs/SKILL.md43## Step 2: 处理内容COMMENT
LOWskills/post-to-xhs/SKILL.md81## Step 3: 内容检查COMMENT
LOWskills/post-to-xhs/SKILL.md97## Step 4: 发布到小红书COMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py792 # Step 1: Navigate to publish pageCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py796 # Step 2: Click '上传图文' tabCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py799 # Step 3: Upload images (editor appears after upload)COMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py802 # Step 4: Fill titleCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py805 # Step 5: Fill contentCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py702 # Step 1: Navigate to publish pageSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py706 # Step 2: Click '写长文' tabSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py709 # Step 3: Click '新的创作'STRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py712 # Step 4: Fill titleSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py715 # Step 5: Fill contentSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py718 # Step 6: Upload images into editor (if provided)STRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py736 # Step 7: Click '一键排版'STRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py739 # Step 8: Wait for templates and return namesSTRING
Verbosity Indicators13 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py792 # Step 1: Navigate to publish pageCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py796 # Step 2: Click '上传图文' tabCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py799 # Step 3: Upload images (editor appears after upload)COMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py802 # Step 4: Fill titleCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py805 # Step 5: Fill contentCOMMENT
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py702 # Step 1: Navigate to publish pageSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py706 # Step 2: Click '写长文' tabSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py709 # Step 3: Click '新的创作'STRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py712 # Step 4: Fill titleSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py715 # Step 5: Fill contentSTRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py718 # Step 6: Upload images into editor (if provided)STRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py736 # Step 7: Click '一键排版'STRING
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py739 # Step 8: Wait for templates and return namesSTRING
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWskills/post-to-xhs/scripts/chrome_launcher.py152CODE
LOWskills/post-to-xhs/scripts/account_manager.py223CODE
LOWskills/post-to-xhs/scripts/cdp_publish.py819CODE
LOWskills/post-to-xhs/scripts/publish_pipeline.py57CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMskills/post-to-xhs/scripts/cdp_publish.py150 # Create a new tabCOMMENT
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/tag-release.yml53 # Check if tag already existsCOMMENT
LOWskills/post-to-xhs/scripts/cdp_publish.py239 # Check if we got redirected to a login pageCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWxiaohongshu/notification_reply.go140 placeholder, err := input.Attribute("placeholder")CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWskills/post-to-xhs/scripts/chrome_launcher.py19CODE
Hyper-Verbose Identifiers1 hit · 0 pts
SeverityFileLineSnippetContext
LOW⚡skills/post-to-xhs/scripts/cdp_publish.py749 def click_next_and_prepare_publish(self, content: str = ""):STRING