← Back to scan
File as GitHub Issue repo: 013677890/LCchat-Backend

Push this scan report to 013677890/LCchat-Backend

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

Async function without await — fire-and-forget Promise (AI mistake)

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 SEC001 [SEC001] Hardcoded Password: Hardcoded password found in source code. scripts/cdc/register_outbox_connector.sh:11
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… pkg/redisretry/consumer.go:153
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… apps/message-push/internal/route/reposi…:73
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… apps/connect/internal/svc/routing.go:28
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … pkg/grpcx/client_metadata.go:36
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … apps/connect/internal/svc/lifecycle.go:49
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). apps/connect/internal/svc/auth.go:5
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… pkg/async/pool.go:270
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… apps/gateway/internal/middleware/recove…:22
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… apps/connect/internal/middleware/recove…:22
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. apps/connect/internal/svc/lifecycle.go:123
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. apps/connect/internal/svc/ack.go:244
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. apps/auth/internal/consumer/profile_dis…:74
HIGH MINED118 [MINED118] Dockerfile FROM `alpine:3.21` not pinned by digest: `FROM alpine:3.21` resolve… Dockerfile:26
HIGH MINED118 [MINED118] Dockerfile FROM `golang:1.25-alpine` not pinned by digest: `FROM golang:1.25-a… Dockerfile:1
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… apps/connect/internal/svc/auth.go:42
HIGH DKC011 Database service publishes a host port docker-compose.yml:125
HIGH DKC011 Database service publishes a host port docker-compose.yml:73
HIGH DKC011 Database service publishes a host port docker-compose.yml:47
HIGH DKC011 Database service publishes a host port docker-compose.yml:31
HIGH DKC011 Database service publishes a host port docker-compose.yml:1
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:262
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:261
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:260
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:259
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:258
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:257
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:246
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:230
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:195
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… apps/gateway/internal/router/router.go:189
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … pkg/redisretry/consumer.go:153
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … apps/message-push/internal/route/reposi…:73
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … apps/connect/internal/svc/routing.go:28
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… apps/group/cmd/providers.go:132
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… apps/connect/internal/server/server.go:88
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… apps/auth/cmd/providers.go:123
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR001 Docker final stage has no non-root USER Dockerfile:27
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:14
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 17.3% of discovered …
MED DKC013 Database service has no persistent data volume docker-compose.yml:73
MED DKC013 Database service has no persistent data volume docker-compose.yml:47
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:194
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:193
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:192
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:191
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:190
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:189
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:172
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:171
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/router/router.go:170
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/gateway/internal/middleware/cors.go:33
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… apps/gateway/internal/router/router.go:247
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… apps/connect/internal/server/server.go:85
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… apps/connect/internal/server/server.go:77
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… apps/connect/internal/server/server.go:70
MED CORE_NO_CI No CI/CD configuration found
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. apps/connect/internal/manager/connectio…:275
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. apps/connect/internal/manager/client.go:271
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. apps/auth/cmd/app.go:176
LOW AIC003 Duplicated implementation block across source files apps/user/cmd/main.go:1
LOW AIC003 Duplicated implementation block across source files apps/user/cmd/app.go:148
LOW AIC003 Duplicated implementation block across source files apps/user/cmd/app.go:147
LOW AIC003 Duplicated implementation block across source files apps/user/cmd/app.go:80
LOW AIC003 Duplicated implementation block across source files apps/relation/internal/repository/util.…:33
LOW AIC003 Duplicated implementation block across source files apps/relation/internal/repository/frien…:464
LOW AIC003 Duplicated implementation block across source files apps/relation/internal/repository/frien…:1
LOW AIC003 Duplicated implementation block across source files apps/relation/internal/repository/error…:1
LOW AIC003 Duplicated implementation block across source files apps/relation/internal/repository/black…:184
LOW AIC003 Duplicated implementation block across source files apps/relation/cmd/providers.go:13
LOW AIC003 Duplicated implementation block across source files apps/relation/cmd/main.go:1
LOW AIC003 Duplicated implementation block across source files apps/relation/cmd/app.go:93
LOW AIC003 Duplicated implementation block across source files apps/relation/cmd/app.go:10
LOW AIC003 Duplicated implementation block across source files apps/msg/internal/domain/message/servic…:252
LOW AIC003 Duplicated implementation block across source files apps/msg/cmd/main.go:1
LOW AIC003 Duplicated implementation block across source files apps/msg/cmd/app.go:96
LOW AIC003 Duplicated implementation block across source files apps/msg/cmd/app.go:87
LOW AIC003 Duplicated implementation block across source files apps/msg/cmd/app.go:81
LOW AIC003 Duplicated implementation block across source files apps/message-push/internal/server/serve…:44
LOW AIC003 Duplicated implementation block across source files apps/message-push/cmd/main.go:1
LOW AIC003 Duplicated implementation block across source files apps/group/internal/service/group_servi…:247
LOW AIC003 Duplicated implementation block across source files apps/group/cmd/main.go:1
LOW AIC003 Duplicated implementation block across source files apps/group/cmd/app.go:108
LOW AIC003 Duplicated implementation block across source files apps/group/cmd/app.go:93
LOW AIC003 Duplicated implementation block across source files apps/gateway/internal/service/friend_se…:256
LOW AIC003 Duplicated implementation block across source files apps/gateway/internal/router/v1/user_ha…:213
LOW AIC003 Duplicated implementation block across source files apps/gateway/internal/middleware/recove…:42
LOW AIC003 Duplicated implementation block across source files apps/gateway/cmd/main.go:1
LOW AIC003 Duplicated implementation block across source files apps/gateway/cmd/app.go:179
LOW AIC003 Duplicated implementation block across source files apps/connect/cmd/main.go:1
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:425
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:392
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:351
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:312
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:274
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:237
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:193
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:149
LOW DKC017 Database password is wired through an environment variable placeholder docker-compose.yml:1
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:425
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:392
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:351
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:312
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:274
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:237
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:193
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:149
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/util/snowflake.go:45
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… apps/gateway/_achieve/login_test_servic…:54
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… apps/gateway/_achieve/login_test_handle…:59
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… scripts/cdc/register_outbox_connector.sh:5
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apps/gateway/_achieve/login_test_servic…:73
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apps/connect/internal/handler/ws_handle…:40
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… apps/connect/cmd/main.go:22
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… apps/auth/cmd/providers.go:60
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… apps/auth/cmd/main.go:23
Reset to top 5 119 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `013677890/LCchat-Backend`

**Score: 85/100 (B+)**  ·  122 findings  ·  scanned 2026-06-16 03:37 UTC  ·  62,863 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 30 |
| MEDIUM | 27 |
| LOW | 52 |

📊 [Full filterable report](https://repobility.com/scan/d8c38c70-439c-420c-848b-27b4a69a486b/)  ·  ![scorecard](https://repobility.com/scan/d8c38c70-439c-420c-848b-27b4a69a486b/report.png?v=1781581065-s2)

### Top findings

1. **CRITICAL** `SEC001` — Hardcoded Password
   `scripts/cdc/register_outbox_connector.sh:11` · A07:2021 Identification & Authentication Failures
2. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `pkg/redisretry/consumer.go:153`
3. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `apps/message-push/internal/route/repository.go:73`
4. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `apps/connect/internal/svc/routing.go:28`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `pkg/grpcx/client_metadata.go:36`

---

**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/d8c38c70-439c-420c-848b-27b4a69a486b/_
Megaproject â high spam risk
Could not determine '013677890/LCchat-Backend' 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.