← Back to scan
File as GitHub Issue repo: leyu-data-collection-platform/leyu-backend

Push this scan report to leyu-data-collection-platform/leyu-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

Database service publishes a host port

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
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/auth/service/auth.service.ts:72
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/auth/service/User.service.ts:113
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/auth/controller/user.controller.ts:594
HIGH DKC011 Database service publishes a host port docker-compose.yaml:31
HIGH DKC011 Database service publishes a host port docker-compose.yaml:16
HIGH DKC011 Database service publishes a host port docker-compose.yaml:2
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/RejectionType.…:130
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/RejectionType.…:121
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/RejectionType.…:108
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/RejectionType.…:95
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/RejectionType.…:90
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/DataSetAnnotat…:146
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/DataSetAnnotat…:137
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/DataSetAnnotat…:125
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/DataSetAnnotat…:113
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/base_data/controller/DataSetAnnotat…:104
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/task_distribution/service/TaskSubmi…:141
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … src/project/service/Task.service.ts:590
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … src/project/service/Project.service.ts:270
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKC015 Database service has no healthcheck docker-compose.yaml:2
MED DKR001 Docker final stage has no non-root USER Dockerfile:21
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:13
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Language.contr…:89
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Organization.c…:131
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Dialect.contro…:145
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Dialect.contro…:108
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Dialect.contro…:101
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Country.contro…:138
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Country.contro…:102
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/Country.contro…:91
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/base_data/controller/DataSetAnnotat…:146
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/app.controller.ts:13
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:408
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:397
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:389
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:342
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:296
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:249
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:203
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:143
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:88
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… src/task_distribution/controllers/Revie…:56
MED CORE_NO_CI No CI/CD configuration found
LOW AIC003 Duplicated implementation block across source files src/project/controller/Facilitator.cont…:9
LOW AIC003 Duplicated implementation block across source files src/project/controller/Facilitator.cont…:6
LOW AIC003 Duplicated implementation block across source files src/data_set/sanitize.ts:11
LOW AIC003 Duplicated implementation block across source files src/data_set/sanitize.ts:8
LOW AIC003 Duplicated implementation block across source files src/data_set/rto/MicroTask.rto.ts:55
LOW AIC003 Duplicated implementation block across source files src/data_set/controller/FlagReason.cont…:1
LOW AIC003 Duplicated implementation block across source files src/cache/FileUploadProcessor.service.ts:10
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Zone.service.ts:67
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Sector.service.ts:68
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Region.service.ts:81
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Organization.serv…:79
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Language.service.…:101
LOW AIC003 Duplicated implementation block across source files src/base_data/service/FlagType.service.…:42
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Dialect.service.ts:76
LOW AIC003 Duplicated implementation block across source files src/base_data/service/DataSetAnnotation…:48
LOW AIC003 Duplicated implementation block across source files src/base_data/service/Country.service.ts:136
LOW AIC003 Duplicated implementation block across source files src/base_data/entities/RejectionType.en…:18
LOW AIC003 Duplicated implementation block across source files src/base_data/entities/RejectionType.en…:13
LOW AIC003 Duplicated implementation block across source files src/base_data/entities/Region.entity.ts:22
LOW AIC003 Duplicated implementation block across source files src/base_data/entities/FlagType.entity.…:18
LOW AIC003 Duplicated implementation block across source files src/base_data/entities/FlagType.entity.…:13
LOW AIC003 Duplicated implementation block across source files src/base_data/entities/DataSetAnnotatio…:23
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/Sector.control…:8
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/Sector.control…:1
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/RejectionType.…:1
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/Region.control…:1
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/Language.contr…:1
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/FlagType.contr…:1
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/DataSetAnnotat…:1
LOW AIC003 Duplicated implementation block across source files src/base_data/controller/Country.contro…:1
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.yaml:49
LOW DKC017 Database password is wired through an environment variable placeholder docker-compose.yaml:2
LOW DKC006 Compose service does not declare a runtime user docker-compose.yaml:49
Reset to top 5 80 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `leyu-data-collection-platform/leyu-backend`

**Score: 68/100 (C)**  ·  80 findings  ·  scanned 2026-05-16 17:59 UTC  ·  37,826 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 16 |
| MEDIUM | 29 |
| LOW | 35 |

📊 [Full filterable report](https://repobility.com/scan/6c5a106f-90dc-4a48-8512-e9510a7801a0/)  ·  ![scorecard](https://repobility.com/scan/6c5a106f-90dc-4a48-8512-e9510a7801a0/report.png?v=1778954372-s2)

### Top findings

1. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `src/auth/service/auth.service.ts:72` · A10:2021 SSRF
2. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `src/auth/service/User.service.ts:113` · A10:2021 SSRF
3. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `src/auth/controller/user.controller.ts:594` · A10:2021 SSRF
4. **HIGH** `DKC011` — Database service publishes a host port
   `docker-compose.yaml:31`
5. **HIGH** `DKC011` — Database service publishes a host port
   `docker-compose.yaml:16`

---

**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/6c5a106f-90dc-4a48-8512-e9510a7801a0/_
Already filed
Repobility already filed issue #6 on this repo on 2026-05-17. Filing again would be duplicate spam.
View existing issue
Already filed
This repo publishes a SECURITY.md policy and the scan contains 13 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 'leyu-data-collection-platform/leyu-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.