← Back to scan
File as GitHub Issue repo: sgl-project/sglang

Push this scan report to sgl-project/sglang

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

Dockerfile pipes a remote script into a shell

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 DKC001 Compose service runs privileged docker/compose.yaml:1
HIGH DKR006 Dockerfile pipes a remote script into a shell docker/Dockerfile:418
HIGH DKR006 Dockerfile pipes a remote script into a shell docker/Dockerfile:187
HIGH DKR006 Dockerfile pipes a remote script into a shell .devcontainer/Dockerfile:33
HIGH DKR006 Dockerfile pipes a remote script into a shell .devcontainer/Dockerfile:30
HIGH DKC002 Compose service uses host networking examples/monitoring/docker-compose.yaml:12
HIGH DKC002 Compose service uses host networking examples/monitoring/docker-compose.yaml:2
HIGH DKC004 Compose service joins the host IPC namespace docker/compose.yaml:1
HIGH DKC002 Compose service uses host networking docker/compose.yaml:1
HIGH SEC016 [SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolat… benchmark/asr/bench_sglang.py:262
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… benchmark/json_schema/bench_sglang.py:121
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… benchmark/prefill_only/util.py:74
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… scripts/ci_monitor/ci_auto_bisect.py:1150
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… scripts/playground/reference_hf.py:80
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… docs_new/scripts/update_lmsys_sglang_bl…:64
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… scripts/export_deepseek_nextn.py:38
HIGH SEC004 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection. docs/deploy.py:19
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… scripts/ci/utils/diffusion/generate_dif…:104
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… scripts/ci/utils/publish_traces.py:272
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… scripts/ci/cuda/warmup_server.py:230
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … benchmark/benchmark_batch/benchmark_tok…:183
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … benchmark/benchmark_batch/benchmark_bat…:36
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… benchmark/mmlu/bench_sglang.py:66
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… scripts/ci/slurm/analyze_logs_with_moda…:83
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… sgl-kernel/analyze_whl_kernel_sizes.py:14
MED DKR003 Compose service `grafana` image uses the latest tag examples/monitoring/docker-compose.yaml:12
MED DKR003 Compose service `prometheus` image uses the latest tag examples/monitoring/docker-compose.yaml:2
MED DKR003 Compose service `sglang` image uses the latest tag docker/compose.yaml:1
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR017 Dockerfile installs dependencies after copying the full source tree sgl-model-gateway/e2e_test/k8s_integrat…:19
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:111
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:76
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:47
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:35
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:48
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:133
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:123
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:553
MED AIC003 Duplicated implementation block across source files docs_new/src/snippets/autoregressive/de…:52
MED AIC003 Duplicated implementation block across source files python/sglang/srt/speculative/standalon…:104
MED AIC003 Duplicated implementation block across source files python/sglang/srt/speculative/standalon…:32
MED AIC003 Duplicated implementation block across source files python/sglang/srt/speculative/multi_lay…:478
MED JRN002 Browser storage is used for session token material docs/performance_dashboard/app.js:1037
MED JRN002 Browser storage is used for session token material docs/performance_dashboard/app.js:952
MED DKR001 Docker final stage has no non-root USER sgl-model-gateway/e2e_test/k8s_integrat…:25
MED DKR001 Docker final stage has no non-root USER examples/frontend_language/usage/triton…:1
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile:696
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/srt/models/hunyuan_v3.py:1
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/srt/models/deepseek_v4.py:1
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/srt/models/deepseek_v2.py:1
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/srt/layers/attention/dsv4…:1
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/srt/distributed/device_co…:1
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/jit_kernel/flash_attentio…:1
MED AIC001 Parallel implementation file sits beside a canonical file python/sglang/jit_kernel/flash_attentio…:1
MED SEC017 [SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external … benchmark/asr/bench_sglang.py:262
MED AIC004 Suspicious implementation file appears unreferenced test/manual/eval/validate_longbench_v2.…:1
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore sgl-model-gateway/e2e_test/k8s_integrat…:17
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore sgl-kernel/Dockerfile:94
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore docker/Dockerfile:603
MED AGT015 Remote install command pipes network code directly to a shell docs_new/docs/hardware-platforms/cpu_se…:123
MED AGT015 Remote install command pipes network code directly to a shell docs/platforms/cpu_server.md:71
MED AGT015 Remote install command pipes network code directly to a shell 3rdparty/amd/wheel/README.md:82
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. benchmark/llava_bench/download_images.py:18
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. scripts/code_sync/copy_from_oss.py:66
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. sgl-model-gateway/bindings/golang/inter…:539
LOW DKR010 Dockerfile leaves apt package indexes in the image layer docker/Dockerfile:45
LOW DKR011 Dockerfile installs recommended OS packages sgl-model-gateway/e2e_test/k8s_integrat…:27
LOW DKR011 Dockerfile installs recommended OS packages sgl-model-gateway/e2e_test/k8s_integrat…:12
LOW DKR012 Dockerfile keeps pip download cache sgl-kernel/Dockerfile:79
LOW DKR012 Dockerfile keeps pip download cache examples/frontend_language/usage/triton…:8
LOW DKR011 Dockerfile installs recommended OS packages docker/Dockerfile:777
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:656
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:629
LOW DKR011 Dockerfile installs recommended OS packages docker/Dockerfile:587
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:586
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:552
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:527
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:518
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:456
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:418
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:335
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:226
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:192
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR011 Dockerfile installs recommended OS packages .devcontainer/Dockerfile:11
LOW AIC005 Duplicate top-level symbol appears in a patch-style file python/sglang/jit_kernel/flash_attentio…:1
LOW AIC005 Duplicate top-level symbol appears in a patch-style file python/sglang/srt/layers/attention/dsv4…:1
LOW AIC005 Duplicate top-level symbol appears in a patch-style file python/sglang/jit_kernel/deepseek_v4.py:1
LOW AIC005 Duplicate top-level symbol appears in a patch-style file python/sglang/srt/speculative/eagle_wor…:1
LOW AIC002 Source file name looks like an AI patch artifact python/sglang/srt/mem_cache/cpp_radix_t…:1
LOW AIC002 Source file name looks like an AI patch artifact python/sglang/srt/mem_cache/cpp_radix_t…:1
LOW AIC002 Source file name looks like an AI patch artifact python/sglang/srt/configs/deepseek_v4.py:1
LOW AIC002 Source file name looks like an AI patch artifact python/sglang/jit_kernel/fused_metadata…:1
LOW AIC002 Source file name looks like an AI patch artifact python/sglang/jit_kernel/deepseek_v4.py:1
Reset to top 5 94 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `sgl-project/sglang`

**Score: 47/100 (C)**  ·  103 findings  ·  scanned 2026-05-15 07:29 UTC  ·  1,014,275 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 16 |
| MEDIUM | 47 |
| LOW | 30 |

📊 [Full filterable report](https://repobility.com/scan/fd17d536-6c38-4682-a122-18cea8fe9f8b/)  ·  ![scorecard](https://repobility.com/scan/fd17d536-6c38-4682-a122-18cea8fe9f8b/report.png?v=1778830150-s2)

### Top findings

1. **CRITICAL** `DKC001` — Compose service runs privileged
   `docker/compose.yaml:1`
2. **HIGH** `DKR006` — Dockerfile pipes a remote script into a shell
   `docker/Dockerfile:418`
3. **HIGH** `DKR006` — Dockerfile pipes a remote script into a shell
   `docker/Dockerfile:187`
4. **HIGH** `DKR006` — Dockerfile pipes a remote script into a shell
   `.devcontainer/Dockerfile:33`
5. **HIGH** `DKR006` — Dockerfile pipes a remote script into a shell
   `.devcontainer/Dockerfile:30`

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/fd17d536-6c38-4682-a122-18cea8fe9f8b/_
Megaproject â high spam risk
Could not determine 'sgl-project/sglang' 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.

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.