← Back to scan
File as GitHub Issue repo: sibidharan/zealphp

Push this scan report to sibidharan/zealphp

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

Weak Crypto

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 SEC039 [SEC039] Plaintext-equivalent password hash — unsalted single-pass digest: Single-pass di… src/Middleware/BasicAuthMiddleware.php:234
CRIT SEC039 [SEC039] Plaintext-equivalent password hash — unsalted single-pass digest: Single-pass di… src/Learn/Auth.php:24
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/superpowers/plans/2026-05-14-learn…:2929
CRIT MINED116 Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger .github/workflows/tests.yml:244
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/Middleware/BasicAuthMiddleware.php:148
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). route/convert.php:40
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … public/js/learn-chatroom.js:117
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… examples/lamp-scaffold/public/api/users…:14
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… route/_error_test.php:35
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… public/js/learn-tictactoe.js:211
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… examples/agents/notes_agent.py:54
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… labs-bench/tail_bench.py:256
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… bench/tail/tail_bench.py:256
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… scripts/fuzz/send_raw.py:67
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… labs-bench/tail_bench.py:256
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… bench/tail/tail_bench.py:256
HIGH MINED110 Blocking call `input` inside async function `main` examples/agents/streaming_agent.py:83
HIGH MINED110 Blocking call `input` inside async function `main` examples/agents/config_converter.py:2951
HIGH MINED126 Workflow container/services image `memcached:1.6-alpine` unpinned .github/workflows/mutation.yml:34
HIGH MINED126 Workflow container/services image `valkey/valkey:7-alpine` unpinned .github/workflows/mutation.yml:25
HIGH MINED126 Workflow container/services image `mariadb:11` unpinned .github/workflows/tests.yml:138
HIGH MINED126 Workflow container/services image `memcached:1.6-alpine` unpinned .github/workflows/tests.yml:124
HIGH MINED126 Workflow container/services image `valkey/valkey:7-alpine` unpinned .github/workflows/tests.yml:110
HIGH MINED118 Dockerfile FROM `zealphp:local` not pinned by digest bench/compare-3way/Dockerfile.bench:1
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… template/pages/deployment.php:173
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… template/_nav.php:62
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… template/_footer.php:8
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/Session/Handler/RedisSessionHandler…:162
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. public/js/learn-tictactoe.js:195
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. public/js/learn-chatroom.js:131
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. public/js/demo-shell.js:32
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… api/zeal/sessleak.php:10
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… api/swoole/sessleak.php:9
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… api/swoole/co.php:11
MED MINED111 Bare except continues silently bench/tail/tail_bench.py:114
MED MINED111 Bare except continues silently labs-bench/tail_bench.py:114
MED DKR001 Docker final stage has no non-root USER bench/compare-3way/Dockerfile.bench:1
MED DKR001 Docker final stage has no non-root USER Dockerfile:4
MED AGT007 localStorage write failures are swallowed silently public/js/pages/home.js:104
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:44
MED WEB015 Public web app has no Content Security Policy index.html
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 14 (SonarSo… examples/agents/chat_agent.py:122
LOW COMP001 [COMP001] High cognitive complexity: Function `run_rate` has cognitive complexity 12 (Son… bench/tail/tail_bench.py:75
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 13 (SonarSo… bench/tail/tail_bench.py:187
LOW AIC003 Duplicated implementation block across source files tests/Unit/MimeTypeMiddlewareTest.php:14
LOW AIC003 Duplicated implementation block across source files tests/Unit/Middleware/MergeSlashesMiddl…:4
LOW AIC003 Duplicated implementation block across source files tests/Unit/LifecycleModesMatrixTest.php:34
LOW AIC003 Duplicated implementation block across source files tests/Unit/HTTP/ResponseTest.php:10
LOW AIC003 Duplicated implementation block across source files tests/Unit/ExpiresMiddlewareTest.php:14
LOW AIC003 Duplicated implementation block across source files tests/Unit/ContentLanguageMiddlewareTes…:14
LOW AIC003 Duplicated implementation block across source files tests/Unit/ContentEncodingMiddlewareTes…:14
LOW AIC003 Duplicated implementation block across source files tests/Unit/CgiWorkerTest.php:18
LOW AIC003 Duplicated implementation block across source files tests/Unit/CgiHotfixTest.php:13
LOW AIC003 Duplicated implementation block across source files tests/Unit/CgiFcgiDispatchTest.php:45
LOW AIC003 Duplicated implementation block across source files tests/Unit/CGI/ForkWatchdogTest.php:46
LOW AIC003 Duplicated implementation block across source files tests/Integration/TrustBarIsolationTest…:68
LOW AIC003 Duplicated implementation block across source files tests/Integration/SuperglobalsParityTes…:27
LOW AIC003 Duplicated implementation block across source files tests/Integration/Http1FramingConforman…:6
LOW AIC003 Duplicated implementation block across source files tests/Integration/CoroutineLegacyBehavi…:26
LOW AIC003 Duplicated implementation block across source files src/pool_worker.php:123
LOW AIC003 Duplicated implementation block across source files src/Store/RedisConnectionPool.php:48
LOW AIC003 Duplicated implementation block across source files src/Store/MemcachedBackend.php:154
LOW AIC003 Duplicated implementation block across source files src/Store.php:115
LOW AIC003 Duplicated implementation block across source files src/Session/SessionManager.php:24
LOW AIC003 Duplicated implementation block across source files src/Session/Handler/TableSessionHandler…:207
LOW AIC003 Duplicated implementation block across source files src/HTTP/Client/RequestException.php:6
LOW AIC003 Duplicated implementation block across source files public/js/site-nav.js:5
LOW AIC003 Duplicated implementation block across source files public/js/pages/store.js:1
LOW AIC003 Duplicated implementation block across source files public/js/pages/migration.js:2
LOW AIC003 Duplicated implementation block across source files labs-bench/tail_bench.py:1
LOW AIC003 Duplicated implementation block across source files api/zeal/coproc_test.php:7
LOW AIC003 Duplicated implementation block across source files api/learn/register.php:11
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:31
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:13
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:1
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:31
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:13
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:1
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. scripts/fork_stress.php:26
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. scripts/bench-fcgi-proc.php:57
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. scripts/bench-fcgi-pool.php:59
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… public/js/pages/migration.js:35
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… public/js/pages/legacy-apps.js:33
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… public/js/pages/home.js:35
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. examples/agents/streaming_agent.py:83
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. examples/agents/chat_agent.py:159
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… labs-bench/tail_bench.py:27
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… bench/tail/tail_bench.py:27
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… scripts/fuzz/send_raw.py:68
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… labs-bench/tail_bench.py:257
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… bench/tail/tail_bench.py:257
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … node_bench.js:22
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … bench/compare-3way/node_raw.js:18
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … bench/compare-3way/node_express.js:9
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… examples/coroutine.php:10
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… bench/tail/tail_bench.py:28
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… api/php/coroutine_test.php:11
Reset to top 5 100 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `sibidharan/zealphp`

**Score: 68/100 (B)**  ·  100 findings  ·  scanned 2026-06-05 15:05 UTC  ·  138,035 LOC

| Severity | Count |
|---|---|
| CRITICAL | 4 |
| HIGH | 20 |
| MEDIUM | 18 |
| LOW | 39 |

📊 [Full filterable report](https://repobility.com/scan/e4dc0a0f-1ff8-4e8d-be22-c8d2e5e3c6a1/)  ·  ![scorecard](https://repobility.com/scan/e4dc0a0f-1ff8-4e8d-be22-c8d2e5e3c6a1/report.png?v=1780671945-s2)

### Top findings

1. **CRITICAL** `SEC039` — Plaintext-equivalent password hash — unsalted single-pass digest
   `src/Middleware/BasicAuthMiddleware.php:234` · CWE-916 · A02:2021 Cryptographic Failures
2. **CRITICAL** `SEC039` — Plaintext-equivalent password hash — unsalted single-pass digest
   `src/Learn/Auth.php:24` · CWE-916 · A02:2021 Cryptographic Failures
3. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/superpowers/plans/2026-05-14-learn-section.md:2929`
4. **CRITICAL** `MINED116` — Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
   `.github/workflows/tests.yml:244` · ✓ Repobility
5. **HIGH** `MINED004` — Weak Crypto
   `src/Middleware/BasicAuthMiddleware.php:148` · CWE-327 · ✓ Repobility

---

**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/e4dc0a0f-1ff8-4e8d-be22-c8d2e5e3c6a1/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 7 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 'sibidharan/zealphp' 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
47/111 findings (42%) 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.