Insights
Fix it yourself
Change: Fix no-eval: Use of eval() — potential code injection (no-eval)
3 occurrences in 3 files (src/lib/hosted-claude-loop.ts, src/lib/intelligence.ts, src/lib/workflow-conditionals.ts)
Where — Use of eval() — potential code injection:
- src/lib/hosted-claude-loop.ts:15
- src/lib/intelligence.ts:469
- src/lib/workflow-conditionals.ts:6
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
Fix it yourself
Change: Fix no-hardcoded-secrets: Hardcoded credential used as a fallback when the environment variable is unset (no-hardcoded-secrets)
1 occurrence in 1 file (src/lib/intelligence.ts)
Where — Hardcoded credential used as a fallback when the environment variable is unset:
- src/lib/intelligence.ts:454
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
Fix it yourself
Change: Fix no-inner-html: Direct innerHTML assignment — potential XSS (no-inner-html)
10 occurrences in 5 files (src/lib/intelligence.ts, src/lib/markdown-preview.ts, src/routes/connect-claude.tsx, …)
Where — Direct innerHTML assignment — potential XSS:
- src/lib/intelligence.ts:650, 655, 680, 814
- src/lib/markdown-preview.ts:53, 54
- src/routes/connect-claude.tsx:738
- src/routes/debt-map.tsx:1120, 1228
- src/routes/demo.tsx:176
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
Fix it yourself
Change: Add ~272 test files to reach a 80% test-to-source ratio
453 test files today against ~906 source files (Good (50-80%))
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
Fix it yourself
Change: Split the largest files to bring average size under 10,000 bytes
Average is 14,148 bytes across 1101 files; start with pulls.tsx, web.tsx, schema.ts
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
Fix it yourself
Change: Add CONTRIBUTING.md
Tells collaborators how to work on the repo
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
criticalHardcoded credential used as a fallback when the environment variable is unset — 1 occurrence in 1 file
highUse of eval() — potential code injection — 3 occurrences in 3 files
mediumDirect innerHTML assignment — potential XSS — 10 occurrences in 5 files
lowSecurity linter rule disabled — 10 occurrences in 10 files
lowSHA1 hash — consider SHA-256+ — 3 occurrences in 2 files
infoSecurity-related TODO found — 10 occurrences in 5 files
bun tsc --noEmitbun testbun run typecheck