← Back to scan
File as GitHub Issue repo: pocketbase/pocketbase

Push this scan report to pocketbase/pocketbase

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

JS: child_process.exec with non-literal

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 SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… ui/src/fields/relation/view.js:196
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… tools/mailer/sendmail.go:78
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). tools/security/crypto.go:5
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). tools/filesystem/internal/fileblob/attr…:42
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… tools/search/provider.go:229
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… core/syscall.go:9
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. core/log_query.go:62
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. core/db_table.go:90
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. apis/record_auth_email_change_confirm.go:79
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… tools/auth/auth.go:87
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apis/record_auth_methods.go:166
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apis/installer.go:38
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … ui/src/fields/relation/view.js:81
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … ui/src/base/toast.js:16
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … apis/collection.go:24
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… tools/routine/routine.go:24
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… core/validators/equal.go:44
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… apis/base.go:31
HIGH MINED115 Action `goreleaser/goreleaser-action` pinned to mutable ref `@v6` .github/workflows/release.yaml:50
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/release.yaml:29
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/release.yaml:24
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/release.yaml:19
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-4986 stdlib: GO-2026-4986 go.mod
HIGH GO-2026-4982 stdlib: GO-2026-4982 go.mod
HIGH GO-2026-4981 stdlib: GO-2026-4981 go.mod
HIGH GO-2026-4980 stdlib: GO-2026-4980 go.mod
HIGH GO-2026-4977 stdlib: GO-2026-4977 go.mod
HIGH GO-2026-4976 stdlib: GO-2026-4976 go.mod
HIGH GO-2026-4971 stdlib: GO-2026-4971 go.mod
HIGH GO-2026-4947 stdlib: GO-2026-4947 go.mod
HIGH GO-2026-4946 stdlib: GO-2026-4946 go.mod
HIGH GO-2026-4918 stdlib: GO-2026-4918 go.mod
HIGH GO-2026-4870 stdlib: GO-2026-4870 go.mod
HIGH GO-2026-4869 stdlib: GO-2026-4869 go.mod
HIGH GO-2026-4865 stdlib: GO-2026-4865 go.mod
HIGH GO-2026-4864 stdlib: GO-2026-4864 go.mod
HIGH GO-2026-4603 stdlib: GO-2026-4603 go.mod
HIGH GO-2026-4602 stdlib: GO-2026-4602 go.mod
HIGH GO-2026-4601 stdlib: GO-2026-4601 go.mod
HIGH GO-2026-4342 stdlib: GO-2026-4342 go.mod
HIGH GO-2026-4341 stdlib: GO-2026-4341 go.mod
HIGH GO-2026-4340 stdlib: GO-2026-4340 go.mod
HIGH GO-2026-4337 stdlib: GO-2026-4337 go.mod
HIGH GO-2025-4175 stdlib: GO-2025-4175 go.mod
HIGH GO-2025-4155 stdlib: GO-2025-4155 go.mod
HIGH GO-2025-4015 stdlib: GO-2025-4015 go.mod
HIGH GO-2025-4014 stdlib: GO-2025-4014 go.mod
HIGH GO-2025-4013 stdlib: GO-2025-4013 go.mod
HIGH GO-2025-4012 stdlib: GO-2025-4012 go.mod
HIGH GO-2025-4011 stdlib: GO-2025-4011 go.mod
HIGH GO-2025-4010 stdlib: GO-2025-4010 go.mod
HIGH GO-2025-4009 stdlib: GO-2025-4009 go.mod
HIGH GO-2025-4008 stdlib: GO-2025-4008 go.mod
HIGH GO-2025-4007 stdlib: GO-2025-4007 go.mod
HIGH GO-2025-4006 stdlib: GO-2025-4006 go.mod
HIGH GO-2025-3955 stdlib: GO-2025-3955 go.mod
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. core/syscall.go:9
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… ui/src/collections/collectionsSidebar.js:218
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… ui/src/base/searchHistoryButton.js:110
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… ui/src/base/filePreviewModal.js:64
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… ui/src/fields/editor/init.js:17
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… ui/src/apiPreview/docsAuthWithOAuth2.js:21
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… tools/template/registry.go:43
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… mails/record.go:294
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … tools/search/provider.go:229
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … core/syscall.go:9
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… apis/serve.go:300
MED JRN002 Browser storage is used for session token material ui/src/pb.js:171
MED JRN002 Browser storage is used for session token material ui/src/pb.js:149
MED AIC001 Parallel implementation file sits beside a canonical file core/base_backup.go:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… core/collection_model_auth_templates.go:14
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… apis/record_auth_with_password.go:145
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. apis/middlewares_gzip.go:203
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. apis/installer.go:38
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. apis/extensions.go:85
LOW DEPCUR-NPM npm package `dprint` is minor version(s) behind (0.52.0 -> 0.54.0) ui/package.json
LOW GHSA-q7pp-wcgr-pffx github.com/disintegration/imaging: GHSA-q7pp-wcgr-pffx go.mod
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsEmailChange.js:160
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsEmailChange.js:91
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsEmailChange.js:73
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsEmailChange.js:19
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsDelete.js:57
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsCreate.js:319
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsCreate.js:120
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsCreate.js:76
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsCreate.js:74
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsBatch.js:84
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsAuthWithPassword.…:52
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsAuthWithPassword.…:15
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsAuthWithPassword.…:9
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsAuthWithOTP.js:44
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsAuthWithOTP.js:27
LOW AIC003 Duplicated implementation block across source files ui/src/apiPreview/docsAuthWithOAuth2.js:4
LOW AIC003 Duplicated implementation block across source files tools/filesystem/internal/s3blob/s3/hea…:34
LOW AIC003 Duplicated implementation block across source files tools/auth/spotify.go:47
LOW AIC003 Duplicated implementation block across source files tools/auth/planningcenter.go:31
LOW AIC003 Duplicated implementation block across source files tools/auth/github.go:68
LOW AIC003 Duplicated implementation block across source files tools/auth/github.go:44
LOW AIC003 Duplicated implementation block across source files tools/auth/gitee.go:75
LOW AIC003 Duplicated implementation block across source files core/otp_query.go:72
LOW AIC003 Duplicated implementation block across source files core/otp_query.go:46
LOW AIC003 Duplicated implementation block across source files core/mfa_query.go:46
LOW AIC003 Duplicated implementation block across source files core/field_url.go:63
LOW AIC003 Duplicated implementation block across source files core/field_select.go:127
LOW AIC003 Duplicated implementation block across source files core/field_relation.go:176
LOW AIC003 Duplicated implementation block across source files core/external_auth_query.go:46
LOW AIC003 Duplicated implementation block across source files apis/record_auth_verification_request.go:1
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. ui/src/apiPreview/docsAuthWithOTP.js:60
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. ui/src/apiPreview/docsAuthWithOAuth2.js:96
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. ui/src/apiPreview/docsAuthRefresh.js:87
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … ui/src/apiPreview/docsAuthWithOAuth2.js:95
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … ui/src/apiPreview/docsAuthRefresh.js:86
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … ui/src/apiPreview/apiPreviewModal.js:22
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… mails/templates/layout.go:4
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… core/system_alert.go:13
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apis/serve.go:226
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. core/db_connect_nodefaultdriver.go:8
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. apis/middlewares_gzip.go:61
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. apis/base.go:87
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… apis/serve.go:142
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… apis/backup_create.go:30
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… apis/backup.go:34
Reset to top 5 125 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `pocketbase/pocketbase`

**Score: 63/100 (B-)**  ·  444 findings  ·  scanned 2026-06-05 09:52 UTC  ·  182,655 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 60 |
| MEDIUM | 13 |
| LOW | 37 |

📊 [Full filterable report](https://repobility.com/scan/730261de-6d0e-467e-a82b-615a3fc8aa19/)  ·  ![scorecard](https://repobility.com/scan/730261de-6d0e-467e-a82b-615a3fc8aa19/report.png?v=1780653151-s2)

### Top findings

1. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `ui/src/fields/relation/view.js:196` · CWE-79 · A03:2021 Injection (XSS)
2. **HIGH** `SEC093` — Go: exec.Command with non-literal
   `tools/mailer/sendmail.go:78`
3. **HIGH** `MINED004` — Weak Crypto
   `tools/security/crypto.go:5` · CWE-327 · ✓ Repobility
4. **HIGH** `MINED004` — Weak Crypto
   `tools/filesystem/internal/fileblob/attrs.go:42` · CWE-327 · ✓ Repobility
5. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `tools/search/provider.go:229`

---

**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/730261de-6d0e-467e-a82b-615a3fc8aa19/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 11 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 'pocketbase/pocketbase' 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.
Already filed
323/463 findings (70%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

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.