MCP for xiaohongshu.com
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 38 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 58 finding(s).
Which changes need focused human review? 101 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | skills/post-to-xhs/scripts/account_manager.py | 219 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/account_manager.py | 221 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 119 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 121 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 815 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 817 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 180 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 182 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 225 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 227 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 292 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 294 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 763 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 765 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 465 | # ------------------------------------------------------------------ | STRING |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 467 | # ------------------------------------------------------------------ | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 175 | except Exception: | CODE |
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 179 | except Exception: | CODE |
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 191 | except Exception: | CODE |
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 194 | except Exception: | CODE |
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 214 | except Exception: | CODE |
| LOW | skills/post-to-xhs/scripts/image_downloader.py | 104 | except Exception as e: | CODE |
| LOW | skills/post-to-xhs/scripts/account_manager.py | 196 | except Exception: | CODE |
| MEDIUM | skills/post-to-xhs/scripts/account_manager.py | 275 | print(f"Error: Account '{args.name}' already exists.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/account_manager.py | 282 | print(f"Error: Cannot remove account '{args.name}'.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/account_manager.py | 294 | print(f"Error: Account '{args.name}' not found.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/account_manager.py | 301 | print(f"Error: Account '{args.name}' not found.", file=sys.stderr) | CODE |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 920 | print(f"Error: Account '{args.name}' already exists.", file=sys.stderr) | CODE |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 929 | print(f"Error: Cannot remove account '{args.name}'.", file=sys.stderr) | CODE |
| MEDIUM⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 938 | print(f"Error: Account '{args.name}' not found.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 968 | print("Error: --content or --content-file required.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 985 | print("Error: --title or --title-file required.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 993 | print("Error: --content or --content-file required.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 1009 | print(f"Error: Template '{args.name}' not found.", file=sys.stderr) | CODE |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 51 | except Exception: | CODE |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 131 | except Exception as e: | CODE |
| LOW | skills/post-to-xhs/scripts/publish_pipeline.py | 44 | except Exception: | CODE |
| MEDIUM | skills/post-to-xhs/scripts/publish_pipeline.py | 131 | print("Error: title is empty.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/publish_pipeline.py | 142 | print("Error: content is empty.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/publish_pipeline.py | 150 | print("Error: Failed to start Chrome.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/publish_pipeline.py | 170 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM⚡ | skills/post-to-xhs/scripts/publish_pipeline.py | 182 | print("Error: All image downloads failed.", file=sys.stderr) | CODE |
| MEDIUM⚡ | skills/post-to-xhs/scripts/publish_pipeline.py | 189 | print(f"Error: Image file not found: {p}", file=sys.stderr) | CODE |
| MEDIUM⚡ | skills/post-to-xhs/scripts/publish_pipeline.py | 193 | print("Error: Images are required for image-text mode. Use --image-urls or --images.", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/publish_pipeline.py | 212 | print(f"Error during form fill: {e}", file=sys.stderr) | CODE |
| MEDIUM | skills/post-to-xhs/scripts/publish_pipeline.py | 224 | print(f"Error clicking publish: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills/post-to-xhs/scripts/chrome_launcher.py | 179 | except Exception: | CODE |
| HIGH | skills/post-to-xhs/scripts/chrome_launcher.py | 214 | except Exception: | CODE |
| HIGH | skills/post-to-xhs/scripts/chrome_launcher.py | 175 | except Exception: | CODE |
| HIGH | skills/post-to-xhs/scripts/chrome_launcher.py | 194 | except Exception: | CODE |
| HIGH | skills/post-to-xhs/scripts/image_downloader.py | 117 | except OSError: | CODE |
| HIGH | skills/post-to-xhs/scripts/account_manager.py | 47 | except (json.JSONDecodeError, IOError): | CODE |
| HIGH | skills/post-to-xhs/scripts/account_manager.py | 196 | except Exception: | CODE |
| HIGH | skills/post-to-xhs/scripts/cdp_publish.py | 51 | except Exception: | CODE |
| HIGH | skills/post-to-xhs/scripts/publish_pipeline.py | 44 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills/post-to-xhs/scripts/cdp_publish.py | 411 | html.push('<p>' + paragraphs[i] + '</p>'); | CODE |
| HIGH | skills/post-to-xhs/scripts/cdp_publish.py | 413 | html.push('<p><br></p>'); | CODE |
| HIGH | skills/post-to-xhs/scripts/cdp_publish.py | 611 | names.push(title ? title.textContent.trim() : 'Template ' + i); | CODE |
| HIGH | skills/post-to-xhs/scripts/cdp_publish.py | 628 | if (title && title.textContent.trim() === {json.dumps(name)}) {{ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/post-to-xhs/SKILL.md | 34 | ## Step 1: 判断输入类型 | COMMENT |
| LOW | skills/post-to-xhs/SKILL.md | 43 | ## Step 2: 处理内容 | COMMENT |
| LOW | skills/post-to-xhs/SKILL.md | 81 | ## Step 3: 内容检查 | COMMENT |
| LOW | skills/post-to-xhs/SKILL.md | 97 | ## Step 4: 发布到小红书 | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 792 | # Step 1: Navigate to publish page | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 796 | # Step 2: Click '上传图文' tab | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 799 | # Step 3: Upload images (editor appears after upload) | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 802 | # Step 4: Fill title | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 805 | # Step 5: Fill content | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 702 | # Step 1: Navigate to publish page | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 706 | # Step 2: Click '写长文' tab | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 709 | # Step 3: Click '新的创作' | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 712 | # Step 4: Fill title | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 715 | # Step 5: Fill content | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 718 | # Step 6: Upload images into editor (if provided) | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 736 | # Step 7: Click '一键排版' | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 739 | # Step 8: Wait for templates and return names | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 792 | # Step 1: Navigate to publish page | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 796 | # Step 2: Click '上传图文' tab | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 799 | # Step 3: Upload images (editor appears after upload) | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 802 | # Step 4: Fill title | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 805 | # Step 5: Fill content | COMMENT |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 702 | # Step 1: Navigate to publish page | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 706 | # Step 2: Click '写长文' tab | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 709 | # Step 3: Click '新的创作' | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 712 | # Step 4: Fill title | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 715 | # Step 5: Fill content | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 718 | # Step 6: Upload images into editor (if provided) | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 736 | # Step 7: Click '一键排版' | STRING |
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 739 | # Step 8: Wait for templates and return names | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 152 | CODE | |
| LOW | skills/post-to-xhs/scripts/account_manager.py | 223 | CODE | |
| LOW | skills/post-to-xhs/scripts/cdp_publish.py | 819 | CODE | |
| LOW | skills/post-to-xhs/scripts/publish_pipeline.py | 57 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | skills/post-to-xhs/scripts/cdp_publish.py | 150 | # Create a new tab | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/tag-release.yml | 53 | # Check if tag already exists | COMMENT |
| LOW | skills/post-to-xhs/scripts/cdp_publish.py | 239 | # Check if we got redirected to a login page | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xiaohongshu/notification_reply.go | 140 | placeholder, err := input.Attribute("placeholder") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/post-to-xhs/scripts/chrome_launcher.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | skills/post-to-xhs/scripts/cdp_publish.py | 749 | def click_next_and_prepare_publish(self, content: str = ""): | STRING |