← Back to scan
File as GitHub Issue repo: kubernetes-sigs/inference-perf

Push this scan report to kubernetes-sigs/inference-perf

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

Missing import: `gc` used but not imported

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
CRIT MINED107 Missing import: `http` used but not imported e2e/utils/llm_d_inference_sim.py:117
CRIT MINED107 Missing import: `queue` used but not imported inference_perf/datagen/otel_trace_to_re…:1198
CRIT MINED107 Missing import: `gc` used but not imported inference_perf/datagen/otel_trace_to_re…:1129
CRIT MINED107 Missing import: `signal` used but not imported inference_perf/datagen/replay_graph_ses…:191
CRIT MINED107 Missing import: `gc` used but not imported inference_perf/datagen/replay_graph_ses…:979
CRIT MINED107 Missing import: `queue` used but not imported inference_perf/utils/request_queue.py:67
CRIT MINED107 Missing import: `queue` used but not imported inference_perf/loadgen/load_generator.py:378
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… examples/otel/test_traces/advanced/code…:385
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… examples/otel/test_traces/advanced/code…:360
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… scripts/check_coverage_regression.py:36
HIGH MINED009 [MINED009] Floats For Money: Variable named price/amount/cost typed as float instead of D… inference_perf/datagen/multimodal_sampl…:62
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… inference_perf/client/server_metrics/pr…:36
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… inference_perf/circuit_breaker/simple_b…:41
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … inference_perf/mediagen/synthesis.py:75
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … inference_perf/circuit_breaker/simple_b…:51
HIGH COMP001 [COMP001] High cognitive complexity: Function `to_request_body` has cognitive complexity … inference_perf/apis/user_session.py:141
HIGH COMP001 [COMP001] High cognitive complexity: Function `parse_sse_stream` has cognitive complexity… inference_perf/apis/streaming_parser.py:29
HIGH MINED118 Dockerfile FROM `docker.nix-community.org/nixpkgs/nix-flakes (no tag)` not pinned by dige… Dockerfile.e2e-test:1
HIGH MINED118 Dockerfile FROM `python:3.12.11-alpine3.22` not pinned by digest Dockerfile:24
HIGH MINED118 Dockerfile FROM `python:3.12.11-alpine3.22` not pinned by digest Dockerfile:2
HIGH PYSEC-2026-142 urllib3: PYSEC-2026-142 pdm.lock
HIGH PYSEC-2026-141 urllib3: PYSEC-2026-141 pdm.lock
HIGH PYSEC-2025-217 transformers: PYSEC-2025-217 pdm.lock
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … inference_perf/config/datagen/replay.py:128
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … inference_perf/client/modelserver/base.…:161
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… inference_perf/circuit_breaker/simple_b…:41
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… inference_perf/client/filestorage/base.…:30
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… inference_perf/circuit_breaker/base.py:32
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… inference_perf/apis/base.py:100
MED MINED111 Bare except continues silently inference_perf/client/modelserver/opena…:399
MED MINED111 Bare except continues silently scripts/check_license.py:45
MED MINED111 Bare except continues silently scripts/check_coverage_regression.py:164
MED MINED111 Bare except continues silently scripts/check_coverage_regression.py:151
MED COMP001 [COMP001] High cognitive complexity: Function `update_context` has cognitive complexity 2… inference_perf/apis/user_session.py:84
MED DKR003 Compose service `prometheus` image uses the latest tag examples/vllm/docker-compose.yml:21
MED DKR003 Compose service `vllm-server` image uses the latest tag examples/vllm/docker-compose.yml:3
MED DKR003 Compose service `prometheus` image uses the latest tag examples/tgi/docker-compose.yml:21
MED DKR003 Compose service `prometheus` image uses the latest tag examples/sglang/docker-compose.yml:24
MED DKR002 Dockerfile base image has no explicit tag Dockerfile.e2e-test:1
MED GHSA-69w3-r845-3855 transformers: GHSA-69w3-r845-3855 pdm.lock
MED GHSA-65pc-fj4g-8rjx idna: GHSA-65pc-fj4g-8rjx pdm.lock
MED GHSA-jg22-mg44-37j8 aiohttp: GHSA-jg22-mg44-37j8 pdm.lock
MED GHSA-hg6j-4rv6-33pg aiohttp: GHSA-hg6j-4rv6-33pg pdm.lock
MED DKR001 Docker final stage has no non-root USER Dockerfile.e2e-test:1
MED DKR001 Docker final stage has no non-root USER Dockerfile:24
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. scripts/check_coverage_regression.py:36
LOW AIC003 Duplicated implementation block across source files inference_perf/datagen/synthetic_datage…:18
LOW AIC003 Duplicated implementation block across source files inference_perf/datagen/shared_prefix_da…:233
LOW AIC003 Duplicated implementation block across source files inference_perf/datagen/infinity_instruc…:51
LOW AIC003 Duplicated implementation block across source files inference_perf/datagen/hf_sharegpt_data…:76
LOW AIC003 Duplicated implementation block across source files inference_perf/datagen/conversation_rep…:65
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/vllm_…:23
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/vllm_…:9
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/tgi_c…:131
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/tgi_c…:10
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/tgi_c…:9
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/sglan…:191
LOW AIC003 Duplicated implementation block across source files inference_perf/client/modelserver/sglan…:9
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC010 Compose service lacks no-new-privileges hardening examples/vllm/docker-compose.yml:21
LOW DKC010 Compose service lacks no-new-privileges hardening examples/vllm/docker-compose.yml:3
LOW DKC010 Compose service lacks no-new-privileges hardening examples/tgi/docker-compose.yml:21
LOW DKC010 Compose service lacks no-new-privileges hardening examples/tgi/docker-compose.yml:3
LOW DKC010 Compose service lacks no-new-privileges hardening examples/sglang/docker-compose.yml:24
LOW DKC010 Compose service lacks no-new-privileges hardening examples/sglang/docker-compose.yml:3
LOW DKC006 Compose service does not declare a runtime user examples/vllm/docker-compose.yml:21
LOW DKC006 Compose service does not declare a runtime user examples/vllm/docker-compose.yml:3
LOW DKC006 Compose service does not declare a runtime user examples/tgi/docker-compose.yml:21
LOW DKC006 Compose service does not declare a runtime user examples/tgi/docker-compose.yml:3
LOW DKC006 Compose service does not declare a runtime user examples/sglang/docker-compose.yml:24
LOW DKC006 Compose service does not declare a runtime user examples/sglang/docker-compose.yml:3
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. inference_perf/datagen/replay_graph_typ…:45
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. inference_perf/client/server_metrics/ba…:21
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. inference_perf/apis/base.py:28
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… inference_perf/circuit_breaker/simple_b…:42
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… inference_perf/circuit_breaker/base.py:33
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… inference_perf/apis/base.py:29
Reset to top 5 77 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `kubernetes-sigs/inference-perf`

**Score: 68/100 (B-)**  ·  130 findings  ·  scanned 2026-06-05 19:52 UTC  ·  30,859 LOC

| Severity | Count |
|---|---|
| CRITICAL | 9 |
| HIGH | 14 |
| MEDIUM | 23 |
| LOW | 25 |

📊 [Full filterable report](https://repobility.com/scan/def834f7-1e77-4438-ad9f-7f593101ea91/)  ·  ![scorecard](https://repobility.com/scan/def834f7-1e77-4438-ad9f-7f593101ea91/report.png?v=1780689155-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `http` used but not imported
   `e2e/utils/llm_d_inference_sim.py:117` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `queue` used but not imported
   `inference_perf/datagen/otel_trace_to_replay_graph.py:1198` · ✓ Repobility
3. **CRITICAL** `MINED107` — Missing import: `gc` used but not imported
   `inference_perf/datagen/otel_trace_to_replay_graph.py:1129` · ✓ Repobility
4. **CRITICAL** `MINED107` — Missing import: `signal` used but not imported
   `inference_perf/datagen/replay_graph_session_datagen.py:191` · ✓ Repobility
5. **CRITICAL** `MINED107` — Missing import: `gc` used but not imported
   `inference_perf/datagen/replay_graph_session_datagen.py:979` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/def834f7-1e77-4438-ad9f-7f593101ea91/_
Already filed
'kubernetes-sigs' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 3 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'kubernetes-sigs/inference-perf' 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
72/134 findings (54%) 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.