Android Full-Stack Device Control Platform: WebRTC/H.264 remote desktop, UI/OCR/image-matching automation, one-click MITM, built-in Frida, proxy/VPN/frp/P2P networking, MCP/Agent, 160+ APIs, designed for multi-device clusters and engineered deployments.
This report presents the forensic synthetic code analysis of firerpa/lamda, a Python project with 7,886 GitHub stars. SynthScan v2.0 examined 7,014 lines of code across 42 source files, recording 100 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 14.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 100 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/startmitm.py | 98 | def get_default_interface_ip_imp(target): | CODE |
| LOW | extensions/firerpa.py | 66 | def execute_shell_script_foreground(self, ctx, scrip: Annotated[str, "Shell script content."]): | CODE |
| LOW | extensions/firerpa.py | 121 | def click_by_description_contains(self, ctx, substring: Annotated[str, "The substring to be matched."]): | CODE |
| LOW | extensions/firerpa.py | 125 | def click_by_description_matches(self, ctx, regex: Annotated[str, "The string matching the element's description."]) | CODE |
| LOW | extensions/firerpa.py | 141 | def current_top_application_info(self, ctx): | CODE |
| LOW⚡ | extensions/firerpa.py | 157 | def is_application_running_foreground(self, ctx, package_name: Annotated[str, "The package name, such as com.android | CODE |
| LOW⚡ | extensions/firerpa.py | 161 | def list_application_permissions(self, ctx, package_name: Annotated[str, "The package name, such as com.android.sett | CODE |
| LOW⚡ | extensions/firerpa.py | 165 | def grant_application_permission(self, ctx, package_name: Annotated[str, "The package name, such as com.android.sett | CODE |
| LOW⚡ | extensions/firerpa.py | 169 | def revoke_application_permission(self, ctx, package_name: Annotated[str, "The package name, such as com.android.set | CODE |
| LOW⚡ | lamda/client.py | 785 | def fling_from_top_to_bottom_to_end(self, max_swipes): | CODE |
| LOW⚡ | lamda/client.py | 790 | def fling_from_bottom_to_top_to_end(self, max_swipes): | CODE |
| LOW⚡ | lamda/client.py | 795 | def fling_from_left_to_right_to_end(self, max_swipes): | CODE |
| LOW⚡ | lamda/client.py | 800 | def fling_from_right_to_left_to_end(self, max_swipes): | CODE |
| LOW⚡ | lamda/client.py | 835 | def scroll_from_top_to_bottom(self, step): | CODE |
| LOW⚡ | lamda/client.py | 840 | def scroll_from_bottom_to_top(self, step): | CODE |
| LOW⚡ | lamda/client.py | 845 | def scroll_from_left_to_right(self, step): | CODE |
| LOW⚡ | lamda/client.py | 850 | def scroll_from_right_to_left(self, step): | CODE |
| LOW⚡ | lamda/client.py | 855 | def scroll_from_top_to_bottom_to_end(self, max_swipes, step): | CODE |
| LOW⚡ | lamda/client.py | 860 | def scroll_from_bottom_to_top_to_end(self, max_swipes, step): | CODE |
| LOW⚡ | lamda/client.py | 865 | def scroll_from_left_to_right_to_end(self, max_swipes, step): | CODE |
| LOW⚡ | lamda/client.py | 870 | def scroll_from_right_to_left_to_end(self, max_swipes, step): | CODE |
| LOW⚡ | lamda/client.py | 1779 | def is_android_debug_bridge_running(self): | CODE |
| LOW⚡ | lamda/client.py | 1785 | def start_android_debug_bridge(self): | CODE |
| LOW⚡ | lamda/client.py | 1791 | def stop_android_debug_bridge(self): | CODE |
| LOW⚡ | lamda/client.py | 2500 | def start_android_debug_bridge(self): | CODE |
| LOW⚡ | lamda/client.py | 2502 | def is_android_debug_bridge_running(self): | CODE |
| LOW⚡ | lamda/client.py | 2504 | def stop_android_debug_bridge(self): | CODE |
| LOW⚡ | lamda/client.py | 2595 | def get_watcher_triggered_count(self, name): | CODE |
| LOW⚡ | lamda/client.py | 2597 | def reset_watcher_triggered_count(self, name): | CODE |
| LOW⚡ | lamda/client.py | 2603 | def register_click_target_selector_watcher(self, name, conditions, | CODE |
| LOW⚡ | lamda/client.py | 2608 | def register_press_key_watcher(self, name, conditions, key): | CODE |
| LOW | lamda/client.py | 902 | def get_watcher_triggered_count(self, name): | CODE |
| LOW | lamda/client.py | 910 | def reset_watcher_triggered_count(self, name): | CODE |
| LOW | lamda/client.py | 934 | def register_click_target_selector_watcher(self, name, conditions, | CODE |
| LOW | lamda/client.py | 944 | def register_press_key_watcher(self, name, conditions, key): | CODE |
| LOW | lamda/client.py | 1183 | def disable_global_method_warning(self): | CODE |
| LOW | lamda/client.py | 1193 | def enumerate_running_processes(self): | CODE |
| LOW | lamda/client.py | 1502 | def enumerate_running_processes(self): | CODE |
| LOW | lamda/client.py | 1650 | def is_ca_certificate_installed(self, certfile): | CODE |
| LOW | lamda/client.py | 1851 | def execute_background_script(self, script, alias=None): | CODE |
| LOW | lamda/client.py | 1858 | def is_background_script_finished(self, tid): | CODE |
| LOW | lamda/client.py | 1912 | def get_userdata_disk_io_info(self): | CODE |
| LOW | lamda/client.py | 2453 | def enumerate_running_processes(self): | CODE |
| LOW | lamda/client.py | 2466 | def is_ca_certificate_installed(self, certdata): | CODE |
| LOW | lamda/client.py | 2520 | def get_virtual_display_by_id(self, display): | CODE |
| LOW | lamda/client.py | 2531 | def execute_background_script(self, script, alias=None): | CODE |
| LOW | lamda/client.py | 2533 | def is_background_script_finished(self, tid): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/paddle_ocr_http_api.py | 6 | CODE | |
| LOW | tools/discover.py | 4 | CODE | |
| LOW | tools/adb_pubkey.py | 7 | CODE | |
| LOW | tools/ida.py | 10 | CODE | |
| LOW | tools/cert.py | 11 | CODE | |
| LOW | tools/cert.py | 11 | CODE | |
| LOW | tools/cert.py | 11 | CODE | |
| LOW | tools/fridarpc.py | 4 | CODE | |
| LOW | tools/fridarpc.py | 6 | CODE | |
| LOW | tools/debugimage.py | 6 | CODE | |
| LOW | tools/startmitm.py | 8 | CODE | |
| LOW | tools/startmitm.py | 13 | CODE | |
| LOW | tools/startmitm.py | 16 | CODE | |
| LOW | tools/startmitm.py | 18 | CODE | |
| LOW | tools/startmitm.py | 22 | CODE | |
| LOW | tools/startmitm.py | 27 | CODE | |
| LOW | tools/startmitm.py | 29 | CODE | |
| LOW | tools/startmitm.py | 32 | CODE | |
| LOW | extensions/example_http_extension.py | 5 | CODE | |
| LOW | extensions/firerpa.py | 13 | CODE | |
| LOW | extensions/firerpa.py | 14 | CODE | |
| LOW | examples/activity_jump.py | 3 | CODE | |
| LOW | examples/search_in_taobao.py | 3 | CODE | |
| LOW | lamda/client.py | 10 | CODE | |
| LOW | lamda/client.py | 16 | CODE | |
| LOW | lamda/client.py | 31 | CODE | |
| LOW | lamda/client.py | 33 | CODE | |
| LOW | lamda/client.py | 33 | CODE | |
| LOW | lamda/client.py | 46 | CODE | |
| LOW | lamda/client.py | 47 | CODE | |
| LOW | lamda/client.py | 47 | CODE | |
| LOW | lamda/client.py | 2674 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | extensions/mcp_sms_reader.py | 6 | # =================================================================== | COMMENT |
| MEDIUM | extensions/mcp_sms_reader.py | 8 | # =================================================================== | COMMENT |
| MEDIUM | extensions/firerpa.py | 6 | # =================================================================== | COMMENT |
| MEDIUM | extensions/firerpa.py | 8 | # =================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/globalmitm/DNS2SOCKS.c | 1 | // "stdafx.h" | COMMENT |
| LOW | tools/globalmitm/DNS2SOCKS.c | 21 | #include <sys/socket.h> | COMMENT |
| LOW | tools/globalmitm/DNS2SOCKS.c | 41 | COMMENT | |
| LOW | tools/globalmitm/DNS2SOCKS.c | 61 | //date/time format string for ISO 8601 format, but leave away the T delimiter as it's bad to read | COMMENT |
| LOW | extensions/example_http_extension.py | 1 | # Copyright 2025 rev1si0n (lamda.devel@gmail.com). All rights reserved. | COMMENT |
| LOW | lamda/__init__.py | 1 | # Copyright 2022 rev1si0n (lamda.devel@gmail.com). All rights reserved. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/paddle_ocr_http_api.py | 20 | CODE | |
| LOW | extensions/firerpa.py | 88 | CODE | |
| LOW | lamda/client.py | 441 | CODE | |
| LOW | lamda/client.py | 1284 | CODE | |
| LOW | lamda/client.py | 1578 | CODE | |
| LOW | lamda/client.py | 2315 | CODE | |
| LOW | lamda/client.py | 2321 | CODE | |
| LOW | lamda/client.py | 2324 | CODE | |
| LOW | lamda/client.py | 2329 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lamda/client.py | 64 | __all__ = [ | CODE |
| LOW | lamda/types.py | 8 | __all__ = ["AttributeDict", "BytesIO"] | CODE |