User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
2311 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contribution_stats.py | 16 | except Exception: |
| MEDIUM | contribution_stats.py | 38 | print('Error: Are you in a git repository?') |
| LOW | contribution_stats.py | 59 | except Exception: |
| MEDIUM | backend/open_webui/functions.py | 297 | def stream_content(): |
| LOW | backend/open_webui/functions.py | 68 | except Exception as e: |
| LOW | backend/open_webui/functions.py | 102 | except Exception as e: |
| LOW | backend/open_webui/functions.py | 146 | except Exception as e: |
| LOW | backend/open_webui/functions.py | 177 | except Exception: |
| LOW | backend/open_webui/functions.py | 206 | except Exception as e: |
| LOW | backend/open_webui/functions.py | 255 | except Exception as e: |
| LOW | backend/open_webui/functions.py | 310 | except Exception as e: |
| LOW | backend/open_webui/functions.py | 338 | except Exception as e: |
| LOW | backend/open_webui/tasks.py | 40 | except Exception as e: |
| LOW | backend/open_webui/config.py | 924 | except Exception as e: |
| LOW | backend/open_webui/config.py | 926 | except Exception as e: |
| LOW | backend/open_webui/config.py | 935 | except Exception as e: |
| LOW | backend/open_webui/config.py | 943 | except Exception as e: |
| LOW | backend/open_webui/config.py | 951 | except Exception as e: |
| LOW | backend/open_webui/config.py | 959 | except Exception as e: |
| LOW | backend/open_webui/config.py | 2368 | except Exception: |
| LOW | backend/open_webui/config.py | 2378 | except Exception: |
| LOW | backend/open_webui/config.py | 2388 | except Exception: |
| LOW | backend/open_webui/config.py | 2398 | except Exception: |
| LOW | backend/open_webui/config.py | 2497 | except Exception: |
| LOW | backend/open_webui/config.py | 2507 | except Exception: |
| LOW | backend/open_webui/config.py | 2517 | except Exception: |
| LOW | backend/open_webui/config.py | 2527 | except Exception: |
| LOW | backend/open_webui/config.py | 2541 | except Exception: |
| LOW | backend/open_webui/config.py | 2551 | except Exception: |
| LOW | backend/open_webui/config.py | 2561 | except Exception: |
| LOW | backend/open_webui/config.py | 2574 | except Exception: |
| LOW | backend/open_webui/config.py | 2584 | except Exception: |
| LOW | backend/open_webui/config.py | 2594 | except Exception: |
| LOW | backend/open_webui/config.py | 2604 | except Exception: |
| LOW | backend/open_webui/config.py | 70 | except Exception as e: |
| LOW | backend/open_webui/config.py | 186 | except Exception as e: |
| LOW | backend/open_webui/config.py | 203 | except Exception as e: |
| LOW | backend/open_webui/config.py | 328 | except Exception as e: |
| LOW | backend/open_webui/config.py | 339 | except Exception as e: |
| LOW | backend/open_webui/config.py | 995 | except Exception as e: |
| LOW | backend/open_webui/config.py | 1178 | except Exception: |
| LOW | backend/open_webui/config.py | 1200 | except Exception as e: |
| LOW | backend/open_webui/config.py | 1231 | except Exception: |
| LOW | backend/open_webui/config.py | 1278 | except Exception as e: |
| LOW | backend/open_webui/config.py | 1326 | except Exception as e: |
| LOW | backend/open_webui/config.py | 1338 | except Exception as e: |
| LOW | backend/open_webui/config.py | 1823 | except Exception as e: |
| LOW | backend/open_webui/config.py | 2412 | except Exception: |
| LOW | backend/open_webui/config.py | 3247 | except Exception as e: |
| LOW | backend/open_webui/env.py | 366 | except Exception: |
| LOW | backend/open_webui/env.py | 376 | except Exception: |
| LOW | backend/open_webui/env.py | 386 | except Exception: |
| LOW | backend/open_webui/env.py | 396 | except Exception: |
| LOW | backend/open_webui/env.py | 56 | except Exception as e: |
| LOW | backend/open_webui/env.py | 70 | except Exception: |
| LOW | backend/open_webui/env.py | 151 | except Exception: |
| LOW | backend/open_webui/env.py | 187 | except Exception: |
| LOW | backend/open_webui/env.py | 433 | except Exception: |
| LOW | backend/open_webui/env.py | 508 | except Exception: |
| LOW | backend/open_webui/env.py | 566 | except Exception as e: |
| 894 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | backend/open_webui/main.py | 1560 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/main.py | 1562 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), |
| CRITICAL | backend/open_webui/main.py | 1603 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get(str(idx), {}) |
| CRITICAL | backend/open_webui/routers/users.py | 258 | 'workspace': WorkspacePermissions(**request.app.state.config.USER_PERMISSIONS.get('workspace', {})), |
| CRITICAL | backend/open_webui/routers/users.py | 259 | 'sharing': SharingPermissions(**request.app.state.config.USER_PERMISSIONS.get('sharing', {})), |
| CRITICAL | backend/open_webui/routers/users.py | 260 | 'access_grants': AccessGrantsPermissions(**request.app.state.config.USER_PERMISSIONS.get('access_grants', {})), |
| CRITICAL | backend/open_webui/routers/users.py | 261 | 'chat': ChatPermissions(**request.app.state.config.USER_PERMISSIONS.get('chat', {})), |
| CRITICAL | backend/open_webui/routers/users.py | 262 | 'features': FeaturesPermissions(**request.app.state.config.USER_PERMISSIONS.get('features', {})), |
| CRITICAL | backend/open_webui/routers/users.py | 263 | 'settings': SettingsPermissions(**request.app.state.config.USER_PERMISSIONS.get('settings', {})), |
| CRITICAL | backend/open_webui/routers/openai.py | 302 | idx = request.app.state.config.OPENAI_API_BASE_URLS.index('https://api.openai.com/v1') |
| CRITICAL | backend/open_webui/routers/openai.py | 318 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 320 | request.app.state.config.OPENAI_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/openai.py | 1334 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 1336 | request.app.state.config.OPENAI_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/openai.py | 287 | key: value for key, value in request.app.state.config.OPENAI_API_CONFIGS.items() if key in keys |
| CRITICAL | backend/open_webui/routers/openai.py | 621 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 623 | request.app.state.config.OPENAI_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/openai.py | 1144 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 1146 | request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 1436 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 1438 | request.app.state.config.OPENAI_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/openai.py | 1545 | api_config = request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/openai.py | 1547 | request.app.state.config.OPENAI_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/images.py | 313 | auth1111_byte_string = request.app.state.config.AUTOMATIC1111_API_AUTH.encode('utf-8') |
| CRITICAL | backend/open_webui/routers/audio.py | 541 | locale = '-'.join(request.app.state.config.TTS_VOICE.split('-')[:2]) |
| CRITICAL | backend/open_webui/routers/audio.py | 1376 | if not request.app.state.config.TTS_OPENAI_API_BASE_URL.startswith('https://api.openai.com'): |
| CRITICAL | backend/open_webui/routers/audio.py | 1437 | if not request.app.state.config.TTS_OPENAI_API_BASE_URL.startswith('https://api.openai.com'): |
| CRITICAL | backend/open_webui/routers/ollama.py | 297 | key: value for key, value in request.app.state.config.OLLAMA_API_CONFIGS.items() if key in keys |
| CRITICAL | backend/open_webui/routers/ollama.py | 338 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 340 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 356 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 358 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 472 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 474 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 490 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 492 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 524 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 526 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 594 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 595 | str(idx), request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}) |
| CRITICAL | backend/open_webui/routers/ollama.py | 889 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 891 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 948 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 950 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 1010 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 1012 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 1137 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 1139 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 1226 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 1228 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 1292 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 1294 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 1344 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 1346 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/routers/ollama.py | 1402 | api_config = request.app.state.config.OLLAMA_API_CONFIGS.get( |
| CRITICAL | backend/open_webui/routers/ollama.py | 1404 | request.app.state.config.OLLAMA_API_CONFIGS.get(url, {}), # Legacy support |
| CRITICAL | backend/open_webui/storage/provider.py | 35 | from azure.core.exceptions import ResourceNotFoundError |
| CRITICAL | backend/open_webui/retrieval/vector/dbs/weaviate.py | 115 | vector_config=weaviate.classes.config.Configure.Vectors.self_provided(), |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/open_webui/functions.py | 58 | async def get_function_module_by_id(request: Request, pipe_id: str): |
| LOW | backend/open_webui/functions.py | 153 | async def generate_function_chat_completion(request, form_data, user, models: dict = {}): |
| LOW | backend/open_webui/tasks.py | 25 | async def redis_task_command_listener(app): |
| LOW | backend/open_webui/main.py | 2279 | async def list_tasks_by_chat_id_endpoint(request: Request, chat_id: str, user=Depends(get_verified_user)): |
| LOW | backend/open_webui/main.py | 2297 | async def stop_tasks_by_chat_id_endpoint(request: Request, chat_id: str, user=Depends(get_verified_user)): |
| LOW | backend/open_webui/main.py | 2515 | async def get_app_latest_release_version(user=Depends(get_verified_user)): |
| LOW | backend/open_webui/routers/functions.py | 378 | async def get_function_valves_by_id( |
| LOW | backend/open_webui/routers/functions.py | 404 | async def get_function_valves_spec_by_id( |
| LOW | backend/open_webui/routers/functions.py | 434 | async def update_function_valves_by_id( |
| LOW | backend/open_webui/routers/functions.py | 480 | async def get_function_user_valves_by_id( |
| LOW | backend/open_webui/routers/functions.py | 501 | async def get_function_user_valves_spec_by_id( |
| LOW | backend/open_webui/routers/functions.py | 526 | async def update_function_user_valves_by_id( |
| LOW | backend/open_webui/routers/files.py | 522 | async def get_file_data_content_by_id( |
| LOW | backend/open_webui/routers/files.py | 552 | async def update_file_data_content_by_id( |
| LOW | backend/open_webui/routers/files.py | 675 | async def get_html_file_content_by_id( |
| LOW | backend/open_webui/routers/terminals.py | 191 | async def _resolve_authenticated_connection(ws: WebSocket, server_id: str): |
| LOW | backend/open_webui/routers/configs.py | 254 | async def get_terminal_servers_config(request: Request, user=Depends(get_admin_user)): |
| LOW | backend/open_webui/routers/configs.py | 261 | async def set_terminal_servers_config( |
| LOW | backend/open_webui/routers/configs.py | 278 | async def verify_terminal_server_connection( |
| LOW | backend/open_webui/routers/configs.py | 335 | async def put_terminal_server_policy( |
| LOW | backend/open_webui/routers/configs.py | 370 | async def verify_tool_servers_config(request: Request, form_data: ToolServerConnection, user=Depends(get_admin_user)): |
| LOW | backend/open_webui/routers/configs.py | 523 | async def get_code_execution_config(request: Request, user=Depends(get_admin_user)): |
| LOW | backend/open_webui/routers/configs.py | 544 | async def set_code_execution_config( |
| LOW | backend/open_webui/routers/models.py | 49 | def _safe_static_redirect_path(url: str) -> Optional[str]: |
| LOW | backend/open_webui/routers/models.py | 635 | async def update_model_access_by_id( |
| LOW | backend/open_webui/routers/skills.py | 336 | async def update_skill_access_by_id( |
| LOW | backend/open_webui/routers/users.py | 256 | async def get_default_user_permissions(request: Request, user=Depends(get_admin_user)): |
| LOW | backend/open_webui/routers/users.py | 268 | async def update_default_user_permissions(request: Request, form_data: UserPermissions, user=Depends(get_admin_user)): |
| LOW | backend/open_webui/routers/users.py | 279 | async def get_user_settings_by_session_user( |
| LOW | backend/open_webui/routers/users.py | 292 | async def update_user_settings_by_session_user( |
| LOW | backend/open_webui/routers/users.py | 329 | async def get_user_status_by_session_user( |
| LOW | backend/open_webui/routers/users.py | 349 | async def update_user_status_by_session_user( |
| LOW | backend/open_webui/routers/users.py | 376 | async def get_user_info_by_session_user(user=Depends(get_verified_user), db: AsyncSession = Depends(get_async_session)): |
| LOW | backend/open_webui/routers/users.py | 387 | async def update_user_info_by_session_user( |
| LOW | backend/open_webui/routers/users.py | 460 | async def get_user_oauth_sessions_by_id( |
| LOW | backend/open_webui/routers/users.py | 479 | async def get_user_profile_image_by_id(user_id: str, user=Depends(get_verified_user)): |
| LOW | backend/open_webui/routers/users.py | 526 | async def get_user_active_status_by_id( |
| LOW | backend/open_webui/routers/tools.py | 680 | async def get_tools_valves_spec_by_id( |
| LOW | backend/open_webui/routers/tools.py | 730 | async def update_tools_valves_by_id( |
| LOW | backend/open_webui/routers/tools.py | 793 | async def get_tools_user_valves_by_id( |
| LOW | backend/open_webui/routers/tools.py | 830 | async def get_tools_user_valves_spec_by_id( |
| LOW | backend/open_webui/routers/tools.py | 875 | async def update_tools_user_valves_by_id( |
| LOW | backend/open_webui/routers/prompts.py | 451 | async def update_prompt_access_by_id( |
| LOW | backend/open_webui/routers/prompts.py | 661 | async def delete_prompt_history_entry( |
| LOW | backend/open_webui/routers/auths.py | 882 | async def delete_oauth_session_by_provider( |
| LOW | backend/open_webui/routers/calendar.py | 36 | async def check_calendar_permission(request: Request, user): |
| LOW | backend/open_webui/routers/openai.py | 137 | def openai_reasoning_model_handler(payload): |
| LOW | backend/open_webui/routers/openai.py | 224 | def get_microsoft_entra_id_access_token(): |
| LOW | backend/open_webui/routers/openai.py | 552 | def is_supported_openai_models(model_id): |
| LOW | backend/open_webui/routers/openai.py | 903 | def convert_to_responses_payload(payload: dict) -> dict: |
| LOW | backend/open_webui/routers/scim.py | 412 | async def get_service_provider_config(): |
| LOW | backend/open_webui/routers/automations.py | 41 | async def check_automations_permission(request, user): |
| LOW | backend/open_webui/routers/retrieval.py | 2341 | async def _validate_collection_access(collection_names: list[str], user, access_type: str = 'read') -> None: |
| LOW | backend/open_webui/routers/retrieval.py | 1276 | def merge_docs_to_target_size( |
| LOW | backend/open_webui/routers/retrieval.py | 2212 | async def search_query_with_semaphore(query): |
| LOW | backend/open_webui/routers/retrieval.py | 2501 | async def delete_entries_from_collection( |
| LOW | backend/open_webui/routers/chats.py | 55 | async def get_session_user_chat_list( |
| LOW | backend/open_webui/routers/chats.py | 94 | async def get_session_user_chat_usage_stats( |
| LOW | backend/open_webui/routers/chats.py | 216 | def get_message_content_length(message): |
| LOW | backend/open_webui/routers/chats.py | 358 | async def generate_chat_stats_jsonl_generator(user_id, filter): |
| 362 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | backend/open_webui/tasks.py | 44 | ### ------------------------------ |
| MEDIUM | backend/open_webui/tasks.py | 46 | ### ------------------------------ |
| MEDIUM | backend/open_webui/routers/terminals.py | 186 | # --------------------------------------------------------------------------- |
| MEDIUM | backend/open_webui/routers/terminals.py | 188 | # --------------------------------------------------------------------------- |
| MEDIUM | backend/open_webui/tools/builtin.py | 179 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 181 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 255 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 257 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 392 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 394 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2532 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2534 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2862 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2864 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 47 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 49 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 565 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 567 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 747 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 749 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 1025 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 1027 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 1176 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 1178 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 1458 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 1460 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2324 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2326 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2384 | # ============================================================================= |
| MEDIUM | backend/open_webui/tools/builtin.py | 2386 | # ============================================================================= |
| MEDIUM | backend/open_webui/internal/db.py | 50 | # ───────────────────────────────────────────────────────────────────── |
| MEDIUM | backend/open_webui/internal/db.py | 211 | # ============================================================ |
| MEDIUM | backend/open_webui/internal/db.py | 214 | # ============================================================ |
| MEDIUM | backend/open_webui/internal/db.py | 327 | # ============================================================ |
| MEDIUM | backend/open_webui/internal/db.py | 329 | # ============================================================ |
| MEDIUM | backend/open_webui/utils/telemetry/metrics.py | 58 | # --------------------------------------------------------------------------- |
| MEDIUM | backend/open_webui/utils/telemetry/metrics.py | 68 | # --------------------------------------------------------------------------- |
| MEDIUM | src/lib/apis/calendar/index.ts | 72 | // ── Calendars ───────────────────────────────── |
| MEDIUM | src/lib/apis/calendar/index.ts | 223 | // ── Events ───────────────────────────────── |
| MEDIUM | src/lib/utils/pptxToHtml.ts | 34 | // ── Read slide dimensions from presentation.xml ────────────────── |
| MEDIUM | src/lib/utils/pptxToHtml.ts | 48 | // ── Collect media files (images) as base64 data URIs ───────────── |
| MEDIUM | src/lib/utils/pptxToHtml.ts | 71 | // ── Discover slide files ───────────────────────────────────────── |
| MEDIUM | src/lib/utils/pptxToHtml.ts | 107 | // ── Create canvas and render slide ─────────────────────────── |
| MEDIUM | src/lib/utils/pptxToHtml.ts | 144 | // ── Picture ────────────────────────────────────────────── |
| MEDIUM | src/lib/utils/pptxToHtml.ts | 164 | // ── Text shape ─────────────────────────────────────────── |
| MEDIUM | src/lib/utils/connections.ts | 10 | // ─── OpenAI Connections ───────────────────────────────── |
| MEDIUM | src/lib/utils/connections.ts | 77 | // ─── Terminal Server Connections ──────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 23 | // ── State ───────────────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 47 | // ── Navigation history ────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 98 | // ── Worker management ───────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 130 | // ── Breadcrumbs ─────────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 146 | // ── Operations ──────────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 312 | // ── Drag and drop ───────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/PyodideFileNav.svelte | 331 | // ── Lifecycle ───────────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/FileNav.svelte | 214 | // ── Upload / folder creation ───────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/FileNav.svelte | 224 | // ── Delete confirmation ────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/FileNav.svelte | 229 | // ── Terminal resolution ────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/FileNav.svelte | 54 | // ── Terminal panel state ──────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/FileNav.svelte | 89 | // ── Directory state ────────────────────────────────────────────────── |
| MEDIUM | src/lib/components/chat/FileNav.svelte | 95 | // ── Sort state ────────────────────────────────────────────────────── |
| 28 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 9 | |
| LOW | backend/open_webui/functions.py | 19 | |
| LOW | backend/open_webui/functions.py | 22 | |
| LOW | backend/open_webui/functions.py | 33 | |
| LOW | backend/open_webui/functions.py | 42 | |
| LOW | backend/open_webui/functions.py | 42 | |
| LOW | backend/open_webui/functions.py | 42 | |
| LOW | backend/open_webui/tasks.py | 8 | |
| LOW | backend/open_webui/config.py | 7 | |
| LOW | backend/open_webui/config.py | 22 | |
| LOW | backend/open_webui/config.py | 22 | |
| LOW | backend/open_webui/config.py | 22 | |
| LOW | backend/open_webui/config.py | 22 | |
| LOW | backend/open_webui/__init__.py | 69 | |
| LOW | backend/open_webui/main.py | 2 | |
| LOW | backend/open_webui/main.py | 7 | |
| LOW | backend/open_webui/main.py | 10 | |
| LOW | backend/open_webui/main.py | 11 | |
| LOW | backend/open_webui/main.py | 16 | |
| LOW | backend/open_webui/main.py | 16 | |
| LOW | backend/open_webui/main.py | 16 | |
| LOW | backend/open_webui/main.py | 20 | |
| LOW | backend/open_webui/main.py | 21 | |
| LOW | backend/open_webui/main.py | 25 | |
| LOW | backend/open_webui/main.py | 28 | |
| LOW | backend/open_webui/main.py | 28 | |
| LOW | backend/open_webui/main.py | 28 | |
| LOW | backend/open_webui/main.py | 28 | |
| LOW | backend/open_webui/main.py | 43 | |
| LOW | backend/open_webui/main.py | 124 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/main.py | 127 | |
| LOW | backend/open_webui/routers/functions.py | 1 | |
| LOW | backend/open_webui/routers/functions.py | 6 | |
| LOW | backend/open_webui/routers/files.py | 39 | |
| LOW | backend/open_webui/routers/files.py | 41 | |
| LOW | backend/open_webui/routers/files.py | 42 | |
| LOW | backend/open_webui/routers/tasks.py | 1 | |
| LOW | backend/open_webui/routers/tasks.py | 2 | |
| LOW | backend/open_webui/routers/tasks.py | 7 | |
| LOW | backend/open_webui/routers/tasks.py | 27 | |
| LOW | backend/open_webui/routers/configs.py | 2 | |
| LOW | backend/open_webui/routers/configs.py | 12 | |
| 258 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contribution_stats.py | 42 | |
| LOW | backend/open_webui/functions.py | 77 | |
| LOW | backend/open_webui/config.py | 342 | |
| LOW | backend/open_webui/main.py | 1545 | |
| LOW | backend/open_webui/main.py | 1674 | |
| LOW | backend/open_webui/main.py | 2617 | |
| LOW | backend/open_webui/main.py | 1974 | |
| LOW | backend/open_webui/routers/functions.py | 146 | |
| LOW | backend/open_webui/routers/files.py | 105 | |
| LOW | backend/open_webui/routers/files.py | 458 | |
| LOW | backend/open_webui/routers/files.py | 612 | |
| LOW | backend/open_webui/routers/files.py | 782 | |
| LOW | backend/open_webui/routers/files.py | 114 | |
| LOW | backend/open_webui/routers/files.py | 476 | |
| LOW | backend/open_webui/routers/terminals.py | 74 | |
| LOW | backend/open_webui/routers/terminals.py | 244 | |
| LOW | backend/open_webui/routers/terminals.py | 297 | |
| LOW | backend/open_webui/routers/terminals.py | 311 | |
| LOW | backend/open_webui/routers/configs.py | 179 | |
| LOW | backend/open_webui/routers/configs.py | 370 | |
| LOW | backend/open_webui/routers/models.py | 280 | |
| LOW | backend/open_webui/routers/models.py | 466 | |
| LOW | backend/open_webui/routers/users.py | 479 | |
| LOW | backend/open_webui/routers/users.py | 540 | |
| LOW | backend/open_webui/routers/tools.py | 65 | |
| LOW | backend/open_webui/routers/auths.py | 319 | |
| LOW | backend/open_webui/routers/auths.py | 571 | |
| LOW | backend/open_webui/routers/auths.py | 789 | |
| LOW | backend/open_webui/routers/calendar.py | 135 | |
| LOW | backend/open_webui/routers/openai.py | 158 | |
| LOW | backend/open_webui/routers/openai.py | 299 | |
| LOW | backend/open_webui/routers/openai.py | 370 | |
| LOW | backend/open_webui/routers/openai.py | 496 | |
| LOW | backend/open_webui/routers/openai.py | 533 | |
| LOW | backend/open_webui/routers/openai.py | 607 | |
| LOW | backend/open_webui/routers/openai.py | 703 | |
| LOW | backend/open_webui/routers/openai.py | 903 | |
| LOW | backend/open_webui/routers/openai.py | 1045 | |
| LOW | backend/open_webui/routers/openai.py | 1080 | |
| LOW | backend/open_webui/routers/openai.py | 1307 | |
| LOW | backend/open_webui/routers/openai.py | 1407 | |
| LOW | backend/open_webui/routers/openai.py | 1511 | |
| LOW | backend/open_webui/routers/openai.py | 567 | |
| LOW | backend/open_webui/routers/scim.py | 51 | |
| LOW | backend/open_webui/routers/scim.py | 647 | |
| LOW | backend/open_webui/routers/scim.py | 702 | |
| LOW | backend/open_webui/routers/scim.py | 936 | |
| LOW | backend/open_webui/routers/retrieval.py | 163 | |
| LOW | backend/open_webui/routers/retrieval.py | 1340 | |
| LOW | backend/open_webui/routers/retrieval.py | 1547 | |
| LOW | backend/open_webui/routers/retrieval.py | 1868 | |
| LOW | backend/open_webui/routers/retrieval.py | 2182 | |
| LOW | backend/open_webui/routers/retrieval.py | 2559 | |
| LOW | backend/open_webui/routers/images.py | 84 | |
| LOW | backend/open_webui/routers/images.py | 353 | |
| LOW | backend/open_webui/routers/images.py | 528 | |
| LOW | backend/open_webui/routers/images.py | 787 | |
| LOW | backend/open_webui/routers/chats.py | 94 | |
| LOW | backend/open_webui/routers/chats.py | 213 | |
| LOW | backend/open_webui/routers/chats.py | 358 | |
| 201 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/start.sh | 48 | # Check if SPACE_ID is set, if so, configure for space |
| LOW | backend/open_webui/functions.py | 89 | # Check if function is a manifold |
| LOW | backend/open_webui/functions.py | 219 | # Check if tool_ids is None |
| LOW | backend/open_webui/config.py | 1778 | # Check if the scheme is either http or https, or a custom scheme |
| LOW | backend/open_webui/env.py | 288 | # Check if the data directory exists in the package directory |
| LOW | backend/open_webui/env.py | 319 | # Check if the file exists |
| LOW | backend/open_webui/main.py | 1696 | # Check if user has access to the model |
| LOW | backend/open_webui/routers/files.py | 631 | # Check if the file already exists in the cache |
| LOW | backend/open_webui/routers/files.py | 698 | # Check if the file already exists in the cache |
| LOW | backend/open_webui/routers/files.py | 747 | # Check if the file already exists in the cache |
| LOW | backend/open_webui/routers/tasks.py | 179 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/tasks.py | 257 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/tasks.py | 326 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/tasks.py | 389 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/tasks.py | 470 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/tasks.py | 549 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/tasks.py | 612 | # Check if the user has a custom task model |
| LOW | backend/open_webui/routers/auths.py | 1095 | # Check if the input string matches the pattern |
| LOW | backend/open_webui/routers/auths.py | 1312 | # Check if provider is configured |
| LOW | backend/open_webui/routers/openai.py | 312 | # Check if the file already exists in the cache |
| LOW | backend/open_webui/routers/openai.py | 1324 | # Check if model is already in app state cache to avoid expensive get_all_models() call |
| LOW | backend/open_webui/routers/openai.py | 271 | # Check if API KEYS length is same than API URLS length |
| LOW | backend/open_webui/routers/openai.py | 381 | # Check if API KEYS length is same than API URLS length |
| LOW | backend/open_webui/routers/openai.py | 1128 | # Check if model is already in app state cache to avoid expensive get_all_models() call |
| LOW | backend/open_webui/routers/openai.py | 1167 | # Check if model is a reasoning model that needs special handling |
| LOW | backend/open_webui/routers/openai.py | 1250 | # Check if response is SSE |
| LOW | backend/open_webui/routers/openai.py | 1475 | # Check if response is SSE |
| LOW | backend/open_webui/routers/openai.py | 1592 | # Check if response is SSE |
| LOW | backend/open_webui/routers/scim.py | 262 | # Check if SCIM is enabled |
| LOW | backend/open_webui/routers/retrieval.py | 2562 | # Check if the directory exists |
| LOW | backend/open_webui/routers/retrieval.py | 1368 | # Check if entries with the same hash (metadata.hash) already exist |
| LOW | backend/open_webui/routers/retrieval.py | 1378 | # Check if the existing document belongs to the same file |
| LOW | backend/open_webui/routers/retrieval.py | 1599 | # Check if the file has already been processed and save the content |
| LOW | backend/open_webui/routers/chats.py | 403 | # Check if the user has permission to share/export chats |
| LOW | backend/open_webui/routers/chats.py | 452 | # Check if the user has permission to share/export chats |
| LOW | backend/open_webui/routers/chats.py | 936 | # Check if user has access via access grants (shared_chat grants) |
| LOW | backend/open_webui/routers/audio.py | 405 | # Check if the file already exists in the cache |
| LOW | backend/open_webui/routers/channels.py | 1643 | # Check if it's url or base64 |
| LOW | backend/open_webui/routers/folders.py | 155 | # Check if folder with same name exists |
| LOW | backend/open_webui/routers/ollama.py | 874 | # Check if model is already in app state cache to avoid expensive get_all_models() call |
| LOW | backend/open_webui/routers/ollama.py | 933 | # Check if model is already in app state cache to avoid expensive get_all_models() call |
| LOW | backend/open_webui/routers/pipelines.py | 222 | # Check if the uploaded file is a python file |
| LOW | backend/open_webui/tools/builtin.py | 1343 | # Check if user has access to the channel |
| LOW | backend/open_webui/internal/wrappers.py | 45 | # Check if using SQLCipher protocol |
| LOW | backend/open_webui/utils/misc.py | 1031 | # Check if buffer exceeds limit |
| LOW | backend/open_webui/utils/files.py | 210 | # Check if the file already exists in the cache |
| LOW | backend/open_webui/utils/task.py | 21 | # Check if the user has a custom task model and use that model |
| LOW | backend/open_webui/utils/tools.py | 1212 | # Check if URL ends with .yaml or .yml to determine format |
| LOW | backend/open_webui/utils/payload.py | 216 | # Check if the content is a string (just a simple message) |
| LOW | backend/open_webui/utils/payload.py | 248 | # Iterate through the list of content items |
| LOW | backend/open_webui/utils/payload.py | 250 | # Check if it's a text type |
| LOW | backend/open_webui/utils/payload.py | 254 | # Check if it's an image URL type |
| LOW | backend/open_webui/utils/chat.py | 208 | # Check if user has access to the model |
| LOW | backend/open_webui/utils/rate_limit.py | 109 | # Increment bucket |
| LOW | backend/open_webui/utils/filter.py | 81 | # Check if the function has a file_handler variable |
| LOW | backend/open_webui/utils/middleware.py | 1561 | # Check if generated queries are empty |
| LOW | backend/open_webui/utils/middleware.py | 1565 | # Check if queries are not found |
| LOW | backend/open_webui/utils/middleware.py | 2880 | # Check if file context extraction is enabled for this model (default True) |
| LOW | backend/open_webui/utils/middleware.py | 1958 | # Check if all files are in full context mode |
| LOW | backend/open_webui/utils/middleware.py | 2393 | # Check if the request has chat_id and is inside of a folder |
| 34 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | backend/open_webui/config.py | 0 | async save — used for all runtime config persistence. |
| HIGH | backend/open_webui/config.py | 0 | async save — used for all runtime config persistence. |
| HIGH | backend/open_webui/config.py | 0 | async save — used for all runtime config persistence. |
| HIGH | …ckend/open_webui/retrieval/vector/dbs/elasticsearch.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | …open_webui/retrieval/vector/dbs/qdrant_multitenancy.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/milvus.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/pinecone.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/opensearch.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/qdrant.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/s3vector.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/opengauss.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | backend/open_webui/retrieval/vector/dbs/weaviate.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | …open_webui/retrieval/vector/dbs/milvus_multitenancy.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| HIGH | …kend/open_webui/retrieval/vector/dbs/mariadb_vector.py | 0 | note: this vector database integration is community-supported and maintained on a best-effort basis. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/open_webui/retrieval/loaders/mineru.py | 184 | # Step 1: Request presigned upload URL |
| LOW | backend/open_webui/retrieval/loaders/mineru.py | 187 | # Step 2: Upload file to presigned URL |
| LOW | backend/open_webui/retrieval/loaders/mineru.py | 190 | # Step 3: Poll for results |
| LOW | backend/open_webui/retrieval/loaders/mineru.py | 193 | # Step 4: Download and extract markdown from ZIP |
| LOW | src/lib/apis/index.ts | 790 | // Step 1: Safely extract the response string |
| LOW | src/lib/apis/index.ts | 793 | // Step 2: Attempt to fix common JSON format issues like single quotes |
| LOW | src/lib/apis/index.ts | 796 | // Step 3: Find the relevant JSON block within the response |
| LOW | src/lib/apis/index.ts | 800 | // Step 4: Check if we found a valid JSON block (with both `{` and `}`) |
| LOW | src/lib/apis/index.ts | 804 | // Step 5: Parse the JSON block |
| LOW | src/lib/apis/index.ts | 807 | // Step 6: If there's a "tags" key, return the tags array; otherwise, return an empty array |
| LOW | src/lib/apis/index.ts | 862 | // Step 1: Safely extract the response string |
| LOW | src/lib/apis/index.ts | 865 | // Step 2: Attempt to fix common JSON format issues like single quotes |
| LOW | src/lib/apis/index.ts | 868 | // Step 3: Find the relevant JSON block within the response |
| LOW | src/lib/apis/index.ts | 872 | // Step 4: Check if we found a valid JSON block (with both `{` and `}`) |
| LOW | src/lib/apis/index.ts | 876 | // Step 5: Parse the JSON block |
| LOW | src/lib/apis/index.ts | 879 | // Step 6: If there's a "follow_ups" key, return the follow_ups array; otherwise, return an empty array |
| LOW | src/lib/apis/index.ts | 934 | // Step 1: Safely extract the response string |
| LOW | src/lib/apis/index.ts | 937 | // Step 2: Attempt to fix common JSON format issues like single quotes |
| LOW | src/lib/apis/index.ts | 940 | // Step 3: Find the relevant JSON block within the response |
| LOW | src/lib/apis/index.ts | 944 | // Step 4: Check if we found a valid JSON block (with both `{` and `}`) |
| LOW | src/lib/apis/index.ts | 948 | // Step 5: Parse the JSON block |
| LOW | src/lib/apis/index.ts | 951 | // Step 6: If there's a "tags" key, return the tags array; otherwise, return an empty array |
| LOW | src/lib/apis/index.ts | 1057 | // Step 1: Safely extract the response string |
| LOW | src/lib/apis/index.ts | 1067 | // Step 5: Parse the JSON block |
| LOW | src/lib/apis/index.ts | 1070 | // Step 6: If there's a "queries" key, return the queries array; otherwise, return an empty array |
| LOW | src/lib/apis/index.ts | 1140 | // Step 5: Parse the JSON block |
| LOW | src/lib/apis/index.ts | 1143 | // Step 6: If there's a "queries" key, return the queries array; otherwise, return an empty array |
| LOW | src/lib/components/notes/NoteEditor.svelte | 298 | // Step 1: Safely extract the response string |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | backend/open_webui/tasks.py | 109 | task = asyncio.create_task(coroutine) # Create the task |
| MEDIUM | backend/open_webui/main.py | 693 | # Creating a mock request object to pass to get_all_models |
| MEDIUM | backend/open_webui/routers/files.py | 760 | # Create a generator that encodes the file content |
| MEDIUM | backend/open_webui/routers/retrieval.py | 2311 | # Create a single collection for all documents |
| MEDIUM | backend/open_webui/internal/db.py | 225 | # Create a custom creator function that uses sqlcipher3 |
| MEDIUM | backend/open_webui/utils/misc.py | 561 | # Create a SHA256 hash of the final string |
| MEDIUM | backend/open_webui/utils/misc.py | 583 | # Create a new SHA-256 hash object |
| MEDIUM | backend/open_webui/utils/chat.py | 113 | # Define a generator to stream responses |
| MEDIUM | backend/open_webui/utils/chat.py | 133 | # Define a background task to run the event generator |
| MEDIUM | backend/open_webui/utils/plugin.py | 221 | # Create a temporary file and use it to define `__file__` so |
| MEDIUM | backend/open_webui/utils/plugin.py | 265 | # Create a temporary file and use it to define `__file__` so |
| MEDIUM | backend/open_webui/utils/middleware.py | 3582 | task_id = str(uuid4()) # Create a unique task ID. |
| MEDIUM | backend/open_webui/models/functions.py | 213 | # Create a dict for O(1) lookup |
| MEDIUM | backend/open_webui/retrieval/utils.py | 457 | # Create the output dictionary |
| MEDIUM | backend/open_webui/retrieval/vector/dbs/pinecone.py | 414 | # Create a zero vector for the dimension as Pinecone requires a vector |
| MEDIUM | backend/open_webui/retrieval/vector/dbs/pgvector.py | 150 | # Create the tables if they do not exist |
| MEDIUM | backend/open_webui/retrieval/vector/dbs/pgvector.py | 416 | # Create the values for query vectors |
| MEDIUM | backend/open_webui/retrieval/vector/dbs/oracle23ai.py | 90 | # Create the appropriate connection pool based on DB type |
| MEDIUM | backend/open_webui/socket/main.py | 220 | # Creating a list of sids to remove if they have timed out |
| MEDIUM | …c/lib/components/admin/Functions/FunctionEditor.svelte | 85 | # This function is the pre-processor for the API where various checks on the input can be performed. |
| MEDIUM | …c/lib/components/admin/Functions/FunctionEditor.svelte | 104 | # This function is the post-processor for the API, which can be used to modify the response |
| MEDIUM | …c/lib/components/admin/Functions/FunctionEditor.svelte | 142 | # This function is the pre-processor for the API where various checks on the input can be performed. |
| MEDIUM | …c/lib/components/admin/Functions/FunctionEditor.svelte | 159 | # This function is the post-processor for the API, which can be used to modify the response |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cypress/support/e2e.ts | 7 | email: 'admin@example.com', |
| LOW | cypress/data/example-doc.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq |
| LOW | cypress/data/example-doc.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq |
| LOW | cypress/data/example-doc.txt | 3 | Enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac. Viverra nibh cras pulvinar mattis nunc. Lacinia at |
| LOW | cypress/data/example-doc.txt | 9 | Facilisis gravida neque convallis a cras. Nisl rhoncus mattis rhoncus urna neque viverra justo. Faucibus purus in massa |
| LOW | cypress/data/example-doc.txt | 9 | Facilisis gravida neque convallis a cras. Nisl rhoncus mattis rhoncus urna neque viverra justo. Faucibus purus in massa |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 22 | 'name': 'John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 34 | name='John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 55 | name='John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 78 | name='John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 89 | assert data['name'] == 'John Doe' |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 100 | 'name': 'John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 108 | assert data['name'] == 'John Doe' |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 140 | name='John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 149 | 'name': 'John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 157 | name='John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 172 | name='John Doe', |
| LOW | …ckend/open_webui/test/apps/webui/routers/test_auths.py | 188 | name='John Doe', |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | package-lock.json | 12810 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | run-compose.sh | 23 | # This is a simplified list, and in a real-world scenario, you'd want a more comprehensive one |
| MEDIUM | backend/open_webui/test/util/test_redis.py | 715 | """Test all factory methods in async mode - comprehensive test""" |
| MEDIUM | backend/open_webui/utils/oauth.py | 719 | # TODO: Replace this logic with a more robust OAuth client registration validation |
| LOW | backend/open_webui/utils/mcp/client.py | 164 | # We simply call aclose() directly. If the task is cancelled, the |
| MEDIUM | …kend/open_webui/retrieval/web/testdata/google_pse.json | 405 | "htmlSnippet": "The Sam Fox School's Spring 2024 Public \u003cb\u003eLecture\u003c/b\u003e Series highlights desi |
| MEDIUM | backend/open_webui/retrieval/loaders/mistral.py | 709 | # MONITORING: Log comprehensive batch processing statistics |
| MEDIUM | src/lib/components/common/Textarea.svelte | 40 | // and it makes the fix 100% robust without relying on hardcoded CSS classes. |
| MEDIUM | src/lib/components/common/DropdownSub.svelte | 56 | // Vertical positioning with robust bounds clamping (shift method) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cypress/e2e/documents.cy.ts | 1 | // eslint-disable-next-line @typescript-eslint/triple-slash-reference |
| LOW | backend/open_webui/env.py | 401 | # SQLite PRAGMA tuning — these defaults are optimised for WAL-mode web-server |
| LOW | backend/open_webui/alembic.ini | 1 | # A generic, single database configuration. |
| LOW | backend/open_webui/alembic.ini | 21 | # timezone = |
| LOW | backend/open_webui/alembic.ini | 41 | |
| LOW | backend/open_webui/alembic.ini | 61 | # sqlalchemy.url = REPLACE_WITH_DATABASE_URL |
| LOW | backend/open_webui/main.py | 841 | ######################################## |
| LOW | backend/open_webui/main.py | 1381 | # WEBUI |
| LOW | backend/open_webui/main.py | 2041 | else: |
| LOW | backend/open_webui/routers/evaluations.py | 41 | # 3. The Elo formula: new_rating = old_rating + K * (actual - expected) |
| LOW | backend/open_webui/routers/ollama.py | 81 | ########################################## |
| LOW | scripts/generate-sbom.sh | 1 | #!/usr/bin/env bash |
| LOW | src/lib/apis/ollama/index.ts | 541 | |
| LOW | …/lib/components/common/RichTextInput/AutoCompletion.js | 141 | |
| LOW | …/lib/components/common/RichTextInput/AutoCompletion.js | 241 | // const { state, dispatch } = view; |
| LOW | src/routes/+layout.js | 1 | // if you want to generate a static html file |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | backend/open_webui/retrieval/vector/dbs/oracle23ai.py | 356 | Handle Decimal objects for JSON serialization. Args: obj: Object to serialize Ret |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/lib/workers/pyodide.worker.ts | 217 | print(f"data:image/png;base64,{img_str}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …kend/open_webui/retrieval/web/testdata/google_pse.json | 238 | "og:description": "Welcome to Control Systems Lectures! This collection of videos is intended to supplement a fir |
| LOW | …kend/open_webui/retrieval/web/testdata/google_pse.json | 254 | "twitter:description": "Welcome to Control Systems Lectures! This collection of videos is intended to supplement |
| LOW | src/lib/components/workspace/Tools/ToolkitEditor.svelte | 62 | # Add your custom tools using pure Python code here, make sure to add type hints and descriptions |
| MEDIUM | …c/lib/components/admin/Functions/FunctionEditor.svelte | 226 | # This is where you can add your custom pipelines like RAG. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/generate-sbom.sh | 13 | # Usage: |
| LOW | src/lib/components/common/RichTextInput.svelte | 727 | // Usage example |