← Back to scan
File as GitHub Issue repo: alireza0/s-ui

Push this scan report to alireza0/s-ui

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

Server-Side Request Forgery (SSRF) — outbound HTTP from user input

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 SEC096 [SEC096] Rails: SQL injection via where("#{...}") or find_by_sql: ActiveRecord where() / … service/config.go:270
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… util/subToJson.go:16
HIGH SEC088 [SEC088] Go: TLS InsecureSkipVerify=true: tls.Config{InsecureSkipVerify:true} disables ce… util/subToJson.go:16
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… util/common/err.go:21
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… service/warp.go:26
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… install.sh:179
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. service/setting.go:419
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. database/backup.go:193
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. api/apiService.go:329
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … api/session.go:68
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … api/apiV2Handler.go:45
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … api/apiHandler.go:44
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/release.yml:192
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/release.yml:185
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v5` .github/workflows/release.yml:110
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/release.yml:83
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/release.yml:77
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/release.yml:74
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/release.yml:52
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/release.yml:38
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/release.yml:32
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/windows.yml:130
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/windows.yml:123
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/windows.yml:76
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/windows.yml:70
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/windows.yml:67
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/windows.yml:49
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/windows.yml:36
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/windows.yml:30
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/docker.yml:120
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/docker.yml:108
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v5` .github/workflows/docker.yml:71
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/docker.yml:47
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/docker.yml:45
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/docker.yml:26
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docker.yml:17
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/docker.yml:13
HIGH MINED118 Dockerfile FROM `golang:1.26-alpine` not pinned by digest Dockerfile:5
HIGH MINED118 Dockerfile FROM `golang:1.26-alpine` not pinned by digest Dockerfile.frontend-artifact:1
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… sub/subHandler.go:23
HIGH CORE_NO_TESTS No test files found
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… web/web.go:192
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… sub/sub.go:125
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … runSUI.sh:2
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … database/backup.go:150
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … cronjob/WALCheckpointJob.go:16
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR002 Compose service `s-ui` image has no explicit tag docker-compose.yml:19
MED DKR002 Dockerfile base image has no explicit tag Dockerfile.frontend-artifact:36
MED DKR002 Dockerfile base image has no explicit tag Dockerfile:41
MED DKR001 Docker final stage has no non-root USER Dockerfile.frontend-artifact:36
MED DKR001 Docker final stage has no non-root USER Dockerfile:41
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile.frontend-artifact:28
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:33
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 6.1% of discovered r…
MED AGT015 Remote install command pipes network code directly to a shell s-ui.sh:472
MED AGT015 Remote install command pipes network code directly to a shell README.md:122
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:542
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:541
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:540
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:539
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:538
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:537
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … util/linkToJson.go:536
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … api/apiV2Handler.go:99
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … api/apiV2Handler.go:36
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … api/apiV2Handler.go:35
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. database/model/endpoints.go:31
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. database/backup.go:47
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. api/utils.go:34
LOW AIC003 Duplicated implementation block across source files web/web.go:32
LOW AIC003 Duplicated implementation block across source files database/model/services.go:14
LOW AIC003 Duplicated implementation block across source files database/model/outbounds.go:10
LOW AIC003 Duplicated implementation block across source files api/apiV2Handler.go:54
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:19
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:19
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. web/web.go:102
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. core/log.go:212
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… sub/sub.go:31
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… core/main.go:34
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… core/log.go:189
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… sub/jsonService.go:235
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… sub/clashService.go:59
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… cmd/setting.go:184
Reset to top 5 86 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `alireza0/s-ui`

**Score: 73/100 (C+)**  ·  86 findings  ·  scanned 2026-05-21 16:00 UTC  ·  11,072 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 40 |
| MEDIUM | 26 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/62091803-8d8b-4db5-9ad7-1008fd52865a/)  ·  ![scorecard](https://repobility.com/scan/62091803-8d8b-4db5-9ad7-1008fd52865a/report.png?v=1779379250-s2)

### Top findings

1. **CRITICAL** `SEC096` — Rails: SQL injection via where("#{...}") or find_by_sql
   `service/config.go:270` · CWE-89
2. **HIGH** `MINED014` — Disabled Tls Verify
   `util/subToJson.go:16` · CWE-295 · ✓ Repobility
3. **HIGH** `SEC088` — Go: TLS InsecureSkipVerify=true
   `util/subToJson.go:16`
4. **HIGH** `MINED033` — Go Recover Without Log
   `util/common/err.go:21` · CWE-755 · ✓ Repobility
5. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `service/warp.go:26` · A10:2021 SSRF

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/62091803-8d8b-4db5-9ad7-1008fd52865a/_
Megaproject â high spam risk
Could not determine 'alireza0/s-ui' 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.