fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的agent框架。
This report summarizes scanner evidence for xszyou/Fay, a Python project with 13,558 GitHub stars. SynthScan examined 104,644 lines of code across 218 source files, recording 979 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 11.5 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 295 finding(s).
Are imports declared and package/API names verified? 80 finding(s).
Are wrappers, guards, and repeated structures necessary? 725 finding(s).
Which changes need focused human review? 979 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 979 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | fay_booter.py | 59 | def get_stream(self): | CODE |
| MEDIUM | fay_booter.py | 95 | def __pyaudio_clear(self): | CODE |
| LOW⚡ | fay_booter.py | 89 | except Exception as e: | CODE |
| LOW⚡ | fay_booter.py | 99 | except Exception as e: | CODE |
| LOW⚡ | fay_booter.py | 106 | except Exception as e: | CODE |
| LOW⚡ | fay_booter.py | 335 | except Exception: | CODE |
| LOW⚡ | fay_booter.py | 340 | except Exception as e: | CODE |
| LOW⚡ | fay_booter.py | 349 | except Exception as e: | CODE |
| LOW⚡ | fay_booter.py | 358 | except Exception as e: | CODE |
| LOW | fay_booter.py | 120 | except Exception as e: | CODE |
| LOW | fay_booter.py | 177 | except Exception as err: | CODE |
| LOW | fay_booter.py | 187 | except Exception: | CODE |
| LOW | fay_booter.py | 215 | except Exception: | CODE |
| LOW | fay_booter.py | 234 | except Exception as serr: | CODE |
| LOW | fay_booter.py | 265 | except Exception as e: | CODE |
| LOW | fay_booter.py | 381 | except Exception as e: | CODE |
| LOW | fay_booter.py | 383 | except Exception as e: | CODE |
| LOW | fay_booter.py | 427 | except Exception as e: | CODE |
| LOW | fay_booter.py | 473 | except Exception as e: | CODE |
| LOW | main.py | 124 | except Exception as e: | CODE |
| LOW | main.py | 128 | except Exception as e: | CODE |
| LOW | main.py | 140 | except Exception as e: | CODE |
| LOW | main.py | 168 | except Exception as e: | CODE |
| LOW | main.py | 298 | except Exception as exc: | CODE |
| MEDIUM | main.py | 137 | def cleanup_and_exit(): | CODE |
| LOW | packaging/sync_release_mcp_config.py | 46 | except Exception: | CODE |
| MEDIUM | llm/nlp_cognitive_stream.py | 2310 | def _on_bg_complete(state): | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 1444 | except Exception as exc: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2091 | except Exception as exc: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2110 | except Exception: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2116 | except Exception: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2122 | except Exception as exc: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2515 | except Exception as llm_err: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2518 | except Exception as user_err: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2523 | except Exception as e: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2702 | except Exception as e: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2704 | except Exception as e: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2707 | except Exception as e: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2717 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 432 | except Exception as exc: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 449 | except Exception: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 459 | except Exception as exc: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 473 | except Exception: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 593 | except Exception: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 603 | except Exception as exc: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1099 | except Exception: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1122 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1163 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1209 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1301 | except Exception as write_err: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1305 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1349 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1376 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1381 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1395 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1413 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1418 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1431 | except Exception as e: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1481 | except Exception as exc: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1501 | except Exception as exc: | CODE |
| 448 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fay_booter.py | 386 | except: | CODE |
| HIGH | fay_booter.py | 187 | except Exception: | CODE |
| HIGH | fay_booter.py | 215 | except Exception: | CODE |
| HIGH | fay_booter.py | 265 | except Exception as e: | CODE |
| HIGH | fay_booter.py | 335 | except Exception: | CODE |
| HIGH | llm/execution_manager.py | 249 | except Exception: | CODE |
| HIGH | llm/execution_manager.py | 352 | except json.JSONDecodeError: | CODE |
| HIGH | llm/execution_manager.py | 383 | except json.JSONDecodeError: | CODE |
| HIGH | core/socket_bridge_service.py | 66 | except websockets.ConnectionClosed: | CODE |
| HIGH | core/socket_bridge_service.py | 151 | except asyncio.CancelledError: | CODE |
| HIGH | core/socket_bridge_service.py | 139 | except Exception: | CODE |
| HIGH | core/socket_bridge_service.py | 143 | except Exception: | CODE |
| HIGH | core/socket_bridge_service.py | 164 | except Exception: | CODE |
| HIGH | core/socket_bridge_service.py | 182 | except Exception: | CODE |
| HIGH | core/socket_bridge_service.py | 198 | except Exception: | CODE |
| HIGH | core/socket_bridge_service.py | 54 | except Exception: | CODE |
| HIGH | core/socket_bridge_service.py | 89 | except Exception: | CODE |
| HIGH | core/qa_service.py | 40 | except Exception as e: | CODE |
| HIGH | core/wsa_server.py | 135 | except asyncio.CancelledError: | CODE |
| HIGH | core/wsa_server.py | 38 | except json.JSONDecodeError: | CODE |
| HIGH | core/fay_core.py | 944 | except Exception: | CODE |
| HIGH | core/fay_core.py | 1127 | except Exception: | CODE |
| HIGH | core/fay_core.py | 2153 | except Exception: | CODE |
| HIGH | core/fay_core.py | 1200 | except Exception: | CODE |
| HIGH | core/fay_core.py | 1982 | except Exception: | CODE |
| HIGH | core/fay_core.py | 720 | except Exception: | CODE |
| HIGH | core/fay_core.py | 1642 | except Exception: | CODE |
| HIGH | core/fay_core.py | 1973 | except Exception: | CODE |
| HIGH | test/mcp_stdio_example.py | 154 | except KeyboardInterrupt: | CODE |
| HIGH | test/clear_proxy.py | 20 | except Exception as e: | CODE |
| HIGH | test/test_fay_gpt_stream.py | 12 | except (ValueError, OSError): | CODE |
| HIGH | faymcp/mcp_service.py | 1118 | except: | CODE |
| HIGH | faymcp/mcp_service.py | 232 | except Exception as e: | CODE |
| HIGH | faymcp/mcp_client.py | 511 | except Exception: | CODE |
| HIGH | faymcp/mcp_client.py | 585 | except Exception: | CODE |
| HIGH | faymcp/mcp_client.py | 612 | except Exception: | CODE |
| HIGH | faymcp/mcp_client.py | 617 | except Exception: | CODE |
| HIGH | faymcp/mcp_server.py | 514 | except Exception: | CODE |
| HIGH | faymcp/mcp_server.py | 593 | except KeyboardInterrupt: | CODE |
| HIGH | faymcp/mcp_server.py | 524 | except Exception: | CODE |
| HIGH | faymcp/mcp_server.py | 530 | except Exception: | CODE |
| HIGH | faymcp/resource_registry.py | 43 | except Exception: | CODE |
| HIGH | faymcp/resource_registry.py | 61 | except Exception: | CODE |
| HIGH | gui/flask_server.py | 753 | except Exception: | CODE |
| HIGH | gui/flask_server.py | 255 | except Exception: | CODE |
| HIGH | gui/flask_server.py | 740 | except Exception: | CODE |
| HIGH | gui/flask_server.py | 694 | except (ValueError, TypeError): | CODE |
| HIGH | gui/flask_server.py | 1032 | except Exception: | CODE |
| HIGH | gui/flask_server.py | 1577 | except Exception: | CODE |
| HIGH | …ayer_knowledge/fay_player_knowledge_base_mcp_server.py | 274 | except Exception: | CODE |
| HIGH | …ayer_knowledge/fay_player_knowledge_base_mcp_server.py | 2147 | except KeyboardInterrupt: | CODE |
| HIGH | …ayer_knowledge/fay_player_knowledge_base_mcp_server.py | 1994 | except OSError: | CODE |
| HIGH | …ayer_knowledge/fay_player_knowledge_base_mcp_server.py | 2000 | except OSError: | CODE |
| HIGH | mcp_servers/window_capture/server.py | 64 | except Exception: | CODE |
| HIGH | mcp_servers/window_capture/server.py | 374 | except KeyboardInterrupt: | CODE |
| HIGH | mcp_servers/schedule_manager/server.py | 806 | except: | CODE |
| HIGH | mcp_servers/schedule_manager/server.py | 924 | except: | CODE |
| HIGH | mcp_servers/schedule_manager/server.py | 837 | except: | CODE |
| HIGH | mcp_servers/schedule_manager/web_server.py | 238 | except: | CODE |
| HIGH | skills/remote_audio_key0.py | 184 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | llm/nlp_cognitive_stream.py | 1448 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | llm/nlp_cognitive_stream.py | 1450 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | llm/nlp_cognitive_stream.py | 2100 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | llm/nlp_cognitive_stream.py | 2102 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | llm/execution_manager.py | 168 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | llm/execution_manager.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | llm/execution_manager.py | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | llm/execution_manager.py | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | llm/execution_manager.py | 578 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | llm/execution_manager.py | 580 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | core/memory_service.py | 183 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | core/memory_service.py | 185 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | core/memory_service.py | 371 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | core/memory_service.py | 373 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/memory_service.py | 56 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/memory_service.py | 58 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/memory_service.py | 102 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/memory_service.py | 104 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/memory_service.py | 147 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/memory_service.py | 149 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | simulation_engine/gpt_structure.py | 35 | # ============================================================================ | COMMENT |
| MEDIUM | simulation_engine/gpt_structure.py | 37 | # ============================================================================ | COMMENT |
| MEDIUM | simulation_engine/gpt_structure.py | 94 | # ============================================================================ | COMMENT |
| MEDIUM | simulation_engine/gpt_structure.py | 96 | # ============================================================================ | COMMENT |
| MEDIUM | simulation_engine/gpt_structure.py | 222 | # ============================================================================ | COMMENT |
| MEDIUM | simulation_engine/gpt_structure.py | 224 | # ============================================================================ | COMMENT |
| MEDIUM | …ayer_knowledge/fay_player_knowledge_base_mcp_server.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ayer_knowledge/fay_player_knowledge_base_mcp_server.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fay_booter.py | 222 | CODE | |
| LOW | fay_booter.py | 269 | CODE | |
| LOW | fay_booter.py | 315 | CODE | |
| LOW | fay_booter.py | 142 | CODE | |
| LOW | packaging/build_windows_release.py | 212 | CODE | |
| LOW | llm/execution_manager.py | 333 | CODE | |
| LOW | core/recorder.py | 94 | CODE | |
| LOW | core/recorder.py | 234 | CODE | |
| LOW | core/qa_service.py | 31 | CODE | |
| LOW | core/qa_service.py | 57 | CODE | |
| LOW | core/action_signal.py | 29 | CODE | |
| LOW | core/wsa_server.py | 28 | CODE | |
| LOW | core/wsa_server.py | 56 | CODE | |
| LOW | core/wsa_server.py | 78 | CODE | |
| LOW | core/fay_core.py | 534 | CODE | |
| LOW | core/fay_core.py | 972 | CODE | |
| LOW | core/fay_core.py | 1088 | CODE | |
| LOW | core/fay_core.py | 1723 | CODE | |
| LOW | core/fay_core.py | 1820 | CODE | |
| LOW | core/fay_core.py | 2027 | CODE | |
| LOW | core/fay_core.py | 2129 | CODE | |
| LOW | core/fay_core.py | 2612 | CODE | |
| LOW | core/memory_service.py | 154 | CODE | |
| LOW | test/easegen_auto_play_server.py | 43 | CODE | |
| LOW | test/test_fay_gpt_stream.py | 34 | CODE | |
| LOW | test/test_remote_audio_socket_10001.py | 30 | CODE | |
| LOW | faymcp/mcp_service.py | 54 | CODE | |
| LOW | faymcp/mcp_service.py | 75 | CODE | |
| LOW | faymcp/mcp_service.py | 210 | CODE | |
| LOW | faymcp/mcp_service.py | 326 | CODE | |
| LOW | faymcp/mcp_service.py | 437 | CODE | |
| LOW | faymcp/mcp_service.py | 580 | CODE | |
| LOW | faymcp/mcp_service.py | 605 | CODE | |
| LOW | faymcp/mcp_service.py | 767 | CODE | |
| LOW | faymcp/mcp_service.py | 836 | CODE | |
| LOW | faymcp/mcp_service.py | 902 | CODE | |
| LOW | faymcp/mcp_service.py | 1027 | CODE | |
| LOW | faymcp/mcp_service.py | 1249 | CODE | |
| LOW | faymcp/mcp_service.py | 1294 | CODE | |
| LOW | faymcp/mcp_service.py | 1320 | CODE | |
| LOW | faymcp/mcp_service.py | 1361 | CODE | |
| LOW | faymcp/mcp_service.py | 1471 | CODE | |
| LOW | faymcp/mcp_service.py | 1678 | CODE | |
| LOW | faymcp/tool_registry.py | 51 | CODE | |
| LOW | faymcp/tool_registry.py | 172 | CODE | |
| LOW | faymcp/mcp_client.py | 302 | CODE | |
| LOW | faymcp/mcp_client.py | 462 | CODE | |
| LOW | faymcp/mcp_client.py | 541 | CODE | |
| LOW | faymcp/mcp_client.py | 737 | CODE | |
| LOW | faymcp/prestart_registry.py | 22 | CODE | |
| LOW | faymcp/mcp_server.py | 311 | CODE | |
| LOW | faymcp/mcp_server.py | 433 | CODE | |
| LOW | faymcp/mcp_server.py | 505 | CODE | |
| LOW | faymcp/resource_registry.py | 98 | CODE | |
| LOW | simulation_engine/llm_json_parser.py | 5 | CODE | |
| LOW | simulation_engine/global_methods.py | 85 | CODE | |
| LOW | simulation_engine/global_methods.py | 240 | CODE | |
| LOW | utils/stream_state_manager.py | 170 | CODE | |
| LOW | utils/stream_text_processor.py | 80 | CODE | |
| LOW | utils/config_util.py | 217 | CODE | |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fay_booter.py | 245 | def accept_audio_device_output_connect(): | CODE |
| LOW | main.py | 15 | def _resolve_runner_script_path(script_arg): | CODE |
| LOW | main.py | 33 | def _maybe_run_mcp_stdio_runner(argv): | CODE |
| LOW | main.py | 62 | def _extract_config_center_id(argv): | CODE |
| LOW | packaging/sync_release_mcp_config.py | 74 | def _is_portable_python_server(server: Dict[str, Any]) -> bool: | CODE |
| LOW | packaging/build_windows_release.py | 135 | def _prepare_release_memory_snapshot() -> None: | CODE |
| LOW | packaging/build_windows_release.py | 212 | def _rewrite_release_mcp_config(output_path: Path, built_targets: Dict[str, str]) -> None: | CODE |
| LOW | packaging/build_windows_release.py | 241 | def _copy_packaged_mcp_into_dist() -> None: | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 1452 | def _classify_intent_for_running_task(content, running_state): | CODE |
| LOW⚡ | llm/nlp_cognitive_stream.py | 2105 | def _end_session_and_remember(response_text: str) -> str: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 56 | def _normalize_short_greeting_text(content: Any) -> str: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 167 | def _extract_text_from_result(value: Any, *, depth: int = 0) -> List[str]: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 319 | def _apply_question_placeholder(value: Any, question: str) -> Any: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 331 | def _remove_prestart_from_text(text: str, keep_marked: bool = True) -> str: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 380 | def _format_conversation_block(conversation: List[Dict], username: str = "User") -> str: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 519 | def _format_schema_parameters(schema: Dict[str, Any]) -> List[str]: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 581 | def _build_workflow_tool_spec(tool_def: Dict[str, Any]) -> Optional[WorkflowToolSpec]: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 653 | def _get_latest_tool_result_text(history: List[ToolResult]) -> str: | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1353 | def remember_conversation_thread(username, content, response_text): | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1398 | def remember_observation_thread(username, observation_text): | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1486 | def _build_new_task_confirm_reply(content, running_state): | CODE |
| LOW | llm/nlp_cognitive_stream.py | 1506 | def _auto_reply_after_execution(username, finished_exec_state): | CODE |
| LOW | llm/nlp_cognitive_stream.py | 2432 | def perform_user_portrait_analysis(): | CODE |
| LOW | llm/nlp_cognitive_stream.py | 2256 | def _first_plan_stream_callback(chunk_text: str) -> None: | STRING |
| LOW⚡ | llm/execution_manager.py | 212 | def _format_tools_for_execution(tool_registry) -> str: | CODE |
| LOW | llm/execution_manager.py | 226 | def _build_execution_next_step_messages(state: ExecutionState) -> list: | CODE |
| LOW | core/recorder.py | 350 | def __notify_listening_status(self): | CODE |
| LOW | core/stream_manager.py | 211 | def _clear_user_specific_audio(self, username, sound_queue): | CODE |
| LOW | core/wsa_server.py | 99 | async def send_message_with_timeout(self, client, message, username, timeout=3): | CODE |
| LOW | core/fay_core.py | 972 | def __send_human_audio_ordered(self, content, username, conversation_id, conversation_msg_no, is_end=False): | CODE |
| LOW | core/fay_core.py | 2027 | def __send_remote_device_audio(self, file_url, interact): | CODE |
| LOW | core/fay_core.py | 2108 | def __is_send_remote_device_audio(self, interact): | CODE |
| LOW | core/fay_core.py | 2612 | def __truncate_think_for_panel(self, text, uid, username): | CODE |
| LOW | core/fay_core.py | 2899 | def __send_digital_human_message(self, text, username, is_first=False, is_end=False): | CODE |
| LOW | core/fay_core.py | 3076 | def __analyze_sentiment_by_keywords(self, text): | CODE |
| LOW | core/content_db.py | 212 | def get_recent_messages_by_user(self, username='User', limit=30): | STRING |
| LOW | core/content_db.py | 252 | def get_previous_user_message(self, msg_id): | CODE |
| LOW | core/content_db.py | 268 | def get_today_messages_by_user(self, username): | STRING |
| LOW | core/content_db.py | 296 | def delete_messages_by_username(self, username): | STRING |
| LOW | test/test_fay_gpt_stream.py | 6 | def _configure_console_streams(): | CODE |
| LOW | faymcp/mcp_service.py | 161 | def _attach_prestart_metadata(server_id: int, tools: List[Dict[str, Any]]) -> List[Dict[str, Any]]: | CODE |
| LOW | faymcp/mcp_service.py | 179 | def _fetch_and_cache_resources(server_id: int, client: McpClient, server_name: str = "") -> None: | CODE |
| LOW | faymcp/mcp_service.py | 326 | def disconnect_all_mcp_servers(): | CODE |
| LOW | faymcp/mcp_service.py | 902 | def get_all_online_server_tools(): | CODE |
| LOW | faymcp/mcp_service.py | 1108 | def schedule_connection_check(): | CODE |
| LOW | faymcp/mcp_service.py | 1249 | def list_runnable_prestart_tools(): | CODE |
| LOW | faymcp/mcp_service.py | 1294 | def _apply_question_placeholder(params: Dict[str, Any], question: str) -> Dict[str, Any]: | CODE |
| LOW | faymcp/mcp_service.py | 1678 | def _autostart_connect_servers(): | CODE |
| LOW⚡ | faymcp/runtime_bridge.py | 53 | def list_runnable_prestart_tools() -> List[Dict[str, Any]]: | CODE |
| LOW | faymcp/mcp_client.py | 154 | def _inject_packaged_python_env( | CODE |
| LOW | faymcp/mcp_client.py | 195 | def _resolve_packaged_stdio_runner( | CODE |
| LOW | faymcp/mcp_client.py | 462 | def _resolve_stdio_launch_config(self) -> Dict[str, Any]: | CODE |
| LOW | faymcp/static/js/vue.js | 2280 | function extractPropsFromVNodeData ( | CODE |
| LOW | faymcp/static/js/vue.js | 3057 | function createFunctionalComponent ( | CODE |
| LOW | faymcp/static/js/vue.js | 3098 | function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) { | CODE |
| LOW | faymcp/static/js/vue.js | 3294 | function createComponentInstanceForVnode ( | CODE |
| LOW | faymcp/static/js/vue.js | 5050 | function resolveConstructorOptions (Ctor) { | CODE |
| LOW | faymcp/static/js/vue.js | 6177 | function removeAndInvokeRemoveHook (vnode, rm) { | CODE |
| LOW | faymcp/static/js/vue.js | 7146 | function getAndRemoveAttr ( | CODE |
| LOW | faymcp/static/js/vue.js | 7167 | function getAndRemoveAttrByRegex ( | CODE |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fay_booter.py | 3 | CODE | |
| LOW | packaging/build_windows_release.py | 1 | CODE | |
| LOW | llm/execution_manager.py | 16 | CODE | |
| LOW | core/recorder.py | 7 | CODE | |
| LOW | core/member_db.py | 2 | CODE | |
| LOW | core/action_signal.py | 1 | CODE | |
| LOW | core/memory_service.py | 34 | CODE | |
| LOW | test/mcp_stdio_example.py | 26 | CODE | |
| LOW | test/test_auto_play_server.py | 5 | CODE | |
| LOW | test/test_windows_adudio_output_listen.py | 1 | CODE | |
| LOW | test/test_remote_audio_websocket_9001.py | 7 | CODE | |
| LOW | test/test_remote_audio_websocket_9001.py | 9 | CODE | |
| LOW | test/test_remote_audio_websocket_9001.py | 10 | CODE | |
| LOW | test/test_human_ws_api.py | 4 | CODE | |
| LOW | test/FunAudioLLM/SenseVoice/model.py | 6 | CODE | |
| LOW | test/FunAudioLLM/SenseVoice/model.py | 11 | CODE | |
| LOW | test/FunAudioLLM/SenseVoice/model.py | 14 | CODE | |
| LOW | faymcp/tool_registry.py | 12 | CODE | |
| LOW | faymcp/runtime_bridge.py | 10 | CODE | |
| LOW | faymcp/prestart_registry.py | 10 | CODE | |
| LOW | faymcp/mcp_server.py | 23 | CODE | |
| LOW | faymcp/resource_registry.py | 21 | CODE | |
| LOW | scheduler/thread_manager.py | 56 | CODE | |
| LOW | simulation_engine/gpt_structure.py | 5 | CODE | |
| LOW | simulation_engine/gpt_structure.py | 5 | CODE | |
| LOW | simulation_engine/gpt_structure.py | 5 | CODE | |
| LOW | simulation_engine/gpt_structure.py | 7 | CODE | |
| LOW | simulation_engine/global_methods.py | 5 | CODE | |
| LOW | utils/util.py | 10 | CODE | |
| LOW | utils/config_util.py | 32 | CODE | |
| LOW | utils/config_util.py | 36 | CODE | |
| LOW | utils/config_util.py | 37 | CODE | |
| LOW | utils/api_embedding_service.py | 4 | CODE | |
| LOW | utils/openai_api/openai_api.py | 1 | CODE | |
| LOW | genagents/genagents.py | 12 | CODE | |
| LOW | genagents/genagents.py | 13 | CODE | |
| LOW | genagents/modules/interaction.py | 1 | CODE | |
| LOW | genagents/modules/interaction.py | 2 | CODE | |
| LOW | genagents/modules/interaction.py | 3 | CODE | |
| LOW | genagents/modules/interaction.py | 4 | CODE | |
| LOW | genagents/modules/interaction.py | 5 | CODE | |
| LOW | genagents/modules/interaction.py | 6 | CODE | |
| LOW | genagents/modules/interaction.py | 9 | CODE | |
| LOW | genagents/modules/interaction.py | 10 | CODE | |
| LOW | genagents/modules/interaction.py | 12 | CODE | |
| LOW | genagents/modules/interaction.py | 13 | CODE | |
| LOW | genagents/modules/interaction.py | 14 | CODE | |
| LOW | genagents/modules/interaction.py | 15 | CODE | |
| LOW | genagents/modules/memory_stream.py | 1 | CODE | |
| LOW | genagents/modules/memory_stream.py | 2 | CODE | |
| LOW | genagents/modules/memory_stream.py | 6 | CODE | |
| LOW | genagents/modules/memory_stream.py | 11 | CODE | |
| LOW | genagents/modules/memory_stream.py | 12 | CODE | |
| LOW | genagents/modules/memory_stream.py | 13 | CODE | |
| LOW | genagents/modules/memory_stream.py | 14 | CODE | |
| LOW | asr/funasr.py | 13 | CODE | |
| LOW | asr/funasr/funasr_client_api.py | 16 | CODE | |
| LOW | asr/funasr/funasr_client_api.py | 18 | CODE | |
| LOW | asr/funasr/funasr_client_api.py | 19 | CODE | |
| LOW | tts/ali_tss.py | 2 | CODE | |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/ovr_lipsync/ovr_lipsync_exe/CMakeCache.txt | 1 | # This is the CMakeCache file. | COMMENT |
| LOW | test/ovr_lipsync/ovr_lipsync_exe/CMakeCache.txt | 241 | //Name of generator platform. | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 21 | # define SIMULATE_ID "MSVC" | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 41 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 61 | # define SIMULATE_ID "GNU" | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 81 | #if defined(__GNUC__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 101 | #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 121 | COMMENT | |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 141 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 161 | /* __IBMCPP__ = VRP */ | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 181 | #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 201 | # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 221 | /* __GHS_VERSION_NUMBER = VVVVRP */ | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 241 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 261 | #elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 281 | COMMENT | |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 301 | # if defined(_MSC_FULL_VER) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 321 | #endif | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 361 | #if defined(__CRAYXT_COMPUTE_LINUX_TARGET) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 381 | #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 401 | COMMENT | |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 421 | # define PLATFORM_ID "UNIX_SV" | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 441 | #elif defined(__WATCOMC__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 461 | #elif defined(__INTEGRITY) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 481 | # define ARCHITECTURE_ID "IA64" | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 501 | # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 521 | # else /* unknown architecture */ | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 541 | # elif defined(__ICCAVR__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 561 | # if defined(__PPC64__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 581 | # if defined(__TI_ARM__) | COMMENT |
| LOW | …0.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp | 681 | # else | COMMENT |
| LOW | faymcp/static/js/vue.js | 1921 | var copies = callbacks.slice(0); | COMMENT |
| LOW | faymcp/static/js/vue.js | 1941 | // The nextTick behavior leverages the microtask queue, which can be accessed | COMMENT |
| LOW | faymcp/static/js/vue.js | 2341 | } | COMMENT |
| LOW | utils/openai_api/api_server.py | 221 | json_post_list = json.loads(json_post) | COMMENT |
| LOW | utils/openai_api/openai_api_request.py | 201 | # -H "Content-Type: application/json" \ | COMMENT |
| LOW | gui/static/js/vue.js | 1921 | var copies = callbacks.slice(0); | COMMENT |
| LOW | gui/static/js/vue.js | 1941 | // The nextTick behavior leverages the microtask queue, which can be accessed | COMMENT |
| LOW | gui/static/js/vue.js | 2341 | } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/recorder.py | 400 | CODE | |
| LOW | test/FunAudioLLM/SenseVoice/model.py | 445 | CODE | |
| LOW | test/FunAudioLLM/SenseVoice/model.py | 584 | CODE | |
| LOW | simulation_engine/gpt_structure.py | 167 | CODE | |
| LOW | simulation_engine/global_methods.py | 237 | CODE | |
| LOW | utils/openai_api/api_server.py | 326 | CODE | |
| LOW | genagents/genagents.py | 179 | CODE | |
| LOW | genagents/genagents.py | 184 | CODE | |
| LOW | genagents/genagents.py | 189 | CODE | |
| LOW | genagents/modules/interaction.py | 65 | CODE | |
| LOW | genagents/modules/interaction.py | 116 | CODE | |
| LOW | mcp_servers/yueshen_rag/server.py | 406 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | utils/config_util.py | 139 | 'API_KEY': 'your-api-key-here', # 默认API密钥 | CODE |
| HIGH | docs/Fay数字人MCP知识库配置指南.md | 98 | "YUESHEN_EMBED_API_KEY": "sk-your-api-key", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | gui/static/js/marked.min.js | 47 | `+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on byt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/FunAudioLLM/SenseVoice/server.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | faymcp/tool_registry.py | 120 | def update_tool_enabled(server_id: int, tool_name: str, enabled: bool) -> None: | CODE |
| LOW | faymcp/mcp_client.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | faymcp/mcp_client.py | 292 | def set_enabled_lookup(self, lookup: Optional[Callable[[str], bool]]) -> None: | CODE |
| LOW | faymcp/prestart_registry.py | 86 | def set_prestart(server_id: int, tool_name: str, params: Dict[str, Any], include_history: bool = True, allow_function_ca | CODE |
| LOW | utils/api_embedding_service.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | asr/funasr/ASR_server.py | 10 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | faymcp/static/js/element.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof def | CODE |
| LOW | faymcp/static/js/vue.js | 6812 | key === 'placeholder' && value !== '' && !el.__ieph | CODE |
| LOW | gui/static/js/element.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof def | CODE |
| LOW | gui/static/js/element-ui.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof def | CODE |
| LOW | gui/static/js/vue.js | 6812 | key === 'placeholder' && value !== '' && !el.__ieph | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mcp_servers/yueshen_rag/README.md | 1 | ## YueShen RAG MCP Server | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/ovr_lipsync/ffmpeg/doc/ffmpeg-devices.html | 1242 | <pre class="example-preformatted"># Create a JACK writable client with name "ffmpeg". | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/ovr_lipsync/ffmpeg/doc/faq.html | 524 | <p>FFmpeg has a <a class="url" href="ffmpeg-formats.html#concat"><code class="code">concat</code></a> demuxer which you | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | faymcp/mcp_client.py | 217 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | faymcp/static/js/vue.js | 4754 | function getData (data, vm) { | CODE |
| LOW | gui/static/js/vue.js | 4754 | function getData (data, vm) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | simulation_engine/global_methods.py | 338 | # Loop through the list in steps of q_chunk_size | COMMENT |