将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口
This report presents the forensic synthetic code analysis of su-kaka/gcli2api, a Python project with 4,977 GitHub stars. SynthScan v2.0 examined 36,928 lines of code across 74 source files, recording 671 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 20.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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 671 distinct pattern matches across 11 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⚡ | web.py | 52 | except Exception as e: | CODE |
| LOW⚡ | web.py | 61 | except Exception as e: | CODE |
| LOW⚡ | web.py | 70 | except Exception as e: | CODE |
| LOW⚡ | web.py | 81 | except Exception as e: | CODE |
| LOW⚡ | web.py | 88 | except Exception as e: | CODE |
| LOW⚡ | web.py | 96 | except Exception as e: | CODE |
| LOW | config.py | 67 | except Exception: | CODE |
| LOW | config.py | 88 | except Exception: | CODE |
| LOW⚡ | log.py | 68 | except Exception: | CODE |
| LOW⚡ | log.py | 108 | except Exception as e: | CODE |
| LOW⚡ | log.py | 146 | except Exception as e: | CODE |
| LOW⚡ | log.py | 151 | except Exception: | CODE |
| LOW⚡ | log.py | 160 | except Exception: | CODE |
| LOW | log.py | 87 | except Exception as e: | CODE |
| LOW | log.py | 172 | except Exception: | CODE |
| MEDIUM | src/auth.py | 102 | def patched_validate(params): | CODE |
| MEDIUM | src/auth.py | 952 | def shutdown_server_async(): | CODE |
| LOW⚡ | src/auth.py | 506 | except Exception as e: | CODE |
| LOW⚡ | src/auth.py | 510 | except Exception as e: | CODE |
| LOW⚡ | src/auth.py | 761 | except Exception as e: | CODE |
| LOW⚡ | src/auth.py | 765 | except Exception as e: | CODE |
| LOW | src/auth.py | 87 | except Exception as e: | CODE |
| LOW | src/auth.py | 142 | except Exception: | CODE |
| LOW | src/auth.py | 253 | except Exception as e: | CODE |
| LOW | src/auth.py | 298 | except Exception as e: | CODE |
| LOW | src/auth.py | 336 | except Exception as e: | CODE |
| LOW | src/auth.py | 870 | except Exception as e: | CODE |
| LOW | src/auth.py | 882 | except Exception as e: | CODE |
| LOW | src/auth.py | 902 | except Exception as e: | CODE |
| LOW | src/auth.py | 906 | except Exception as e: | CODE |
| LOW | src/auth.py | 941 | except Exception as e: | CODE |
| LOW | src/auth.py | 963 | except Exception as e: | CODE |
| LOW | src/auth.py | 977 | except Exception as e: | CODE |
| LOW | src/auth.py | 1009 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 129 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 150 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 168 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 177 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 189 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 239 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 300 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 350 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 354 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 374 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 397 | except Exception as e: | CODE |
| LOW | src/credential_manager.py | 425 | except Exception as e2: | CODE |
| LOW | src/keeplive.py | 30 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 113 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 243 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 315 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 344 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 369 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 386 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 400 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 439 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 460 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 465 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 505 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 608 | except Exception as e: | CODE |
| LOW | src/google_oauth_api.py | 625 | except Exception as e: | CODE |
| 254 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.py | 185 | async def get_anti_truncation_max_attempts() -> int: | CODE |
| LOW | config.py | 304 | async def get_compatibility_mode_enabled() -> bool: | CODE |
| LOW | config.py | 322 | async def get_return_thoughts_to_frontend() -> bool: | CODE |
| LOW | config.py | 358 | async def get_antigravity_switch_credential_enabled() -> bool: | CODE |
| LOW | config.py | 410 | async def get_resource_manager_api_url() -> str: | CODE |
| LOW | config.py | 429 | async def get_service_usage_api_url() -> str: | CODE |
| LOW⚡ | front/common.js | 1458 | function refreshAntigravityCredsList() { AppState.antigravityCreds.refresh(); } | CODE |
| LOW⚡ | front/common.js | 1459 | function applyAntigravityStatusFilter() { AppState.antigravityCreds.applyStatusFilter(); } | CODE |
| LOW⚡ | front/common.js | 1461 | function changeAntigravityPageSize() { AppState.antigravityCreds.changePageSize(); } | CODE |
| LOW⚡ | front/common.js | 1462 | function toggleAntigravityFileSelection(filename) { | CODE |
| LOW⚡ | front/common.js | 1470 | function toggleSelectAllAntigravity() { | CODE |
| LOW | front/common.js | 792 | async function toggleAntigravityCredDetails(pathId) { | CODE |
| LOW | front/common.js | 1202 | async function getAntigravityCredentials() { | CODE |
| LOW | front/common.js | 1239 | function downloadAntigravityCredentials() { | CODE |
| LOW | front/common.js | 1283 | function toggleAntigravityCallbackUrlSection() { | CODE |
| LOW | front/common.js | 1351 | async function processAntigravityCallbackUrl() { | CODE |
| LOW | front/common.js | 1502 | async function downloadAllAntigravityCreds() { | CODE |
| LOW | front/common.js | 1526 | function handleAntigravityFileSelect(event) { AppState.antigravityUploadFiles.handleFileSelect(event); } | CODE |
| LOW | front/common.js | 1527 | function handleAntigravityFileDrop(event) { | CODE |
| LOW | front/common.js | 1584 | async function fetchAntigravityUserEmail(filename) { | CODE |
| LOW | front/common.js | 1641 | async function verifyAntigravityProjectId(filename) { | CODE |
| LOW | front/common.js | 1726 | async function testAntigravityCredential(filename) { | CODE |
| LOW | front/common.js | 1818 | async function toggleAntigravityQuotaDetails(pathId) { | CODE |
| LOW | front/common.js | 1942 | async function toggleAntigravityErrorDetails(pathId) { | CODE |
| LOW | front/common.js | 2189 | async function batchVerifyAntigravityProjectIds() { | CODE |
| LOW | front/common.js | 2371 | async function refreshAllAntigravityEmails() { | CODE |
| LOW | front/common.js | 2423 | async function deduplicateAntigravityByEmail() { | CODE |
| LOW⚡ | src/auth.py | 515 | async def asyncio_complete_auth_flow( | CODE |
| LOW⚡ | src/auth.py | 770 | async def complete_auth_flow_from_callback_url( | CODE |
| LOW | src/auth.py | 45 | def _prepare_credentials_data(credentials: Credentials, project_id: str, mode: str = "geminicli", subscription_tier: str | CODE |
| LOW | src/auth.py | 78 | def _cleanup_auth_flow_server(state: str): | CODE |
| LOW | src/auth.py | 122 | def cleanup_auth_flows_for_memory(): | CODE |
| LOW | src/credential_manager.py | 113 | async def add_antigravity_credential(self, credential_name: str, credential_data: Dict[str, Any]): | CODE |
| LOW | src/credential_manager.py | 433 | def _is_permanent_refresh_failure(self, error_msg: str, status_code: Optional[int] = None) -> bool: | CODE |
| LOW | src/google_oauth_api.py | 374 | async def fetch_user_email_from_file(cred_data: Dict[str, Any]) -> Optional[str]: | CODE |
| LOW | src/google_oauth_api.py | 534 | async def fetch_project_id_and_tier( | CODE |
| LOW | src/utils.py | 81 | def get_base_model_from_feature_model(model_name: str) -> str: | CODE |
| LOW | src/storage_adapter.py | 53 | async def get_all_credential_states(self, mode: str = "geminicli") -> Dict[str, Dict[str, Any]]: | CODE |
| LOW | src/storage_adapter.py | 195 | async def get_all_credential_states(self, mode: str = "geminicli") -> Dict[str, Dict[str, Any]]: | CODE |
| LOW | src/storage_adapter.py | 224 | async def export_credential_to_json(self, filename: str, output_path: str = None) -> bool: | CODE |
| LOW | src/storage_adapter.py | 246 | async def import_credential_from_json(self, json_path: str, filename: str = None) -> bool: | CODE |
| LOW⚡ | src/panel/creds.py | 39 | async def extract_json_files_from_zip(zip_file: UploadFile) -> List[dict]: | CODE |
| LOW⚡ | src/panel/creds.py | 91 | async def clear_all_model_cooldowns_for_credential( | CODE |
| LOW⚡ | src/panel/creds.py | 105 | async def upload_credentials_common( | CODE |
| LOW⚡ | src/panel/creds.py | 1057 | async def deduplicate_credentials_by_email( | CODE |
| LOW | src/panel/creds.py | 301 | async def download_all_creds_common(mode: str = "geminicli") -> Response: | CODE |
| LOW | src/panel/creds.py | 377 | async def refresh_all_user_emails_common(mode: str = "geminicli") -> JSONResponse: | CODE |
| LOW | src/panel/creds.py | 445 | async def deduplicate_credentials_by_email_common(mode: str = "geminicli") -> JSONResponse: | CODE |
| LOW | src/panel/creds.py | 532 | async def verify_credential_project_common(filename: str, mode: str = "geminicli") -> JSONResponse: | CODE |
| LOW | src/panel/creds.py | 1090 | async def verify_credential_project( | CODE |
| LOW | src/panel/creds.py | 1223 | async def configure_preview_channel( | CODE |
| LOW | src/converter/anti_truncation.py | 78 | def apply_regex_replacements_to_payload(payload: Dict[str, Any]) -> Dict[str, Any]: | CODE |
| LOW | src/converter/anti_truncation.py | 432 | def _extract_content_from_chunk(self, data: Dict[str, Any]) -> str: | CODE |
| LOW | src/converter/anti_truncation.py | 459 | async def _handle_non_streaming_response(self, response) -> bytes: | CODE |
| LOW⚡ | src/converter/anti_truncation.py | 543 | def _check_done_marker_in_text(self, text: str) -> bool: | CODE |
| LOW⚡ | src/converter/anti_truncation.py | 551 | def _check_done_marker_in_chunk_content(self, content: str) -> bool: | CODE |
| LOW⚡ | src/converter/anti_truncation.py | 555 | def _extract_content_from_response(self, data: Dict[str, Any]) -> str: | CODE |
| LOW | src/converter/anti_truncation.py | 580 | def _remove_done_marker_from_line(self, line: bytes, line_str: str, data: Dict[str, Any]) -> bytes: | CODE |
| LOW | src/converter/anti_truncation.py | 686 | async def apply_anti_truncation_to_stream( | CODE |
| LOW | src/converter/anti_truncation.py | 721 | def is_anti_truncation_enabled(request_data: Dict[str, Any]) -> bool: | CODE |
| 83 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | log.py | 22 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 26 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 32 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 34 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 58 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 60 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 112 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | log.py | 114 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM | log.py | 203 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM | log.py | 205 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM | log.py | 224 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM | log.py | 226 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/panel/creds.py | 34 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/panel/creds.py | 36 | # ============================================================================= | COMMENT |
| MEDIUM | src/panel/creds.py | 636 | # ============================================================================= | COMMENT |
| MEDIUM | src/panel/creds.py | 638 | # ============================================================================= | COMMENT |
| MEDIUM | src/panel/utils.py | 17 | # ============================================================================= | COMMENT |
| MEDIUM | src/panel/utils.py | 19 | # ============================================================================= | COMMENT |
| MEDIUM | src/panel/utils.py | 98 | # ============================================================================= | COMMENT |
| MEDIUM | src/panel/utils.py | 100 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 27 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 29 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 189 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 191 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 389 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 391 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 581 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 583 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 706 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/converter/anthropic2gemini.py | 708 | # ============================================================================ | COMMENT |
| MEDIUM | src/converter/anthropic2gemini.py | 263 | # ============================================================================ | COMMENT |
| MEDIUM | src/converter/anthropic2gemini.py | 265 | # ============================================================================ | COMMENT |
| MEDIUM | src/converter/anthropic2gemini.py | 356 | # ============================================================================ | COMMENT |
| MEDIUM | src/converter/anthropic2gemini.py | 358 | # ============================================================================ | COMMENT |
| MEDIUM | src/converter/anthropic2gemini.py | 622 | # ============================================================================ | COMMENT |
| MEDIUM | src/converter/anthropic2gemini.py | 624 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | log.py | 119 | CODE | |
| LOW | src/token_estimator.py | 7 | CODE | |
| LOW | src/token_estimator.py | 13 | CODE | |
| LOW | src/auth.py | 122 | CODE | |
| LOW | src/auth.py | 233 | CODE | |
| LOW | src/auth.py | 369 | CODE | |
| LOW | src/auth.py | 515 | CODE | |
| LOW | src/auth.py | 770 | CODE | |
| LOW | src/auth.py | 986 | CODE | |
| LOW | src/credential_manager.py | 243 | CODE | |
| LOW | src/credential_manager.py | 303 | CODE | |
| LOW | src/credential_manager.py | 358 | CODE | |
| LOW | src/credential_manager.py | 433 | CODE | |
| LOW | src/google_oauth_api.py | 405 | CODE | |
| LOW | src/google_oauth_api.py | 634 | CODE | |
| LOW | src/google_oauth_api.py | 716 | CODE | |
| LOW | src/google_oauth_api.py | 128 | CODE | |
| LOW | src/utils.py | 90 | CODE | |
| LOW | src/utils.py | 152 | CODE | |
| LOW | src/task_manager.py | 58 | CODE | |
| LOW | src/storage_adapter.py | 83 | CODE | |
| LOW | src/storage_adapter.py | 283 | CODE | |
| LOW | src/panel/auth.py | 80 | CODE | |
| LOW | src/panel/auth.py | 132 | CODE | |
| LOW | src/panel/version.py | 18 | CODE | |
| LOW | src/panel/config_routes.py | 94 | CODE | |
| LOW | src/panel/creds.py | 39 | CODE | |
| LOW | src/panel/creds.py | 105 | CODE | |
| LOW | src/panel/creds.py | 301 | CODE | |
| LOW | src/panel/creds.py | 445 | CODE | |
| LOW | src/panel/creds.py | 769 | CODE | |
| LOW | src/panel/creds.py | 872 | CODE | |
| LOW | src/panel/creds.py | 1223 | CODE | |
| LOW | src/panel/creds.py | 1451 | CODE | |
| LOW | src/panel/logs.py | 27 | CODE | |
| LOW | src/panel/logs.py | 98 | CODE | |
| LOW | src/converter/anti_truncation.py | 78 | CODE | |
| LOW | src/converter/anti_truncation.py | 216 | CODE | |
| LOW | src/converter/anti_truncation.py | 432 | CODE | |
| LOW | src/converter/anti_truncation.py | 459 | CODE | |
| LOW | src/converter/anti_truncation.py | 555 | CODE | |
| LOW | src/converter/anti_truncation.py | 580 | CODE | |
| LOW | src/converter/fake_stream.py | 162 | CODE | |
| LOW | src/converter/fake_stream.py | 356 | CODE | |
| LOW | src/converter/utils.py | 60 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 128 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 267 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 407 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 536 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 585 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 924 | CODE | |
| LOW | src/converter/gemini_fix.py | 60 | CODE | |
| LOW | src/converter/gemini_fix.py | 248 | CODE | |
| LOW | src/converter/gemini_fix.py | 294 | CODE | |
| LOW | src/converter/gemini_fix.py | 562 | CODE | |
| LOW | src/converter/gemini_fix.py | 650 | CODE | |
| LOW | src/converter/gemini_fix.py | 710 | CODE | |
| LOW | src/converter/openai2gemini.py | 100 | CODE | |
| LOW | src/converter/openai2gemini.py | 197 | CODE | |
| LOW | src/converter/openai2gemini.py | 347 | CODE | |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/utils.py | 162 | 统一的灵活认证函数,支持多种认证方式 此函数可以直接用作 FastAPI 的 Depends 依赖 支持的认证方式: - URL 参数: key - HTTP 头部: Autho | STRING |
| HIGH | src/utils.py | 271 | 简化的控制面板密码验证函数 直接验证Bearer token是否等于控制面板密码 Args: credentials: HTTPAuthorizationCredentials 自动注入 | STRING |
| HIGH | src/panel/utils.py | 137 | 验证 mode 参数 Args: mode: 模式字符串 ("geminicli" 或 "antigravity") Returns: str: 验证后的 mode 字符串 | STRING |
| HIGH | src/converter/thoughtSignature_fix.py | 35 | 将 thoughtSignature 编码到工具调用ID中,以便往返保留。 Args: tool_id: 原始工具调用ID signature: thoughtSignature(可选) | STRING |
| HIGH | src/converter/thoughtSignature_fix.py | 57 | 从编码的ID中提取原始工具ID和thoughtSignature。 Args: encoded_id: 编码的工具调用ID Returns: (原始工具ID, thoughtSi | STRING |
| HIGH | src/api/geminicli.py | 47 | 从凭证数据准备请求头和最终payload Args: payload: 原始请求payload credential_data: 凭证数据字典 target_url | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/token_estimator.py | 2 | CODE | |
| LOW | src/credential_manager.py | 6 | CODE | |
| LOW | src/panel/__init__.py | 29 | CODE | |
| LOW | src/panel/__init__.py | 29 | CODE | |
| LOW | src/panel/__init__.py | 29 | CODE | |
| LOW | src/panel/__init__.py | 29 | CODE | |
| LOW | src/converter/anthropic2gemini.py | 6 | CODE | |
| LOW | src/router/geminicli/gemini.py | 33 | CODE | |
| LOW | src/router/geminicli/gemini.py | 51 | CODE | |
| LOW | src/router/geminicli/openai.py | 35 | CODE | |
| LOW | src/router/geminicli/openai.py | 53 | CODE | |
| LOW | src/router/geminicli/anthropic.py | 15 | CODE | |
| LOW | src/router/geminicli/anthropic.py | 35 | CODE | |
| LOW | src/router/geminicli/anthropic.py | 53 | CODE | |
| LOW | src/router/antigravity/gemini.py | 15 | CODE | |
| LOW | src/router/antigravity/gemini.py | 35 | CODE | |
| LOW | src/router/antigravity/gemini.py | 53 | CODE | |
| LOW | src/router/antigravity/openai.py | 35 | CODE | |
| LOW | src/router/antigravity/openai.py | 53 | CODE | |
| LOW | src/router/antigravity/anthropic.py | 15 | CODE | |
| LOW | src/router/antigravity/anthropic.py | 23 | CODE | |
| LOW | src/router/antigravity/anthropic.py | 35 | CODE | |
| LOW | src/router/antigravity/anthropic.py | 53 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/api/vertex.py | 147 | h["x-goog-ext-353267353-jspb"] = "[null,null,null,194274]" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/panel/creds.py | 659 | CODE | |
| LOW | src/storage/psql_manager.py | 612 | CODE | |
| LOW | src/storage/sqlite_manager.py | 837 | CODE | |
| LOW | src/storage/mongodb_manager.py | 1017 | CODE | |
| LOW | src/router/vertex/gemini.py | 47 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | log.py | 321 | # 2. 设置日志文件: export LOG_FILE=log.txt (或在 .env 中设置) | COMMENT |
| LOW | docker-compose.yml | 21 | # Optional: Google credentials from environment | COMMENT |
| LOW | docker-compose.yml | 41 | - ./data/creds:/app/creds | COMMENT |
| LOW | docker-compose.yml | 61 | # image: mongo:7 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | log.py | 308 | __all__ = ["log", "set_log_level", "LOG_LEVELS"] | CODE |
| LOW | src/panel/__init__.py | 31 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 294 | # Check if web.py exists | COMMENT |