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.

AIPythoner/pymidscene

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

49 raw signals (0 security + 49 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ +18.6 (diff) · 32 actionable findings from 1 signal source. 17 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 95.3/100 with 44.4% coverage. It contains 1356 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 49 findings — concentrated in quality (28), software (18), security (3). Risk profile is low: 0 critical, 0 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 30 of 32 actionable findings. 49 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.

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 security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pymidscene/core/js_report_generator.py:516
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pymidscene/core/js_report_generator.py:516 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pymidscene/core/report_generator.py:1096
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pymidscene/core/report_generator.py:1096 Direct innerhtml assignment
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
low System graph quality Integrity conf 1.00 11 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `MIDSCENE_CACHE_MAX_FILENAME_LENGTH`, `MIDSCENE_DOUBAO_API_KEY`, `MIDSCENE_DOUBAO_BASE_URL`, `MIDSCENE_DOUBAO_MODEL_NAME`, `MIDSCENE_FORCE_DEEP_THINK`, `MIDSCENE_PREFERRED_LANGUAGE`, `MIDSCENE_QWEN_API_KEY`, `MIDSCENE_QWEN_BASE_URL` + 3 more. Add t…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 22 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 quality Integrity conf 1.00 18 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: pymidscene/android/agent.py:ai_locate, pymidscene/ios/agent.py:ai_locate This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
18 occurrences
repo-level (18 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: pymidscene/web_integration/base.py:wait_for_navigation, pymidscene/web_integration/playwright/page.py:wait_for_navigation, pymidscene/web_integration/playwright/page.py:wait This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: pymidscene/android/agent.py:ai_action, pymidscene/android/agent.py:ai_act, pymidscene/ios/agent.py:ai_action, pymidscene/ios/agent.py:ai_act This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygi…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_tap_falls_back_to_legacy` in tests/ios/test_webdriver_client.py:121
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: add_execution
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:772
low System graph software Dead code conf 1.00 Possibly dead Python function: add_model_brief
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:782
low System graph software Dead code conf 1.00 Possibly dead Python function: build
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:903
low System graph software Dead code conf 1.00 Possibly dead Python function: click_by_xpath
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/web_integration/playwright/page.py:794
low System graph software Dead code conf 1.00 Possibly dead Python function: draw_action_sequence
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/element_marker.py:313
low System graph software Dead code conf 1.00 Possibly dead Python function: draw_multiple_elements
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/element_marker.py:428
low System graph software Dead code conf 1.00 Possibly dead Python function: execute_script
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/web_integration/playwright/page.py:990
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_file_chooser
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/xhs_upload.py:72
low System graph software Dead code conf 1.00 Possibly dead Python function: input_by_xpath
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/web_integration/playwright/page.py:815
low System graph software Dead code conf 1.00 Possibly dead Python function: save_dump
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:693
low System graph software Dead code conf 1.00 Possibly dead Python function: save_to_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:817
low System graph software Dead code conf 1.00 Possibly dead Python function: set_data
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:888
low System graph software Dead code conf 1.00 Possibly dead Python function: set_error
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:898
low System graph software Dead code conf 1.00 Possibly dead Python function: set_matched_element
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:883
low System graph software Dead code conf 1.00 Possibly dead Python function: set_page_info
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:281
low System graph software Dead code conf 1.00 Possibly dead Python function: set_task_info
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:893
low System graph software Dead code conf 1.00 Possibly dead Python function: set_user_query
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/dump.py:878
low System graph software Dead code conf 1.00 Possibly dead Python function: to_serializable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pymidscene/core/types.py:31
low System graph quality Complexity conf 1.00 Very large file: pymidscene/core/agent/agent.py (2807 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: pymidscene/core/report_generator.py (1697 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/39be6e6f-fcf4-446d-9e27-d94f48e43cdb/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/39be6e6f-fcf4-446d-9e27-d94f48e43cdb/

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.