Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

AAAAAnson/mbeditor

https://github.com/AAAAAnson/mbeditor · scanned 2026-06-17 01:11 UTC (1 month, 2 weeks ago)

85 raw signals (0 security + 85 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ -3.1 (diff) · 81 actionable findings from 1 signal source. 4 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 73.6/100 with 88.9% coverage. It contains 1665 nodes across 25 cross-layer flows, written primarily in mixed languages. Engine surfaced 85 findings — concentrated in quality (46), security (21), software (9). Risk profile is high: 0 critical, 14 high, 19 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 51 of 81 actionable findings. 85 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph security auth conf 1.00 FastAPI DELETE `delete_document` without auth dependency — backend/app/api/v1/mbdocs.py:91
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/mbdocs.py:91 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_document` without auth dependency — backend/app/api/v1/mbdocs.py:49
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/mbdocs.py:49 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_draft` without auth dependency — backend/app/api/v1/wechat_stateless.py:54
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/wechat_stateless.py:54 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `generate_svg` without auth dependency — backend/app/api/v1/agent_generate.py:22
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/agent_generate.py:22 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `import_html` without auth dependency — backend/app/api/v1/publish.py:62
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/publish.py:62 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `preview_mbdoc` without auth dependency — backend/app/api/v1/publish.py:116
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/publish.py:116 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `preview_wechat` without auth dependency — backend/app/api/v1/publish.py:88
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/publish.py:88 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `process_html_for_copy` without auth dependency — backend/app/api/v1/publish.py:93
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/publish.py:93 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `process_mbdoc_for_copy` without auth dependency — backend/app/api/v1/publish.py:139
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/publish.py:139 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `render_effect_endpoint` without auth dependency — backend/app/api/v1/effects.py:35
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/effects.py:35 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `test_connection` without auth dependency — backend/app/api/v1/wechat_stateless.py:36
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/wechat_stateless.py:36 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `upload_image` without auth dependency — backend/app/api/v1/wechat_stateless.py:42
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/wechat_stateless.py:42 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `validate_wechat_html` without auth dependency — backend/app/api/v1/validate.py:20
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/validate.py:20 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_document` without auth dependency — backend/app/api/v1/mbdocs.py:69
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/api/v1/mbdocs.py:69 securityAuth fastapi unauth mutation
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph cicd CI/CD security conf 1.00 4 occurrences GitHub Action is tag-pinned rather than SHA-pinned
docker/setup-buildx-action@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 33, 36, 43, 54
.github/workflows/deploy.yml:33, 36, 43, 54 (4 hits)
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/deploy.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in frontend/src/surfaces/editor/CenterStage.tsx:726
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
frontend/src/surfaces/editor/CenterStage.tsx:726 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'domparser_html_parse' in frontend/src/surfaces/editor/CenterStage.tsx:87
Found a known-risky pattern (domparser_html_parse). Review and replace if possible.
frontend/src/surfaces/editor/CenterStage.tsx:87 Domparser html parse
medium System graph security security conf 1.00 Insecure pattern 'domparser_html_parse' in frontend/src/surfaces/editor/utils/htmlSanitize.ts:21
Found a known-risky pattern (domparser_html_parse). Review and replace if possible.
frontend/src/surfaces/editor/utils/htmlSanitize.ts:21 Domparser html parse
medium System graph security security conf 1.00 Insecure pattern 'domparser_html_parse' in frontend/src/utils/clipboard.ts:41
Found a known-risky pattern (domparser_html_parse). Review and replace if possible.
frontend/src/utils/clipboard.ts:41 Domparser html parse
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in README.md:282
Found a known-risky pattern (weak_hash). Review and replace if possible.
README.md:282 Weak hash
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/reseed_nas_articles.py:33
`urllib.request.urlopen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/verify_nas_delete_button.py:29
`urllib.request.urlopen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/verify_nas_wysiwyg.py:29
`urllib.request.urlopen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/verify_nas_wysiwyg_styled.py:32
`urllib.request.urlopen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 37 placeholder/mock markers across 13 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Runtime service client appears to use placeholder configuration
A runtime source file appears to wire Supabase/Firebase/AI/payment-style clients to placeholder URLs, keys, or fallback values. In the Fable corpus this often means the UI/API shape is present while the backend service is not actually configured.
Runtime configService clientGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 66 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: nginx:alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
frontend/Dockerfile:10 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: node:20-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
frontend/Dockerfile:1 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.11-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
backend/Dockerfile:1 containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/deploy.yml:26 CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: backend/app/services/renderers/heading_paragraph.py:render, backend/app/services/renderers/heading_paragraph.py:render This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or d…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: scripts/verify_nas_wysiwyg_styled.py:api, scripts/verify_nas_delete_button.py:api, scripts/reseed_nas_articles.py:api This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or do…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `process_html_for_copy` in backend/app/api/v1/publish.py:94
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `process_html_for_copy` in backend/app/services/publish_adapter.py:14
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `process_html_for_copy` in backend/app/services/wechat_copy_images.py:17
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_export_legacy` in backend/tests/test_export_legacy.py:1
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_process_for_copy` in backend/tests/test_api_publish.py:18
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_github
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/verify_image_host_settings.py:33
low System graph software Dead code conf 1.00 Possibly dead Python function: process_html_images
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/wechat_service.py:117
low System graph software Dead code conf 1.00 Possibly dead Python function: publish_draft_sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/publish_adapter.py:33
low System graph software Dead code conf 1.00 Possibly dead Python function: repl
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/raster_worker.py:58
low System graph software Dead code conf 1.00 Possibly dead Python function: repl
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/css_inline.py:80
low System graph software Dead code conf 1.00 Possibly dead Python function: replace_src
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/wechat_service.py:127
low System graph software Dead code conf 1.00 Possibly dead Python function: replace_src
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/local_imgbed_service.py:104
low System graph software Dead code conf 1.00 Possibly dead Python function: rewrite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/wechat_copy_images.py:78
low System graph software Dead code conf 1.00 Possibly dead Python function: rewrite_img_tag
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/wechat_copy_images.py:126
low System graph quality Complexity conf 1.00 Very large file: frontend/src/surfaces/editor/CenterStage.tsx (1421 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/2bfdde0d-e2de-477c-b987-5ca14cc5b3e9/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/2bfdde0d-e2de-477c-b987-5ca14cc5b3e9/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.