Repository Analysis

firerpa/lamda

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.

14.7 Low AI signal View on GitHub

Analysis Overview

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).

14.7
Adjusted Score
14.7
Raw Score
100%
Time Factor
2026-07-07
Last Push
7.9K
Stars
Python
Language
7.0K
Lines of Code
42
Files
100
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 4LOW 96

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers47 hits · 50 pts
SeverityFileLineSnippetContext
LOWtools/startmitm.py98def get_default_interface_ip_imp(target):CODE
LOWextensions/firerpa.py66 def execute_shell_script_foreground(self, ctx, scrip: Annotated[str, "Shell script content."]):CODE
LOWextensions/firerpa.py121 def click_by_description_contains(self, ctx, substring: Annotated[str, "The substring to be matched."]):CODE
LOWextensions/firerpa.py125 def click_by_description_matches(self, ctx, regex: Annotated[str, "The string matching the element's description."])CODE
LOWextensions/firerpa.py141 def current_top_application_info(self, ctx):CODE
LOWextensions/firerpa.py157 def is_application_running_foreground(self, ctx, package_name: Annotated[str, "The package name, such as com.androidCODE
LOWextensions/firerpa.py161 def list_application_permissions(self, ctx, package_name: Annotated[str, "The package name, such as com.android.settCODE
LOWextensions/firerpa.py165 def grant_application_permission(self, ctx, package_name: Annotated[str, "The package name, such as com.android.settCODE
LOWextensions/firerpa.py169 def revoke_application_permission(self, ctx, package_name: Annotated[str, "The package name, such as com.android.setCODE
LOWlamda/client.py785 def fling_from_top_to_bottom_to_end(self, max_swipes):CODE
LOWlamda/client.py790 def fling_from_bottom_to_top_to_end(self, max_swipes):CODE
LOWlamda/client.py795 def fling_from_left_to_right_to_end(self, max_swipes):CODE
LOWlamda/client.py800 def fling_from_right_to_left_to_end(self, max_swipes):CODE
LOWlamda/client.py835 def scroll_from_top_to_bottom(self, step):CODE
LOWlamda/client.py840 def scroll_from_bottom_to_top(self, step):CODE
LOWlamda/client.py845 def scroll_from_left_to_right(self, step):CODE
LOWlamda/client.py850 def scroll_from_right_to_left(self, step):CODE
LOWlamda/client.py855 def scroll_from_top_to_bottom_to_end(self, max_swipes, step):CODE
LOWlamda/client.py860 def scroll_from_bottom_to_top_to_end(self, max_swipes, step):CODE
LOWlamda/client.py865 def scroll_from_left_to_right_to_end(self, max_swipes, step):CODE
LOWlamda/client.py870 def scroll_from_right_to_left_to_end(self, max_swipes, step):CODE
LOWlamda/client.py1779 def is_android_debug_bridge_running(self):CODE
LOWlamda/client.py1785 def start_android_debug_bridge(self):CODE
LOWlamda/client.py1791 def stop_android_debug_bridge(self):CODE
LOWlamda/client.py2500 def start_android_debug_bridge(self):CODE
LOWlamda/client.py2502 def is_android_debug_bridge_running(self):CODE
LOWlamda/client.py2504 def stop_android_debug_bridge(self):CODE
LOWlamda/client.py2595 def get_watcher_triggered_count(self, name):CODE
LOWlamda/client.py2597 def reset_watcher_triggered_count(self, name):CODE
LOWlamda/client.py2603 def register_click_target_selector_watcher(self, name, conditions,CODE
LOWlamda/client.py2608 def register_press_key_watcher(self, name, conditions, key):CODE
LOWlamda/client.py902 def get_watcher_triggered_count(self, name):CODE
LOWlamda/client.py910 def reset_watcher_triggered_count(self, name):CODE
LOWlamda/client.py934 def register_click_target_selector_watcher(self, name, conditions,CODE
LOWlamda/client.py944 def register_press_key_watcher(self, name, conditions, key):CODE
LOWlamda/client.py1183 def disable_global_method_warning(self):CODE
LOWlamda/client.py1193 def enumerate_running_processes(self):CODE
LOWlamda/client.py1502 def enumerate_running_processes(self):CODE
LOWlamda/client.py1650 def is_ca_certificate_installed(self, certfile):CODE
LOWlamda/client.py1851 def execute_background_script(self, script, alias=None):CODE
LOWlamda/client.py1858 def is_background_script_finished(self, tid):CODE
LOWlamda/client.py1912 def get_userdata_disk_io_info(self):CODE
LOWlamda/client.py2453 def enumerate_running_processes(self):CODE
LOWlamda/client.py2466 def is_ca_certificate_installed(self, certdata):CODE
LOWlamda/client.py2520 def get_virtual_display_by_id(self, display):CODE
LOWlamda/client.py2531 def execute_background_script(self, script, alias=None):CODE
LOWlamda/client.py2533 def is_background_script_finished(self, tid):CODE
Unused Imports32 hits · 28 pts
SeverityFileLineSnippetContext
LOWtools/paddle_ocr_http_api.py6CODE
LOWtools/discover.py4CODE
LOWtools/adb_pubkey.py7CODE
LOWtools/ida.py10CODE
LOWtools/cert.py11CODE
LOWtools/cert.py11CODE
LOWtools/cert.py11CODE
LOWtools/fridarpc.py4CODE
LOWtools/fridarpc.py6CODE
LOWtools/debugimage.py6CODE
LOWtools/startmitm.py8CODE
LOWtools/startmitm.py13CODE
LOWtools/startmitm.py16CODE
LOWtools/startmitm.py18CODE
LOWtools/startmitm.py22CODE
LOWtools/startmitm.py27CODE
LOWtools/startmitm.py29CODE
LOWtools/startmitm.py32CODE
LOWextensions/example_http_extension.py5CODE
LOWextensions/firerpa.py13CODE
LOWextensions/firerpa.py14CODE
LOWexamples/activity_jump.py3CODE
LOWexamples/search_in_taobao.py3CODE
LOWlamda/client.py10CODE
LOWlamda/client.py16CODE
LOWlamda/client.py31CODE
LOWlamda/client.py33CODE
LOWlamda/client.py33CODE
LOWlamda/client.py46CODE
LOWlamda/client.py47CODE
LOWlamda/client.py47CODE
LOWlamda/client.py2674CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMextensions/mcp_sms_reader.py6# ===================================================================COMMENT
MEDIUMextensions/mcp_sms_reader.py8# ===================================================================COMMENT
MEDIUMextensions/firerpa.py6# ===================================================================COMMENT
MEDIUMextensions/firerpa.py8# ===================================================================COMMENT
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/globalmitm/DNS2SOCKS.c1// "stdafx.h"COMMENT
LOWtools/globalmitm/DNS2SOCKS.c21#include <sys/socket.h>COMMENT
LOWtools/globalmitm/DNS2SOCKS.c41COMMENT
LOWtools/globalmitm/DNS2SOCKS.c61//date/time format string for ISO 8601 format, but leave away the T delimiter as it's bad to readCOMMENT
LOWextensions/example_http_extension.py1# Copyright 2025 rev1si0n (lamda.devel@gmail.com). All rights reserved.COMMENT
LOWlamda/__init__.py1# Copyright 2022 rev1si0n (lamda.devel@gmail.com). All rights reserved.COMMENT
AI Structural Patterns9 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/paddle_ocr_http_api.py20CODE
LOWextensions/firerpa.py88CODE
LOWlamda/client.py441CODE
LOWlamda/client.py1284CODE
LOWlamda/client.py1578CODE
LOWlamda/client.py2315CODE
LOWlamda/client.py2321CODE
LOWlamda/client.py2324CODE
LOWlamda/client.py2329CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlamda/client.py64__all__ = [CODE
LOWlamda/types.py8__all__ = ["AttributeDict", "BytesIO"]CODE