Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

tairsa/CalmSense

https://github.com/tairsa/CalmSense · scanned 2026-06-16 00:28 UTC (2 months, 2 weeks ago)

55 raw signals (0 security + 55 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 55 actionable findings from 1 signal source. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 60.1/100 with 100.0% coverage. It contains 322 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 55 findings — concentrated in api (35), quality (10), hardware (5). Risk profile is high: 0 critical, 17 high, 6 medium. Recommended next step: open the api layer findings first — that's where the highest-impact wins live.

Showing 53 of 55 actionable findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/admins (admin-app/src/api.js:67)
`admin-app/src/api.js:67` calls `GET /api/v1/admin/admins` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/admins` If this points at an external API, prefix it with `https://` so the matcher skips i…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/auth/me (admin-app/src/api.js:64)
`admin-app/src/api.js:64` calls `GET /api/v1/admin/auth/me` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/auth/me` If this points at an external API, prefix it with `https://` so the matcher skips…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/metrics/global (admin-app/src/api.js:69)
`admin-app/src/api.js:69` calls `GET /api/v1/admin/metrics/global` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/metrics/global` If this points at an external API, prefix it with `https://` so the…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/users (admin-app/src/api.js:70)
`admin-app/src/api.js:70` calls `GET /api/v1/admin/users` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/users/${encodeURIComponent(id)} (admin-app/src/api.js:71)
`admin-app/src/api.js:71` calls `GET /api/v1/admin/users/${encodeURIComponent(id)}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>` If this points at an external API, prefix it with `http…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/users/${encodeURIComponent(id)}/feedback (admin-app/src/api.js:73)
`admin-app/src/api.js:73` calls `GET /api/v1/admin/users/${encodeURIComponent(id)}/feedback` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/feedback` If this points at an external API, pr…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/users/${encodeURIComponent(id)}/model/history (admin-app/src/api.js:76)
`admin-app/src/api.js:76` calls `GET /api/v1/admin/users/${encodeURIComponent(id)}/model/history` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/model/history` If this points at an extern…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/users/${encodeURIComponent(id)}/reports (admin-app/src/api.js:72)
`admin-app/src/api.js:72` calls `GET /api/v1/admin/users/${encodeURIComponent(id)}/reports` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/reports` If this points at an external API, pref…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/v1/admin/users/${encodeURIComponent(id)}/sensor-data (admin-app/src/api.js:74)
`admin-app/src/api.js:74` calls `GET /api/v1/admin/users/${encodeURIComponent(id)}/sensor-data` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/sensor-data` If this points at an external A…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/v1/admin/auth/login (admin-app/src/api.js:63)
`admin-app/src/api.js:63` calls `POST /api/v1/admin/auth/login` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/auth/login` If this points at an external API, prefix it with `https://` so the matche…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/v1/admin/auth/register (admin-app/src/api.js:66)
`admin-app/src/api.js:66` calls `POST /api/v1/admin/auth/register` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/auth/register` If this points at an external API, prefix it with `https://` so the …
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/v1/admin/users/${encodeURIComponent(id)}/model/reset (admin-app/src/api.js:82)
`admin-app/src/api.js:82` calls `POST /api/v1/admin/users/${encodeURIComponent(id)}/model/reset` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/model/reset` If this points at an external …
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/v1/admin/users/${encodeURIComponent(id)}/model/retrain (admin-app/src/api.js:78)
`admin-app/src/api.js:78` calls `POST /api/v1/admin/users/${encodeURIComponent(id)}/model/retrain` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/model/retrain` If this points at an exter…
Dangling fetchHelper:request
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/v1/admin/users/${encodeURIComponent(id)}/model/rollback (admin-app/src/api.js:80)
`admin-app/src/api.js:80` calls `POST /api/v1/admin/users/${encodeURIComponent(id)}/model/rollback` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: helper:request Normalized path used for matching: `/v1/admin/users/<p>/model/rollback` If this points at an ext…
Dangling fetchHelper:request
high System graph security auth conf 1.00 FastAPI POST `receive_panic_feedback` without auth dependency — calmsense-backend/main.py:68
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
calmsense-backend/main.py:68 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `receive_panic_report` without auth dependency — calmsense-backend/main.py:90
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
calmsense-backend/main.py:90 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `receive_sensor_data` without auth dependency — calmsense-backend/main.py:50
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
calmsense-backend/main.py:50 securityAuth fastapi unauth mutation
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph hardware Security conf 1.00 Dockerfile runs as root: admin-app/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph quality Integrity conf 1.00 Frontend route `/users/:userId` has no Link/navigate to it — admin-app/src/App.jsx
The route is registered but no `<Link to=…>` or `navigate(…)` in the codebase navigates here. Either it's reachable only via direct URL (intentional), it's dead, or the link broke during a refactor.
Orphan pageWiring
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph network Security conf 1.00 Privileged port 20 in use
Port 20 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
calmsense-backend/docker-compose.yml Ports
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
2 test file(s) for 24 source file(s) (ratio 0.08). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Integrity conf 1.00 5 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `ADMIN_CORS_ORIGINS`, `ADMIN_JWT_EXPIRE_HOURS`, `CALMSENSE_AUTO_RETRAIN_MINUTES`, `CALMSENSE_MIN_TRAIN_SAMPLES`, `VITE_API_BASE`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 33 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: nginx:alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
admin-app/Dockerfile:21 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: node:20-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
admin-app/Dockerfile:11 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.12-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
calmsense-backend/Dockerfile:10 containersPinned dependencies
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: GET /admins
`calmsense-backend/admin_routes.py` declares `GET /admins` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/sensor-data
`calmsense-backend/main.py` declares `GET /api/v1/sensor-data` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /auth/me
`calmsense-backend/admin_routes.py` declares `GET /auth/me` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /auto-retrain/status
`calmsense-backend/admin_routes.py` declares `GET /auto-retrain/status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users
`calmsense-backend/admin_routes.py` declares `GET /users` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}/feedback
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}/feedback` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}/metrics
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}/metrics` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}/model
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}/model` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}/model/history
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}/model/history` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}/reports
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}/reports` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/{user_id}/sensor-data
`calmsense-backend/admin_routes.py` declares `GET /users/{user_id}/sensor-data` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/panic-feedback
`calmsense-backend/main.py` declares `POST /api/v1/panic-feedback` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/panic-reports
`calmsense-backend/main.py` declares `POST /api/v1/panic-reports` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/sensor-data
`calmsense-backend/main.py` declares `POST /api/v1/sensor-data` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/login
`calmsense-backend/admin_routes.py` declares `POST /auth/login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/register
`calmsense-backend/admin_routes.py` declares `POST /auth/register` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auto-retrain/run
`calmsense-backend/admin_routes.py` declares `POST /auto-retrain/run` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /users/{user_id}/model/reset
`calmsense-backend/admin_routes.py` declares `POST /users/{user_id}/model/reset` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /users/{user_id}/model/retrain
`calmsense-backend/admin_routes.py` declares `POST /users/{user_id}/model/retrain` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /users/{user_id}/model/rollback
`calmsense-backend/admin_routes.py` declares `POST /users/{user_id}/model/rollback` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/679f60f1-b0e6-4ca2-bb23-7a2921396c34/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/679f60f1-b0e6-4ca2-bb23-7a2921396c34/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.