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.

15.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of firerpa/lamda, a Python project with 8,256 GitHub stars. SynthScan v2.0 examined 7,088 lines of code across 44 source files, recording 105 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 15.1 places this repository in the Moderate 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).

15.1
Adjusted Score
15.1
Raw Score
100%
Time Factor
2026-08-16
Last Push
8.3K
Stars
Python
Language
7.1K
Lines of Code
44
Files
105
Pattern Hits
2026-08-29
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 101

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 105 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
LOWexamples/user-home/modules/extension/firerpa.py66 def execute_shell_script_foreground(self, ctx, scrip: Annotated[str, "Shell script content."]):CODE
LOWexamples/user-home/modules/extension/firerpa.py121 def click_by_description_contains(self, ctx, substring: Annotated[str, "The substring to be matched."]):CODE
LOWexamples/user-home/modules/extension/firerpa.py125 def click_by_description_matches(self, ctx, regex: Annotated[str, "The string matching the element's description."])CODE
LOWexamples/user-home/modules/extension/firerpa.py141 def current_top_application_info(self, ctx):CODE
LOWexamples/user-home/modules/extension/firerpa.py157 def is_application_running_foreground(self, ctx, package_name: Annotated[str, "The package name, such as com.androidCODE
LOWexamples/user-home/modules/extension/firerpa.py161 def list_application_permissions(self, ctx, package_name: Annotated[str, "The package name, such as com.android.settCODE
LOWexamples/user-home/modules/extension/firerpa.py165 def grant_application_permission(self, ctx, package_name: Annotated[str, "The package name, such as com.android.settCODE
LOWexamples/user-home/modules/extension/firerpa.py169 def revoke_application_permission(self, ctx, package_name: Annotated[str, "The package name, such as com.android.setCODE
LOWlamda/client.py792 def fling_from_top_to_bottom_to_end(self, max_swipes):CODE
LOWlamda/client.py797 def fling_from_bottom_to_top_to_end(self, max_swipes):CODE
LOWlamda/client.py802 def fling_from_left_to_right_to_end(self, max_swipes):CODE
LOWlamda/client.py807 def fling_from_right_to_left_to_end(self, max_swipes):CODE
LOWlamda/client.py842 def scroll_from_top_to_bottom(self, step):CODE
LOWlamda/client.py847 def scroll_from_bottom_to_top(self, step):CODE
LOWlamda/client.py852 def scroll_from_left_to_right(self, step):CODE
LOWlamda/client.py857 def scroll_from_right_to_left(self, step):CODE
LOWlamda/client.py862 def scroll_from_top_to_bottom_to_end(self, max_swipes, step):CODE
LOWlamda/client.py867 def scroll_from_bottom_to_top_to_end(self, max_swipes, step):CODE
LOWlamda/client.py872 def scroll_from_left_to_right_to_end(self, max_swipes, step):CODE
LOWlamda/client.py877 def scroll_from_right_to_left_to_end(self, max_swipes, step):CODE
LOWlamda/client.py1822 def is_android_debug_bridge_running(self):CODE
LOWlamda/client.py1828 def start_android_debug_bridge(self):CODE
LOWlamda/client.py1834 def stop_android_debug_bridge(self):CODE
LOWlamda/client.py2557 def start_android_debug_bridge(self):CODE
LOWlamda/client.py2559 def is_android_debug_bridge_running(self):CODE
LOWlamda/client.py2561 def stop_android_debug_bridge(self):CODE
LOWlamda/client.py2652 def get_watcher_triggered_count(self, name):CODE
LOWlamda/client.py2654 def reset_watcher_triggered_count(self, name):CODE
LOWlamda/client.py2660 def register_click_target_selector_watcher(self, name, conditions,CODE
LOWlamda/client.py2665 def register_press_key_watcher(self, name, conditions, key):CODE
LOWlamda/client.py909 def get_watcher_triggered_count(self, name):CODE
LOWlamda/client.py917 def reset_watcher_triggered_count(self, name):CODE
LOWlamda/client.py941 def register_click_target_selector_watcher(self, name, conditions,CODE
LOWlamda/client.py951 def register_press_key_watcher(self, name, conditions, key):CODE
LOWlamda/client.py1190 def disable_global_method_warning(self):CODE
LOWlamda/client.py1196 def enumerate_running_processes(self):CODE
LOWlamda/client.py1536 def enumerate_running_processes(self):CODE
LOWlamda/client.py1693 def is_ca_certificate_installed(self, certfile):CODE
LOWlamda/client.py1894 def execute_background_script(self, script, alias=None):CODE
LOWlamda/client.py1901 def is_background_script_finished(self, tid):CODE
LOWlamda/client.py1955 def get_userdata_disk_io_info(self):CODE
LOWlamda/client.py2510 def enumerate_running_processes(self):CODE
LOWlamda/client.py2523 def is_ca_certificate_installed(self, certdata):CODE
LOWlamda/client.py2577 def get_virtual_display_by_id(self, display):CODE
LOWlamda/client.py2588 def execute_background_script(self, script, alias=None):CODE
LOWlamda/client.py2590 def is_background_script_finished(self, tid):CODE
Unused Imports35 hits · 30 pts
SeverityFileLineSnippetContext
LOWtools/paddle_ocr_http_api.py6CODE
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
LOWexamples/activity_jump.py3CODE
LOWexamples/search_in_taobao.py3CODE
LOW…/user-home/modules/extension/example_http_extension.py5CODE
LOWexamples/user-home/modules/extension/firerpa.py13CODE
LOWexamples/user-home/modules/extension/firerpa.py14CODE
LOWexamples/image-detection-and-segmentation/detect.py2CODE
LOWexamples/image-detection-and-segmentation/detect.py4CODE
LOW…mples/image-detection-and-segmentation/segmentation.py2CODE
LOW…mples/image-detection-and-segmentation/segmentation.py4CODE
LOWlamda/client.py10CODE
LOWlamda/client.py17CODE
LOWlamda/client.py32CODE
LOWlamda/client.py34CODE
LOWlamda/client.py34CODE
LOWlamda/client.py47CODE
LOWlamda/client.py48CODE
LOWlamda/client.py48CODE
LOWlamda/client.py2731CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMexamples/user-home/modules/extension/mcp_sms_reader.py6# ===================================================================COMMENT
MEDIUMexamples/user-home/modules/extension/mcp_sms_reader.py8# ===================================================================COMMENT
MEDIUMexamples/user-home/modules/extension/firerpa.py6# ===================================================================COMMENT
MEDIUMexamples/user-home/modules/extension/firerpa.py8# ===================================================================COMMENT
AI Structural Patterns11 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/paddle_ocr_http_api.py20CODE
LOWexamples/user-home/modules/extension/firerpa.py88CODE
LOWlamda/client.py443CODE
LOWlamda/client.py1287CODE
LOWlamda/client.py1560CODE
LOWlamda/client.py1621CODE
LOWlamda/client.py2358CODE
LOWlamda/client.py2364CODE
LOWlamda/client.py2367CODE
LOWlamda/client.py2372CODE
LOWlamda/client.py2490CODE
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
LOW…/user-home/modules/extension/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
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlamda/client.py65__all__ = [CODE
LOWlamda/types.py8__all__ = ["AttributeDict", "BytesIO"]CODE