← Back to scan
File as GitHub Issue repo: BerriAI/litellm

Push this scan report to BerriAI/litellm

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

FastAPI POST /model/{model_path:path}/invoke has no auth

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED118 [MINED118] Dockerfile FROM `ollama/ollama (no tag)` not pinned by digest: `FROM ollama/ol… cookbook/litellm-ollama-docker-image/Do…:1
HIGH MINED112 [MINED112] FastAPI POST /v1/chat/completions has no auth: Handler `chat_completions` is r… tests/load_tests/memory_leak_utils.py:53
HIGH MINED112 [MINED112] FastAPI POST /log-event has no auth: Handler `log_event` is registered with ro… enterprise/litellm_enterprise/enterpris…:8
HIGH MINED112 [MINED112] FastAPI POST /model/{model_path:path}/invoke-with-response-stream has no auth:… scripts/mock_bedrock_passthrough_target…:250
HIGH MINED112 [MINED112] FastAPI POST /model/{model_path:path}/invoke has no auth: Handler `invoke` is … scripts/mock_bedrock_passthrough_target…:244
MED MINED109 [MINED109] Mutable default argument in `embedding` (list): `def embedding(... = []/{}/set… litellm/main.py:4771
MED MINED109 [MINED109] Mutable default argument in `embedding` (list): `def embedding(... = []/{}/set… litellm/main.py:4744
MED MINED109 [MINED109] Mutable default argument in `embedding` (list): `def embedding(... = []/{}/set… litellm/main.py:4718
MED MINED109 [MINED109] Mutable default argument in `completion` (list): `def completion(... = []/{}/s… litellm/main.py:1085
MED MINED109 [MINED109] Mutable default argument in `acompletion` (list): `def acompletion(... = []/{}… litellm/main.py:394
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/utils.py:6849
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/utils.py:6411
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/utils.py:6326
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/utils.py:5667
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/utils.py:5192
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/utils.py:2282
MED MINED109 [MINED109] Mutable default argument in `register_prompt_template` (dict): `def register_p… litellm/utils.py:6943
MED MINED109 [MINED109] Mutable default argument in `decode` (list): `def decode(... = []/{}/set())` —… litellm/utils.py:2249
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/_service_logger.py:39
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/_logging.py:60
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:5454
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:9186
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:5651
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:4802
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:4636
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:4582
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:3437
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:3376
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:3315
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:3298
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:8730
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/router.py:6638
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… litellm/router.py:244
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… litellm/router.py:244
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/cost_calculator.py:2530
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/cost_calculator.py:2289
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/cost_calculator.py:2053
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/cost_calculator.py:1943
MED MINED109 [MINED109] Mutable default argument in `completion_cost` (list): `def completion_cost(...… litellm/cost_calculator.py:1139
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… litellm/_version.py:5
MED SEC046 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning win… ui/litellm-dashboard/src/app/onboarding…:56
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… ui/litellm-dashboard/e2e_tests/run_e2e.…:100
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … litellm/types/llms/openai_evals.py:134
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… ui/litellm-dashboard/src/components/Cos…:67
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… litellm/proxy/common_utils/html_forms/u…:245
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… litellm/proxy/common_utils/admin_ui_uti…:90
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. ui/litellm-dashboard/e2e_tests/helpers/…:23
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. litellm/proxy/_experimental/out/_next/s…:1
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. litellm/proxy/_experimental/out/_next/s…:1
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … litellm/proxy/auth/rds_iam_token.py:162
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … litellm/llms/base.py:54
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… litellm/litellm_core_utils/dd_tracing.py:85
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… litellm/integrations/otel/mappers/utils…:32
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… litellm/integrations/cloudzero/transfor…:213
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… litellm/llms/azure_ai/vector_stores/tra…:248
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… litellm/integrations/custom_prompt_mana…:59
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… litellm/caching/base_cache.py:35
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… litellm/llms/anthropic/count_tokens/han…:69
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… litellm/a2a_protocol/litellm_completion…:130
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… litellm/a2a_protocol/exception_mapping_…:190
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… enterprise/litellm_enterprise/enterpris…:46
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… enterprise/litellm_enterprise/enterpris…:59
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… enterprise/enterprise_hooks/google_text…:85
MED COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 15 (SonarSo… .github/scripts/scan_keywords.py:77
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED MINED124 [MINED124] requirements.txt: `claude-agent-sdk` has no version pin: Unpinned pip requirem… cookbook/anthropic_agent_sdk/requiremen…:1
MED DKR002 Compose service `prometheus` image has no explicit tag docker-compose.yml:55
MED DKR002 Dockerfile base image has no explicit tag cookbook/litellm-ollama-docker-image/Do…:1
MED DKC016 App service does not wait for database health docker-compose.yml:1
MED DKR009 Dockerfile separates apt update from install cookbook/litellm-ollama-docker-image/Do…:10
MED JRN002 Browser storage is used for session token material ui/litellm-dashboard/src/components/use…:102
MED JRN002 Browser storage is used for session token material ui/litellm-dashboard/src/components/use…:99
MED JRN002 Browser storage is used for session token material litellm/proxy/_experimental/out/_next/s…:46
MED JRN002 Browser storage is used for session token material litellm/proxy/_experimental/out/_next/s…:1
MED DKR001 Docker final stage has no non-root USER ui/Dockerfile:27
MED DKR001 Docker final stage has no non-root USER docker/build_from_pip/Dockerfile.build_…:4
MED DKR001 Docker final stage has no non-root USER cookbook/litellm-ollama-docker-image/Do…:1
MED AIC001 Parallel implementation file sits beside a canonical file tests/proxy_unit_tests/conftest copy.py:1
MED AIC001 Parallel implementation file sits beside a canonical file cookbook/litellm_router_load_test/memor…:1
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AIC004 Suspicious implementation file appears unreferenced cookbook/litellm_router_load_test/memor…:1
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore migrations/Dockerfile:62
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore gateway/Dockerfile:52
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore docker/Dockerfile.non_root:53
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore docker/Dockerfile.database:47
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore cookbook/litellm-ollama-docker-image/Do…:19
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore backend/Dockerfile:52
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:48
MED JRN003 Frontend API reference is not matched by discovered backend routes litellm/proxy/_experimental/out/_next/s…:10
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 44.4% of discovered …
MED AUC012 [AUC012] FastAPI interactive docs may be exposed by framework defaults: FastAPI exposes /…
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/_experimental/mcp_server/…:572
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/_experimental/mcp_server/…:516
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/_experimental/mcp_server/…:515
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/_experimental/mcp_server/…:767
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/management_endpoints/jwt_…:152
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/management_endpoints/ui_s…:822
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/proxy_server.py:13532
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … litellm/proxy/proxy_server.py:13315
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … cookbook/mock_guardrail_server/mock_bed…:469
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … cookbook/mock_guardrail_server/mock_bed…:448
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… litellm/proxy/_experimental/mcp_server/…:1062
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… litellm/proxy/_experimental/mcp_server/…:1061
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… litellm/proxy/management_endpoints/ui_s…:1832
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… litellm/proxy/proxy_server.py:13755
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… litellm/proxy/proxy_server.py:13687
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… litellm/proxy/proxy_server.py:13669
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… cookbook/litellm_proxy_server/braintrus…:165
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… cookbook/mock_prompt_management_server/…:197
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… litellm/router_utils/cooldown_cache.py:110
LOW COMP001 [COMP001] High cognitive complexity: Function `detect_keywords` has cognitive complexity … .github/scripts/scan_keywords.py:27
LOW COMP001 [COMP001] High cognitive complexity: Function `fetch_open_issues` has cognitive complexit… .github/scripts/close_duplicate_issues.…:42
LOW AIC003 Duplicated implementation block across source files litellm/integrations/litellm_agent/lite…:17
LOW AIC003 Duplicated implementation block across source files litellm/integrations/langsmith.py:233
LOW AIC003 Duplicated implementation block across source files litellm/integrations/langfuse/langfuse_…:164
LOW AIC003 Duplicated implementation block across source files litellm/integrations/langfuse/langfuse_…:143
LOW AIC003 Duplicated implementation block across source files litellm/integrations/humanloop.py:122
LOW AIC003 Duplicated implementation block across source files litellm/integrations/gitlab/gitlab_prom…:460
LOW AIC003 Duplicated implementation block across source files litellm/integrations/gitlab/gitlab_prom…:312
LOW AIC003 Duplicated implementation block across source files litellm/integrations/gitlab/gitlab_prom…:32
LOW AIC003 Duplicated implementation block across source files litellm/integrations/generic_prompt_man…:379
LOW AIC003 Duplicated implementation block across source files litellm/integrations/generic_prompt_man…:378
LOW AIC003 Duplicated implementation block across source files litellm/integrations/generic_prompt_man…:352
LOW AIC003 Duplicated implementation block across source files litellm/integrations/focus/database.py:49
LOW AIC003 Duplicated implementation block across source files litellm/integrations/email_templates/ke…:11
LOW AIC003 Duplicated implementation block across source files litellm/integrations/dotprompt/dotpromp…:155
LOW AIC003 Duplicated implementation block across source files litellm/integrations/dotprompt/dotpromp…:126
LOW AIC003 Duplicated implementation block across source files litellm/integrations/dotprompt/dotpromp…:123
LOW AIC003 Duplicated implementation block across source files litellm/integrations/datadog/datadog_me…:7
LOW AIC003 Duplicated implementation block across source files litellm/integrations/custom_prompt_mana…:20
LOW AIC003 Duplicated implementation block across source files litellm/integrations/custom_prompt_mana…:19
LOW AIC003 Duplicated implementation block across source files litellm/integrations/bitbucket/bitbucke…:415
LOW AIC003 Duplicated implementation block across source files litellm/integrations/bitbucket/bitbucke…:215
LOW AIC003 Duplicated implementation block across source files litellm/integrations/arize/arize_phoeni…:361
LOW AIC003 Duplicated implementation block across source files litellm/compression/scoring/embedding_s…:8
LOW AIC003 Duplicated implementation block across source files litellm/caching/in_memory_cache.py:162
LOW AIC003 Duplicated implementation block across source files cookbook/litellm_router_load_test/memor…:5
LOW AIC003 Duplicated implementation block across source files cookbook/litellm_router_load_test/memor…:14
LOW AIC003 Duplicated implementation block across source files cookbook/litellm_router/load_test_route…:1
LOW AIC003 Duplicated implementation block across source files cookbook/litellm_router/load_test_queui…:11
LOW AIC003 Duplicated implementation block across source files cookbook/gollem_go_agent_framework/stre…:1
LOW AIC003 Duplicated implementation block across source files cookbook/anthropic_agent_sdk/main.py:35
LOW DKR012 Dockerfile keeps pip download cache docker/build_from_pip/Dockerfile.build_…:27
LOW DKR012 Dockerfile keeps pip download cache cookbook/litellm-ollama-docker-image/Do…:23
LOW DKR011 Dockerfile installs recommended OS packages cookbook/litellm-ollama-docker-image/Do…:13
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW AIC007 Generated build artifact directory is present at repository root dist:1
LOW AIC009 Multiple AI-agent scaffold marker files are present AGENTS.md:1
LOW AIC005 Duplicate top-level symbol appears in a patch-style file cookbook/litellm_router_load_test/memor…:1
LOW AIC005 Duplicate top-level symbol appears in a patch-style file tests/proxy_unit_tests/conftest copy.py:1
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:55
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:1
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:55
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:1
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… ui/litellm-dashboard/src/components/age…:126
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. ui/litellm-dashboard/src/components/gua…:125
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. ui/litellm-dashboard/src/components/age…:51
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … ui/litellm-dashboard/src/components/Nav…:44
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … ui/litellm-dashboard/src/app/(dashboard…:28
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… ui/litellm-dashboard/src/components/AIH…:134
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… ui/litellm-dashboard/src/components/AIH…:181
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… ui/litellm-dashboard/src/app/(dashboard…:60
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. ui/litellm-dashboard/src/app/(dashboard…:9
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. ui/litellm-dashboard/src/app/(dashboard…:9
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. ui/litellm-dashboard/src/app/(dashboard…:11
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… ui/litellm-dashboard/e2e_tests/run_e2e.…:109
INFO MINED063 [MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de… litellm/proxy/auth/litellm_license.py:45
INFO MINED047 [MINED047] Emoji In Source: Emoji ✅ ❌ 🚀 in code/comments — common AI output unless explic… litellm/proxy/_experimental/out/_next/s…:1
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … ui/litellm-dashboard/src/app/(dashboard…:26
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … ui/litellm-dashboard/e2e_tests/globalSe…:31
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … litellm/proxy/_experimental/out/_next/s…:1
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. litellm/llms/chatgpt/common_utils.py:128
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. litellm/llms/azure/audio_transcription/…:27
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. litellm/integrations/vector_store_integ…:4
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. litellm/integrations/opik/opik_payload_…:7
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. litellm/integrations/mock_client_factor…:19
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. litellm/integrations/focus/destinations…:10
INFO MINED076 [MINED076] Catch And Reraise Noop: except X: raise X — adds no value, hides traceback if … litellm/llms/databricks/streaming_utils…:85
INFO MINED076 [MINED076] Catch And Reraise Noop: except X: raise X — adds no value, hides traceback if … litellm/llms/base_llm/base_model_iterat…:131
INFO MINED076 [MINED076] Catch And Reraise Noop: except X: raise X — adds no value, hides traceback if … litellm/google_genai/streaming_iterator…:107
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… enterprise/enterprise_hooks/aporia_ai.py:164
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… cookbook/livekit_agent_sdk/main.py:93
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… cookbook/litellm_proxy_server/braintrus…:83
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. cookbook/litellm_proxy_server/secret_ma…:19
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. cookbook/litellm_proxy_server/cli_token…:17
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. cookbook/litellm_proxy_server/braintrus…:203
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… litellm/integrations/otel/plumbing/prov…:90
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… cookbook/livekit_agent_sdk/main.py:28
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… cookbook/litellm_proxy_server/braintrus…:265
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. litellm/proxy/auth/rds_iam_token.py:80
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. cookbook/litellm_proxy_server/batch_api…:12
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… cookbook/gollem_go_agent_framework/tool…:59
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… cookbook/gollem_go_agent_framework/stre…:35
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… cookbook/gollem_go_agent_framework/basi…:36
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… cookbook/misc/add_new_models.py:49
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… cookbook/litellm_router/load_test_queui…:93
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… cookbook/community-resources/get_hf_mod…:30
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. cookbook/anthropic_agent_sdk/main.py:55
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. cookbook/anthropic_agent_sdk/common.py:105
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. cookbook/anthropic_agent_sdk/agent_with…:92
Reset to top 5 200 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `BerriAI/litellm`

**Score: 76/100 (A-)**  ·  352 findings  ·  scanned 2026-06-05 17:53 UTC  ·  1,634,513 LOC

| Severity | Count |
|---|---|
| CRITICAL | 7 |
| HIGH | 76 |
| MEDIUM | 104 |
| LOW | 45 |

📊 [Full filterable report](https://repobility.com/scan/820db842-8975-416c-bdf3-08d7d414dd83/)  ·  ![scorecard](https://repobility.com/scan/820db842-8975-416c-bdf3-08d7d414dd83/report.png?v=1780682000-s2)

### Top findings

1. **HIGH** `MINED118` — Dockerfile FROM `ollama/ollama (no tag)` not pinned by digest: `FROM ollama/ollama (no tag
   `cookbook/litellm-ollama-docker-image/Dockerfile:1` · ✓ Repobility
2. **HIGH** `MINED112` — FastAPI POST /v1/chat/completions has no auth
   `tests/load_tests/memory_leak_utils.py:53` · ✓ Repobility
3. **HIGH** `MINED112` — FastAPI POST /log-event has no auth
   `enterprise/litellm_enterprise/enterprise_callbacks/example_logging_api.py:8` · ✓ Repobility
4. **HIGH** `MINED112` — FastAPI POST /model/{model_path:path}/invoke-with-response-stream has no auth
   `scripts/mock_bedrock_passthrough_target.py:250` · ✓ Repobility
5. **HIGH** `MINED112` — FastAPI POST /model/{model_path:path}/invoke has no auth
   `scripts/mock_bedrock_passthrough_target.py:244` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/820db842-8975-416c-bdf3-08d7d414dd83/_
Megaproject â high spam risk
Could not determine 'BerriAI/litellm' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
146/403 findings (36%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.