← Back to scan
File as GitHub Issue repo: grandamenium/cortextos

Push this scan report to grandamenium/cortextos

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

React State Array Mutation

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 MINED116 Workflow uses `secrets.CI_ADMIN_PASSWORD` on a `pull_request` trigger .github/workflows/ci.yml:76
CRIT MINED116 Workflow uses `secrets.CI_AUTH_SECRET` on a `pull_request` trigger .github/workflows/ci.yml:73
CRIT JRN001 Token handoff appears to use a callback URL or fragment dashboard/src/middleware.ts:79
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/cli/dashboard.ts:67
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… src/bus/cron-state.ts:70
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/bus/cron-state.ts:84
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… dashboard/src/components/wiki/wiki-rend…:32
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/utils/ws-unix-client.ts:137
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … dashboard/src/components/layout/org-sel…:30
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… dashboard/src/app/api/messages/stream/[…:20
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… dashboard/src/app/api/analytics/overvie…:15
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… dashboard/src/app/(auth)/login/page.tsx:113
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/utils/ws-unix-client.ts:79
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/pty/inject.ts:35
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). community/agents/agentic-crm-assistant/…:28
HIGH MINED108 `self.cost` used but never assigned in __init__ knowledge-base/scripts/mmrag.py:151
HIGH MINED108 `self.cost` used but never assigned in __init__ knowledge-base/scripts/mmrag.py:124
HIGH GHSA-mg66-mrh9-m8jx next: GHSA-mg66-mrh9-m8jx dashboard/package-lock.json
HIGH GHSA-c4j6-fc7j-m34r next: GHSA-c4j6-fc7j-m34r dashboard/package-lock.json
HIGH GHSA-8h8q-6873-q5fj next: GHSA-8h8q-6873-q5fj dashboard/package-lock.json
HIGH GHSA-492v-c6pp-mqqv next: GHSA-492v-c6pp-mqqv dashboard/package-lock.json
HIGH GHSA-36qx-fr4f-26g5 next: GHSA-36qx-fr4f-26g5 dashboard/package-lock.json
HIGH GHSA-26hh-7cqf-hhc6 next: GHSA-26hh-7cqf-hhc6 dashboard/package-lock.json
HIGH GHSA-267c-6grr-h53f next: GHSA-267c-6grr-h53f dashboard/package-lock.json
HIGH GHSA-6v9c-7cg6-27q7 marked: GHSA-6v9c-7cg6-27q7 dashboard/package-lock.json
HIGH GHSA-v39h-62p7-jpjc fast-uri: GHSA-v39h-62p7-jpjc dashboard/package-lock.json
HIGH GHSA-q3j6-qgpj-74h6 fast-uri: GHSA-q3j6-qgpj-74h6 dashboard/package-lock.json
HIGH JRN009 Secret-like setting is echoed into a password input value dashboard/src/components/settings/users…:117
HIGH AGT003 User-editable role instructions are inserted into the system prompt src/types/index.ts:640
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… dashboard/src/app/api/approvals/[id]/ro…:52
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… dashboard/src/app/api/approvals/[id]/ro…:21
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… dashboard/src/app/api/tasks/[id]/route.…:213
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… dashboard/src/app/api/tasks/[id]/route.…:116
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… dashboard/src/app/api/tasks/[id]/route.…:78
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… dashboard/src/app/api/tasks/[id]/route.…:41
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/bus/cron-state.ts:84
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … dashboard/src/components/wiki/wiki-rend…:32
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. dashboard/src/app/(auth)/login/page.tsx:32
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:100
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:1112
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:1102
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:765
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:660
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:756
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:674
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:641
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:723
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:1424
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:1387
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:1202
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:959
MED MINED111 Bare except continues silently knowledge-base/scripts/mmrag.py:562
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DEPCUR-NPM npm package `@types/bcryptjs` is 1 major version(s) behind (2.4.6 -> 3.0.0) dashboard/package.json
MED DEPCUR-NPM npm package `commander` is 1 major version(s) behind (14.0.3 -> 15.0.0) package.json
MED GHSA-qx2v-qp2m-jg93 postcss: GHSA-qx2v-qp2m-jg93 package-lock.json
MED GHSA-q8mj-m7cp-5q26 qs: GHSA-q8mj-m7cp-5q26 dashboard/package-lock.json
MED GHSA-qx2v-qp2m-jg93 postcss: GHSA-qx2v-qp2m-jg93 dashboard/package-lock.json
MED GHSA-wfc6-r584-vfw7 next: GHSA-wfc6-r584-vfw7 dashboard/package-lock.json
MED GHSA-h64f-5h5j-jqjh next: GHSA-h64f-5h5j-jqjh dashboard/package-lock.json
MED GHSA-gx5p-jg67-6x7h next: GHSA-gx5p-jg67-6x7h dashboard/package-lock.json
MED GHSA-ffhc-5mcf-pf4q next: GHSA-ffhc-5mcf-pf4q dashboard/package-lock.json
MED GHSA-v2v4-37r5-5v8g ip-address: GHSA-v2v4-37r5-5v8g dashboard/package-lock.json
MED GHSA-xrhx-7g5j-rcj5 hono: GHSA-xrhx-7g5j-rcj5 dashboard/package-lock.json
MED GHSA-qp7p-654g-cw7p hono: GHSA-qp7p-654g-cw7p dashboard/package-lock.json
MED GHSA-p77w-8qqv-26rm hono: GHSA-p77w-8qqv-26rm dashboard/package-lock.json
MED GHSA-f577-qrjj-4474 hono: GHSA-f577-qrjj-4474 dashboard/package-lock.json
MED GHSA-9vqf-7f2p-gf9v hono: GHSA-9vqf-7f2p-gf9v dashboard/package-lock.json
MED GHSA-69xw-7hcm-h432 hono: GHSA-69xw-7hcm-h432 dashboard/package-lock.json
MED GHSA-3hrh-pfw6-9m5x hono: GHSA-3hrh-pfw6-9m5x dashboard/package-lock.json
MED GHSA-2gcr-mfcq-wcc3 hono: GHSA-2gcr-mfcq-wcc3 dashboard/package-lock.json
MED GHSA-jxxr-4gwj-5jf2 brace-expansion: GHSA-jxxr-4gwj-5jf2 dashboard/package-lock.json
MED AGT007 localStorage write failures are swallowed silently dashboard/src/app/(dashboard)/comms/pag…:57
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/workflows…:197
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/workflows…:179
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/workflows…:22
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/workflows…:142
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/workflows…:98
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/tasks/pag…:121
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/tasks/pag…:103
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/experimen…:167
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/comms/pag…:83
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/comms/pag…:82
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/comms/pag…:61
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/approvals…:173
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/approvals…:77
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(dashboard)/approvals…:37
MED JRN003 Frontend API reference is not matched by discovered backend routes dashboard/src/app/(auth)/login/page.tsx:25
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 7.2% of discovered r…
MED AGT011 Audit export may include unredacted sensitive metadata src/cli/bus.ts:7
MED AGT011 Audit export may include unredacted sensitive metadata src/bus/task.ts:7
MED AGT016 Codex session log reader may expose prompts or tool-call content src/pty/codex-app-server-pty.ts:80
MED AGT016 Codex session log reader may expose prompts or tool-call content src/daemon/agent-manager.ts:374
MED AGT016 Codex session log reader may expose prompts or tool-call content src/cli/bus.ts:210
MED AGT016 Codex session log reader may expose prompts or tool-call content dashboard/src/lib/cost-parser.ts:2
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/events/route.ts:18
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/tasks/route.ts:24
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/agents/route.ts:51
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/agents/route.ts:22
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/approvals/route.ts:20
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/skills/route.ts:114
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/skills/route.ts:87
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/quota/route.ts:5
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … dashboard/src/app/api/experiments/route…:168
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable src/types/index.ts:168
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable src/pty/agent-pty.ts:247
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… dashboard/src/app/api/settings/users/ro…:42
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… dashboard/src/app/api/settings/users/ro…:23
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… dashboard/src/app/api/settings/telegram…:13
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… dashboard/src/app/api/settings/system/r…:40
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… dashboard/src/app/api/settings/system/r…:31
LOW DEPCUR-NPM npm package `tailwind-merge` is minor version(s) behind (3.5.0 -> 3.6.0) dashboard/package.json
LOW DEPCUR-NPM npm package `shadcn` is minor version(s) behind (4.1.2 -> 4.10.0) dashboard/package.json
LOW DEPCUR-NPM npm package `isomorphic-dompurify` is minor version(s) behind (3.9.0 -> 3.16.0) dashboard/package.json
LOW DEPCUR-NPM npm package `better-sqlite3` is minor version(s) behind (12.8.0 -> 12.10.0) dashboard/package.json
LOW DEPCUR-NPM npm package `@tabler/icons-react` is minor version(s) behind (3.41.1 -> 3.44.0) dashboard/package.json
LOW DEPCUR-NPM npm package `@base-ui/react` is minor version(s) behind (1.3.0 -> 1.5.0) dashboard/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) package.json
LOW DEPCUR-NPM npm package `ora` is minor version(s) behind (9.3.0 -> 9.4.0) package.json
LOW DEPCUR-NPM npm package `@inquirer/prompts` is minor version(s) behind (8.4.0 -> 8.5.2) package.json
LOW GHSA-vfv6-92ff-j949 next: GHSA-vfv6-92ff-j949 dashboard/package-lock.json
LOW GHSA-3g8h-86w9-wvmq next: GHSA-3g8h-86w9-wvmq dashboard/package-lock.json
LOW GHSA-hm8q-7f3q-5f36 hono: GHSA-hm8q-7f3q-5f36 dashboard/package-lock.json
LOW AIC003 Duplicated implementation block across source files src/utils/cron-health.ts:9
LOW AIC003 Duplicated implementation block across source files src/utils/cron-health.ts:5
LOW AIC003 Duplicated implementation block across source files src/utils/allowed-roots.ts:19
LOW AIC003 Duplicated implementation block across source files src/types/index.ts:320
LOW AIC003 Duplicated implementation block across source files src/daemon/ipc-server.ts:631
LOW AIC003 Duplicated implementation block across source files src/cli/init.ts:139
LOW AIC003 Duplicated implementation block across source files src/bus/crons.ts:171
LOW AIC003 Duplicated implementation block across source files src/bus/cron-state.ts:49
LOW AIC003 Duplicated implementation block across source files dashboard/src/lib/render-markdown.tsx:19
LOW AIC003 Duplicated implementation block across source files dashboard/src/lib/ipc-client.ts:5
LOW AIC003 Duplicated implementation block across source files dashboard/src/lib/actions/settings.ts:29
LOW AIC003 Duplicated implementation block across source files dashboard/src/lib/actions/approvals.ts:31
LOW AIC003 Duplicated implementation block across source files dashboard/src/components/wiki/folder-tr…:10
LOW AIC003 Duplicated implementation block across source files dashboard/src/components/agents/profile…:49
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/workflows/health/…:65
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/workflows/crons/[…:7
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/messages/stream/[…:80
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/kb/search/route.ts:36
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/experiments/route…:36
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/comms/feed/route.…:97
LOW AIC003 Duplicated implementation block across source files dashboard/src/app/api/comms/channels/ro…:1
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. src/cli/init.ts:135
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. src/cli/dashboard.ts:58
INFO MINED065 [MINED065] Cors Wildcard: Access-Control-Allow-Origin: * exposes the API to any browser o… dashboard/src/middleware.ts:29
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/cli/update.ts:68
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/cli/start.ts:44
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. dashboard/src/app/api/auth/mobile/route…:25
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/cli/start.ts:178
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/cli/enable-agent.ts:140
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. dashboard/src/app/api/agents/[name]/lif…:77
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … dashboard/src/app/api/comms/upload/rout…:50
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … dashboard/src/app/api/comms/channels/ro…:136
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … dashboard/src/app/(dashboard)/analytics…:69
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… dashboard/src/app/(dashboard)/approvals…:111
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… dashboard/src/app/(dashboard)/agents/lo…:12
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… dashboard/src/app/(dashboard)/activity/…:12
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … dashboard/src/app/(dashboard)/agents/er…:16
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … dashboard/src/app/(dashboard)/activity/…:16
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … dashboard/src/app/(auth)/login/page.tsx:54
INFO DEPCUR-NPM npm package `marked` is patch version(s) behind (18.0.0 -> 18.0.5) dashboard/package.json
INFO DEPCUR-NPM npm package `jose` is patch version(s) behind (6.2.2 -> 6.2.3) dashboard/package.json
Reset to top 5 164 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `grandamenium/cortextos`

**Score: 68/100 (C+)**  ·  170 findings  ·  scanned 2026-06-05 16:41 UTC  ·  100,171 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 32 |
| MEDIUM | 76 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/fe92d101-9133-494a-88fb-6b9c0f3458e0/)  ·  ![scorecard](https://repobility.com/scan/fe92d101-9133-494a-88fb-6b9c0f3458e0/report.png?v=1780677719-s2)

### Top findings

1. **CRITICAL** `MINED116` — Workflow uses `secrets.CI_ADMIN_PASSWORD` on a `pull_request` trigger
   `.github/workflows/ci.yml:76` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.CI_AUTH_SECRET` on a `pull_request` trigger
   `.github/workflows/ci.yml:73` · ✓ Repobility
3. **CRITICAL** `JRN001` — Token handoff appears to use a callback URL or fragment
   `dashboard/src/middleware.ts:79`
4. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `src/cli/dashboard.ts:67` · CWE-79 · A03:2021 Injection (XSS)
5. **HIGH** `MINED027` — React State Array Mutation
   `src/bus/cron-state.ts:70` · CWE-682 · ✓ 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/fe92d101-9133-494a-88fb-6b9c0f3458e0/_
Megaproject â high spam risk
Could not determine 'grandamenium/cortextos' 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.