← Back to scan
File as GitHub Issue repo: noelrim/asset_management

Push this scan report to noelrim/asset_management

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

Auth/permission check missing on AI-generated endpoint

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 generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… inputs/CIF_Aggregator_Product_Brief.md:374
CRIT GHSA-5xrq-8626-4rwp vitest: GHSA-5xrq-8626-4rwp package-lock.json
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… server/services/anonymization.ts:229
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… server/routes/clients.ts:27
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… server/routes/adequacy.ts:22
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… server/plugins/mcp-sse.ts:70
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … server/services/rag-context.ts:252
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … server/plugins/mcp-sse.ts:64
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… server/services/llm/index.ts:84
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… server/services/content-extractor.ts:141
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… client/src/components/ui/LineChart.tsx:38
HIGH SEC016 [SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolat… server/services/ai-tool-registry.ts:169
HIGH GHSA-fx2h-pf6j-xcff vite: GHSA-fx2h-pf6j-xcff package-lock.json
HIGH GHSA-vmh5-mc38-953g undici: GHSA-vmh5-mc38-953g package-lock.json
HIGH GHSA-ph9p-34f9-6g65 tmp: GHSA-ph9p-34f9-6g65 package-lock.json
HIGH GHSA-wcpc-wj8m-hjx6 protobufjs: GHSA-wcpc-wj8m-hjx6 package-lock.json
HIGH GHSA-jvwf-75h9-cwgg protobufjs: GHSA-jvwf-75h9-cwgg package-lock.json
HIGH GHSA-75px-5xx7-5xc7 protobufjs: GHSA-75px-5xx7-5xc7 package-lock.json
HIGH GHSA-685m-2w69-288q protobufjs: GHSA-685m-2w69-288q package-lock.json
HIGH GHSA-66ff-xgx4-vchm protobufjs: GHSA-66ff-xgx4-vchm package-lock.json
HIGH GHSA-hmw2-7cc7-3qxx form-data: GHSA-hmw2-7cc7-3qxx package-lock.json
HIGH GHSA-v39h-62p7-jpjc fast-uri: GHSA-v39h-62p7-jpjc package-lock.json
HIGH GHSA-q3j6-qgpj-74h6 fast-uri: GHSA-q3j6-qgpj-74h6 package-lock.json
HIGH MINED113 Express PUT /api/funds/:isin has no auth server/routes/funds.ts:255
HIGH MINED113 Express POST /api/funds/:isin/documents has no auth server/routes/funds.ts:209
HIGH MINED113 Express POST /api/funds has no auth server/routes/funds.ts:143
HIGH MINED113 Express POST /api/funds/import/confirm has no auth server/routes/funds.ts:124
HIGH MINED113 Express POST /api/funds/import/analyze has no auth server/routes/funds.ts:107
HIGH MINED113 Express POST /api/funds/import has no auth server/routes/funds.ts:99
HIGH MINED113 Express PUT /api/universe/config has no auth server/routes/funds.ts:61
HIGH MINED113 Express PATCH /api/proposals/:id/status has no auth server/routes/proposals.ts:80
HIGH MINED113 Express POST /api/threads/:id/messages/:messageId/second-opinion has no auth server/routes/threads.ts:327
HIGH MINED113 Express POST /api/threads/:id/summary has no auth server/routes/threads.ts:297
HIGH MINED113 Express POST /api/threads/:id/outcome has no auth server/routes/threads.ts:285
HIGH MINED113 Express PUT /api/threads/:id/status has no auth server/routes/threads.ts:273
HIGH MINED113 Express PUT /api/threads/:id/pin has no auth server/routes/threads.ts:256
HIGH MINED113 Express PUT /api/threads/:id/context has no auth server/routes/threads.ts:202
HIGH MINED113 Express POST /api/threads/:id/attachments has no auth server/routes/threads.ts:147
HIGH MINED113 Express PUT /api/threads/:id/branches/:branch_id has no auth server/routes/threads.ts:124
HIGH MINED113 Express POST /api/threads/:id/fork has no auth server/routes/threads.ts:96
HIGH MINED113 Express POST /api/threads/:id/messages has no auth server/routes/threads.ts:79
HIGH MINED113 Express POST /api/threads has no auth server/routes/threads.ts:48
HIGH MINED113 Express POST /api/ai/portfolio-construct has no auth server/routes/ai.ts:649
HIGH MINED113 Express POST /api/ai/consult has no auth server/routes/ai.ts:514
HIGH MINED113 Express POST /api/ai/chat has no auth server/routes/ai.ts:96
HIGH MINED113 Express POST /api/ai/check-pii has no auth server/routes/ai.ts:72
HIGH MINED113 Express POST /mcp/sse has no auth server/plugins/mcp-sse.ts:158
HIGH MINED113 Express POST /mcp/messages has no auth server/plugins/mcp-sse.ts:70
MED DEPCUR-NPM npm package `@vitejs/plugin-react` is 2 major version(s) behind (4.7.0 -> 6.0.2) client/package.json
MED DEPCUR-NPM npm package `@types/react-dom` is 1 major version(s) behind (18.3.7 -> 19.2.3) client/package.json
MED DEPCUR-NPM npm package `recharts` is 1 major version(s) behind (2.15.3 -> 3.8.1) client/package.json
MED DEPCUR-NPM npm package `lightweight-charts` is 1 major version(s) behind (4.2.3 -> 5.2.0) client/package.json
MED DEPCUR-NPM npm package `undici` is 1 major version(s) behind (7.25.0 -> 8.5.0) server/package.json
MED DEPCUR-NPM npm package `chromadb` is 2 major version(s) behind (1.10.5 -> 3.4.3) server/package.json
MED DEPCUR-NPM npm package `@huggingface/transformers` is 1 major version(s) behind (3.8.1 -> 4.2.0) server/package.json
MED DEPCUR-NPM npm package `@fastify/static` is 1 major version(s) behind (8.3.0 -> 9.1.3) server/package.json
MED DEPCUR-NPM npm package `@fastify/cors` is 1 major version(s) behind (10.1.0 -> 11.2.0) server/package.json
MED GHSA-v6wh-96g9-6wx3 vite: GHSA-v6wh-96g9-6wx3 package-lock.json
MED GHSA-4w7w-66w2-5vf9 vite: GHSA-4w7w-66w2-5vf9 package-lock.json
MED GHSA-w5hq-g745-h8pq uuid: GHSA-w5hq-g745-h8pq package-lock.json
MED GHSA-pr7r-676h-xcf6 undici: GHSA-pr7r-676h-xcf6 package-lock.json
MED GHSA-vmf3-w455-68vh tar: GHSA-vmf3-w455-68vh package-lock.json
MED GHSA-2j2x-hqr9-3h42 react-router: GHSA-2j2x-hqr9-3h42 package-lock.json
MED GHSA-q6x5-8v7m-xcrf protobufjs: GHSA-q6x5-8v7m-xcrf package-lock.json
MED GHSA-jggg-4jg4-v7c6 protobufjs: GHSA-jggg-4jg4-v7c6 package-lock.json
MED GHSA-fx83-v9x8-x52w protobufjs: GHSA-fx83-v9x8-x52w package-lock.json
MED GHSA-f38q-mgvj-vph7 protobufjs: GHSA-f38q-mgvj-vph7 package-lock.json
MED GHSA-2pr8-phx7-x9h3 protobufjs: GHSA-2pr8-phx7-x9h3 package-lock.json
MED GHSA-67mh-4wv8-2f99 esbuild: GHSA-67mh-4wv8-2f99 package-lock.json
MED GHSA-rp9w-3fw7-7cwq dompurify: GHSA-rp9w-3fw7-7cwq package-lock.json
MED GHSA-r47g-fvhr-h676 dompurify: GHSA-r47g-fvhr-h676 package-lock.json
MED GHSA-hpcv-96wg-7vj8 dompurify: GHSA-hpcv-96wg-7vj8 package-lock.json
MED GHSA-cmwh-pvxp-8882 dompurify: GHSA-cmwh-pvxp-8882 package-lock.json
MED GHSA-76mc-f452-cxcm dompurify: GHSA-76mc-f452-cxcm package-lock.json
MED GHSA-jxxr-4gwj-5jf2 brace-expansion: GHSA-jxxr-4gwj-5jf2 package-lock.json
MED GHSA-q6x5-8v7m-xcrf @protobufjs/utf8: GHSA-q6x5-8v7m-xcrf package-lock.json
MED GHSA-x428-ghpx-8j92 @fastify/static: GHSA-x428-ghpx-8j92 package-lock.json
MED GHSA-pr96-94w5-mx2h @fastify/static: GHSA-pr96-94w5-mx2h package-lock.json
MED SEC017 [SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external … server/services/ai-tool-registry.ts:169
MED CORE_NO_CI No CI/CD configuration found
LOW DEPCUR-NPM npm package `jsdom` is minor version(s) behind (29.0.2 -> 29.1.1) client/package.json
LOW DEPCUR-NPM npm package `@types/dompurify` is minor version(s) behind (3.0.5 -> 3.2.0) client/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) server/package.json
LOW DEPCUR-NPM npm package `yahoo-finance2` is minor version(s) behind (3.14.0 -> 3.15.3) server/package.json
LOW DEPCUR-NPM npm package `better-sqlite3` is minor version(s) behind (12.9.0 -> 12.11.1) server/package.json
LOW DEPCUR-NPM npm package `@anthropic-ai/sdk` is minor version(s) behind (0.30.1 -> 0.105.0) server/package.json
LOW DEPCUR-NPM npm package `simple-statistics` is minor version(s) behind (7.8.9 -> 7.9.0) package.json
LOW DEPCUR-NPM npm package `ollama` is minor version(s) behind (0.5.18 -> 0.6.3) package.json
LOW DEPCUR-NPM npm package `better-sqlite3` is minor version(s) behind (12.9.0 -> 12.11.1) package.json
LOW GHSA-g7r4-m6w7-qqqr esbuild: GHSA-g7r4-m6w7-qqqr package-lock.json
LOW GHSA-x4vx-rjvf-j5p4 dompurify: GHSA-x4vx-rjvf-j5p4 package-lock.json
LOW GHSA-vxr8-fq34-vvx9 dompurify: GHSA-vxr8-fq34-vvx9 package-lock.json
LOW GHSA-gvmj-g25r-r7wr dompurify: GHSA-gvmj-g25r-r7wr package-lock.json
LOW GHSA-4x5r-pxfx-6jf8 @babel/core: GHSA-4x5r-pxfx-6jf8 package-lock.json
LOW AIC003 Duplicated implementation block across source files server/services/portfolio-health.ts:3
LOW AIC003 Duplicated implementation block across source files server/services/document-generation.ts:228
LOW AIC003 Duplicated implementation block across source files client/src/components/confirmation/Trad…:42
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/test-yahoo.ts:8
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/test-fmp.ts:11
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/store-credential.ts:10
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… client/src/components/ui/ThinkingLoader…:62
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… client/src/components/confirmation/Just…:116
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… client/src/components/confirmation/Trad…:92
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… client/src/components/confirmation/Suit…:33
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… client/src/components/chat/ProposalBloc…:147
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … server/services/fund-enrichment.ts:47
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … server/services/data-retrieval.ts:131
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … client/src/components/chat/BranchGraph.…:118
INFO DEPCUR-NPM npm package `postcss` is patch version(s) behind (8.5.10 -> 8.5.15) client/package.json
INFO DEPCUR-NPM npm package `marked` is patch version(s) behind (18.0.2 -> 18.0.5) client/package.json
INFO DEPCUR-NPM npm package `dompurify` is patch version(s) behind (3.4.1 -> 3.4.11) client/package.json
Reset to top 5 112 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `noelrim/asset_management`

**Score: 55/100 (C-)**  ·  112 findings  ·  scanned 2026-06-18 20:35 UTC  ·  52,662 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 46 |
| MEDIUM | 32 |
| LOW | 18 |

📊 [Full filterable report](https://repobility.com/scan/c9d16ec1-0723-4648-a288-c1842764523c/)  ·  ![scorecard](https://repobility.com/scan/c9d16ec1-0723-4648-a288-c1842764523c/report.png?v=1781814952-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `inputs/CIF_Aggregator_Product_Brief.md:374`
2. **CRITICAL** `GHSA-5xrq-8626-4rwp` — vitest: GHSA-5xrq-8626-4rwp
   `package-lock.json`
3. **HIGH** `SEC083` — JS: new RegExp() with non-literal
   `server/services/anonymization.ts:229`
4. **HIGH** `SEC135` — Auth/permission check missing on AI-generated endpoint
   `server/routes/clients.ts:27` · CWE-862
5. **HIGH** `SEC135` — Auth/permission check missing on AI-generated endpoint
   `server/routes/adequacy.ts:22` · CWE-862

---

**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/c9d16ec1-0723-4648-a288-c1842764523c/_
Megaproject â high spam risk
Could not determine 'noelrim/asset_management' 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.