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

Push this scan report to shenaba/2s-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:284
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 MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. service/acme.go:136
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… service/acme.go:78
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. service/config.go:188
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 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 GO-2026-5039 stdlib: GO-2026-5039 go.mod
HIGH GO-2026-5038 stdlib: GO-2026-5038 go.mod
HIGH GO-2026-5037 stdlib: GO-2026-5037 go.mod
HIGH GO-2026-5024 golang.org/x/sys: GO-2026-5024 go.mod
HIGH GO-2026-5030 golang.org/x/net: GO-2026-5030 go.mod
HIGH GO-2026-5029 golang.org/x/net: GO-2026-5029 go.mod
HIGH GO-2026-5028 golang.org/x/net: GO-2026-5028 go.mod
HIGH GO-2026-5027 golang.org/x/net: GO-2026-5027 go.mod
HIGH GO-2026-5026 golang.org/x/net: GO-2026-5026 go.mod
HIGH GO-2026-5025 golang.org/x/net: GO-2026-5025 go.mod
HIGH GO-2026-5033 golang.org/x/crypto: GO-2026-5033 go.mod
HIGH GO-2026-5023 golang.org/x/crypto: GO-2026-5023 go.mod
HIGH GO-2026-5021 golang.org/x/crypto: GO-2026-5021 go.mod
HIGH GO-2026-5020 golang.org/x/crypto: GO-2026-5020 go.mod
HIGH GO-2026-5019 golang.org/x/crypto: GO-2026-5019 go.mod
HIGH GO-2026-5018 golang.org/x/crypto: GO-2026-5018 go.mod
HIGH GO-2026-5017 golang.org/x/crypto: GO-2026-5017 go.mod
HIGH GO-2026-5016 golang.org/x/crypto: GO-2026-5016 go.mod
HIGH GO-2026-5015 golang.org/x/crypto: GO-2026-5015 go.mod
HIGH GO-2026-5014 golang.org/x/crypto: GO-2026-5014 go.mod
HIGH GO-2026-5013 golang.org/x/crypto: GO-2026-5013 go.mod
HIGH GO-2026-5006 golang.org/x/crypto: GO-2026-5006 go.mod
HIGH GO-2026-5005 golang.org/x/crypto: GO-2026-5005 go.mod
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:214
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… sub/sub.go:141
MED SEC089 [SEC089] Go: bind to all interfaces (0.0.0.0): Server binds to all network interfaces — e… service/acme.go:207
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:22
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 MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/release.yml:193
MED MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/windows.yml:118
MED GHSA-vvgj-x9jq-8cj9 github.com/quic-go/quic-go: GHSA-vvgj-x9jq-8cj9 go.mod
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:604
MED AGT015 Remote install command pipes network code directly to a shell README.zh-TW.md:124
MED AGT015 Remote install command pipes network code directly to a shell README.zh-CN.md:121
MED AGT015 Remote install command pipes network code directly to a shell README.vi.md:121
MED AGT015 Remote install command pipes network code directly to a shell README.ru.md:122
MED AGT015 Remote install command pipes network code directly to a shell README.md:121
MED AGT015 Remote install command pipes network code directly to a shell README.fa.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:101
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 SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… web/web.go:211
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… sub/sub.go:138
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 MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/release.yml:186
LOW MINED115 Action `actions/cache` pinned to mutable ref `@v5` .github/workflows/release.yml:111
LOW MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/release.yml:84
LOW MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/release.yml:78
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.3` .github/workflows/release.yml:75
LOW MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/release.yml:53
LOW MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/release.yml:39
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.3` .github/workflows/release.yml:33
LOW MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/windows.yml:111
LOW MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/windows.yml:77
LOW MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/windows.yml:71
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.3` .github/workflows/windows.yml:68
LOW MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/windows.yml:50
LOW MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/windows.yml:37
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.3` .github/workflows/windows.yml:31
LOW MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/docker.yml:117
LOW MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/docker.yml:105
LOW MINED115 Action `actions/cache` pinned to mutable ref `@v5` .github/workflows/docker.yml:74
LOW MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/docker.yml:51
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.3` .github/workflows/docker.yml:49
LOW MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/docker.yml:30
LOW MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docker.yml:21
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.3` .github/workflows/docker.yml:17
LOW AIC003 Duplicated implementation block across source files web/web.go:33
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:56
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:22
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:22
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. web/web.go:103
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… network/acme.go:53
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 119 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `shenaba/2s-ui`

**Score: 67/100 (C-)**  ·  119 findings  ·  scanned 2026-06-18 05:55 UTC  ·  11,641 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 39 |
| MEDIUM | 35 |
| LOW | 36 |

📊 [Full filterable report](https://repobility.com/scan/751c3ea4-7381-44e4-83fb-dd746afe2b32/)  ·  ![scorecard](https://repobility.com/scan/751c3ea4-7381-44e4-83fb-dd746afe2b32/report.png?v=1781762151-s2)

### Top findings

1. **CRITICAL** `SEC096` — Rails: SQL injection via where("#{...}") or find_by_sql
   `service/config.go:284` · 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/751c3ea4-7381-44e4-83fb-dd746afe2b32/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 8 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 'shenaba/2s-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.