Insights
Fix it yourself
Change: Fix no-hardcoded-secrets: Possible hardcoded API key (no-hardcoded-secrets)
4 occurrences in 4 files (infrastructure/kubernetes/secrets.yml, load-tests/scenarios/auth.js, packages/db/src/seed.ts, …)
Where — Possible hardcoded API key:
- infrastructure/kubernetes/secrets.yml:58
- load-tests/scenarios/auth.js:97
- packages/db/src/seed.ts:67
- services/mta/src/relay/relay.ts:325
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 ~489 test files to reach a 20% test-to-source ratio
163 test files today against ~3260 source files (Low (<20%))
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 a README
The front door of the repo — 40 of documentation's 100 points
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 a LICENSE file
Unlicensed code is legally unusable by anyone else
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 5,000 bytes
Average is 9,939 bytes across 1022 files; start with api.ts, server.ts, messages.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.
Fix it yourself
Change: Add a CHANGELOG
Lets users see what changed between versions
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-raw-sql-injection: Raw query with interpolation (no-raw-sql-injection)
1 occurrence in 1 file (apps/api/src/routes/sentiment-timeline.ts)
Where — Raw query with interpolation:
- apps/api/src/routes/sentiment-timeline.ts:385
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-weak-crypto: MD5 hash used — cryptographically weak (no-weak-crypto)
1 occurrence in 1 file (services/sentinel/src/fingerprint/generator.ts)
Where — MD5 hash used — cryptographically weak:
- services/sentinel/src/fingerprint/generator.ts:142
Make the change on a branch, push it, and open a pull request — the health score recomputes on the next visit.
criticalPossible hardcoded API key — 4 occurrences in 4 files
mediumRaw query with interpolation — 1 occurrence in 1 file
mediumMD5 hash used — cryptographically weak — 1 occurrence in 1 file
lowSecurity linter rule disabled — 11 occurrences in 4 files
bun tsc --noEmitbun run lintbun testbun run buildbun run typecheck