{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "scanner-fa9dee62bffe0449", "name": "Stray `console.log` in TS/JS \u2014 dashboard/server.ts:218", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 dashboard/server.ts:218"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ce244a459aab6ff8", "name": "Stray `console.log` in TS/JS \u2014 agent/src/approvals.ts:123", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/approvals.ts:123"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-39d6d72e92714c8d", "name": "Stray `console.log` in TS/JS \u2014 agent/src/backfill-edges.ts:10", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/backfill-edges.ts:10"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-856615d8997f17f3", "name": "Stray `console.log` in TS/JS \u2014 agent/src/webchat.ts:32", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/webchat.ts:32"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b0de0cdd52fab732", "name": "Stray `console.log` in TS/JS \u2014 agent/src/index.ts:32", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/index.ts:32"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1ada020e67fc874c", "name": "Stray `console.log` in TS/JS \u2014 agent/src/cli.ts:13", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/cli.ts:13"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0741ddb7089c786c", "name": "Stray `console.log` in TS/JS \u2014 agent/src/scheduler.ts:45", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/scheduler.ts:45"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f416b36f559d035f", "name": "TODO/FIXME marker in shipping code \u2014 agent/src/gap-analysis.ts:144", "shortDescription": {"text": "TODO/FIXME marker in shipping code \u2014 agent/src/gap-analysis.ts:144"}, "fullDescription": {"text": "Track in /reviews or /issues, not as a code comment that rots.\n\nWhy: Drift control \u2014 shouldn't be the same as Quality TODO scanner.\nRule id: fq.todo-marker"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-99363df0c98397a2", "name": "Stray `console.log` in TS/JS \u2014 agent/src/gap-analysis.ts:215", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/gap-analysis.ts:215"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-855bd8b1b2ea4aea", "name": "Stray `console.log` in TS/JS \u2014 agent/src/agent.ts:190", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/agent.ts:190"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-bb94553c12c6eba1", "name": "Privileged port 4 in use", "shortDescription": {"text": "Privileged port 4 in use"}, "fullDescription": {"text": "Port 4 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer."}, "properties": {"scanner": "scanner-primary", "layer": "network", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-93e02e0d67c8f3e8", "name": "Docker base image is tag-pinned but not digest-pinned: node:22-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6e87f6010c290830", "name": "Dockerfile runs as root: dashboard/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: dashboard/Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-7e076afe2b448819", "name": "Docker base image is tag-pinned but not digest-pinned: node:22-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-alpine"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-aa5acaa49eb8315b", "name": "Containers defined but no K8s/orchestration manifest found", "shortDescription": {"text": "Containers defined but no K8s/orchestration manifest found"}, "fullDescription": {"text": "Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-d822592d56a8e014", "name": "Insecure pattern 'direct_innerhtml_assignment' in dashboard/public/index.html:501", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in dashboard/public/index.html:501"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 24 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9d79c4077342a7d0", "name": "Runtime service client appears to use placeholder configuration", "shortDescription": {"text": "Runtime service client appears to use placeholder configuration"}, "fullDescription": {"text": "A runtime source file appears to wire Supabase/Firebase/AI/payment-style clients to placeholder URLs, keys, or fallback values. In the Fable corpus this often means the UI/API shape is present while the backend service is not actually configured."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-beb11449cee35741", "name": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/approvals.ts:67", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/approvals.ts:67"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1f530036b6400a85", "name": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/scheduler.ts:24", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/scheduler.ts:24"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-8e7f26f0918302c1", "name": "Commented-code block (7 lines) in agent/src/dream.ts:30", "shortDescription": {"text": "Commented-code block (7 lines) in agent/src/dream.ts:30"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-44a18adb2123db4b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/telegram.ts:194", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/telegram.ts:194"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b0b5e7cb1208a7cd", "name": "13 env vars used in code but missing from .env.example", "shortDescription": {"text": "13 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `APPROVAL_SIGNING_SECRET`, `BASH_AUTO_APPROVE`, `BRAIN_AUDIENCE`, `CHAT_MODEL`, `CHAT_TOKEN`, `DAILY_SPEND_LIMIT_USD`, `DREAM_MODEL`, `HOME` + 5 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-37ce4a7752c04933", "name": "Dangling fetch: POST https://api.openai.com/v1/embeddings (shared/src/embeddings.ts:15)", "shortDescription": {"text": "Dangling fetch: POST https://api.openai.com/v1/embeddings (shared/src/embeddings.ts:15)"}, "fullDescription": {"text": "`shared/src/embeddings.ts:15` calls `POST https://api.openai.com/v1/embeddings` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/api.openai.com/v1/embeddings`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-8ffc8ee94a68ccf8", "name": "Dangling fetch: POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage (agent/src/approvals.ts:67)", "shortDescription": {"text": "Dangling fetch: POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage (agent/src/approvals.ts:67)"}, "fullDescription": {"text": "`agent/src/approvals.ts:67` calls `POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/api.telegram.org/bot/<p>/sendmessage`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-91e7a2c6f28927e2", "name": "Dangling fetch: POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage (agent/src/scheduler.ts:24)", "shortDescription": {"text": "Dangling fetch: POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage (agent/src/scheduler.ts:24)"}, "fullDescription": {"text": "`agent/src/scheduler.ts:24` calls `POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/api.telegram.org/bot/<p>/sendmessage`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-4756b4c4da7d2088", "name": "Unused endpoint: GET /api/health", "shortDescription": {"text": "Unused endpoint: GET /api/health"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/health` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-deec2531837862f7", "name": "Unused endpoint: GET /api/episodes", "shortDescription": {"text": "Unused endpoint: GET /api/episodes"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/episodes` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-082a2716ac11132d", "name": "Unused endpoint: GET /api/cc-sessions", "shortDescription": {"text": "Unused endpoint: GET /api/cc-sessions"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/cc-sessions` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-a74464b0f1216462", "name": "Unused endpoint: GET /api/memory", "shortDescription": {"text": "Unused endpoint: GET /api/memory"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/memory` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-24b4159b074804ca", "name": "Unused endpoint: GET /api/spend", "shortDescription": {"text": "Unused endpoint: GET /api/spend"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/spend` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2261a42fc8456cd4", "name": "Unused endpoint: GET /api/scheduler", "shortDescription": {"text": "Unused endpoint: GET /api/scheduler"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/scheduler` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9185678549c1ef6d", "name": "Unused endpoint: GET /api/graph", "shortDescription": {"text": "Unused endpoint: GET /api/graph"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/graph` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-faa3e8a17db774a4", "name": "Unused endpoint: GET /api/page/:id", "shortDescription": {"text": "Unused endpoint: GET /api/page/:id"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/page/: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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9d2517f9eafc5297", "name": "Unused endpoint: POST /api/chat", "shortDescription": {"text": "Unused endpoint: POST /api/chat"}, "fullDescription": {"text": "`dashboard/server.ts` declares `POST /api/chat` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e56d69b4f1ceed1e", "name": "Unused endpoint: GET /api/chat/history", "shortDescription": {"text": "Unused endpoint: GET /api/chat/history"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/chat/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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b1f58341d1f3a94c", "name": "Unused endpoint: GET /api/chat/:id", "shortDescription": {"text": "Unused endpoint: GET /api/chat/:id"}, "fullDescription": {"text": "`dashboard/server.ts` declares `GET /api/chat/: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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/21785"}, "properties": {"repository": "tyler-grimes/somnus", "repoUrl": "https://github.com/tyler-grimes/somnus", "branch": "main"}, "results": [{"ruleId": "scanner-fa9dee62bffe0449", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 dashboard/server.ts:218"}, "properties": {"repobilityId": "7994744cc335ecbe", "scanner": "scanner-primary", "fingerprint": "fa9dee62bffe0449", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-ce244a459aab6ff8", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/approvals.ts:123"}, "properties": {"repobilityId": "41fd3e725c1be885", "scanner": "scanner-primary", "fingerprint": "ce244a459aab6ff8", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-39d6d72e92714c8d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/backfill-edges.ts:10"}, "properties": {"repobilityId": "60843f5c1e70a990", "scanner": "scanner-primary", "fingerprint": "39d6d72e92714c8d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-856615d8997f17f3", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/webchat.ts:32"}, "properties": {"repobilityId": "d36b287fe4660a9f", "scanner": "scanner-primary", "fingerprint": "856615d8997f17f3", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-b0de0cdd52fab732", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/index.ts:32"}, "properties": {"repobilityId": "4b5ddcf25f94643a", "scanner": "scanner-primary", "fingerprint": "b0de0cdd52fab732", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-1ada020e67fc874c", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/cli.ts:13"}, "properties": {"repobilityId": "67849f99ad59b7e8", "scanner": "scanner-primary", "fingerprint": "1ada020e67fc874c", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-0741ddb7089c786c", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/scheduler.ts:45"}, "properties": {"repobilityId": "b0a7e5e8c8c584d2", "scanner": "scanner-primary", "fingerprint": "0741ddb7089c786c", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-f416b36f559d035f", "level": "none", "message": {"text": "TODO/FIXME marker in shipping code \u2014 agent/src/gap-analysis.ts:144"}, "properties": {"repobilityId": "b75cab81782edcc8", "scanner": "scanner-primary", "fingerprint": "f416b36f559d035f", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.todo-marker"]}}, {"ruleId": "scanner-99363df0c98397a2", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/gap-analysis.ts:215"}, "properties": {"repobilityId": "b53b5d1318161564", "scanner": "scanner-primary", "fingerprint": "99363df0c98397a2", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-855bd8b1b2ea4aea", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 agent/src/agent.ts:190"}, "properties": {"repobilityId": "86fc58ffc9bc92e6", "scanner": "scanner-primary", "fingerprint": "855bd8b1b2ea4aea", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-bb94553c12c6eba1", "level": "warning", "message": {"text": "Privileged port 4 in use"}, "properties": {"repobilityId": "1594bfeff919296e", "scanner": "scanner-primary", "fingerprint": "bb94553c12c6eba1", "layer": "network", "severity": "medium", "confidence": 1.0, "tags": ["security", "ports"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "ops/vm/backup.sh"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-93e02e0d67c8f3e8", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-slim"}, "properties": {"repobilityId": "0f9a43d911c53270", "scanner": "scanner-primary", "fingerprint": "93e02e0d67c8f3e8", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 6}}}]}, {"ruleId": "scanner-93e02e0d67c8f3e8", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-slim"}, "properties": {"repobilityId": "cf3047060211dc8b", "scanner": "scanner-primary", "fingerprint": "93e02e0d67c8f3e8", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 19}}}]}, {"ruleId": "scanner-6e87f6010c290830", "level": "warning", "message": {"text": "Dockerfile runs as root: dashboard/Dockerfile"}, "properties": {"repobilityId": "07b21f6b70989372", "scanner": "scanner-primary", "fingerprint": "6e87f6010c290830", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-7e076afe2b448819", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-alpine"}, "properties": {"repobilityId": "e17dd244b33ecc4c", "scanner": "scanner-primary", "fingerprint": "7e076afe2b448819", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard/Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-aa5acaa49eb8315b", "level": "note", "message": {"text": "Containers defined but no K8s/orchestration manifest found"}, "properties": {"repobilityId": "b230ea9b68736081", "scanner": "scanner-primary", "fingerprint": "aa5acaa49eb8315b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["coverage", "deployment"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-d822592d56a8e014", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in dashboard/public/index.html:501"}, "properties": {"repobilityId": "a258de0e9e4ef49a", "scanner": "scanner-primary", "fingerprint": "d822592d56a8e014", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard/public/index.html"}, "region": {"startLine": 501}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "1f8c69fa67ed6df6", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "f914795e52791cd1", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-9d79c4077342a7d0", "level": "warning", "message": {"text": "Runtime service client appears to use placeholder configuration"}, "properties": {"repobilityId": "6932e4026eb76eb3", "scanner": "scanner-primary", "fingerprint": "9d79c4077342a7d0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "runtime-config", "service-client", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "ff063e724a6212c2", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "596b02b2969fad35", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "9988295965730662", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "00754f443457aa36", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-beb11449cee35741", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/approvals.ts:67"}, "properties": {"repobilityId": "4223700852e8a796", "scanner": "scanner-primary", "fingerprint": "beb11449cee35741", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-1f530036b6400a85", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/scheduler.ts:24"}, "properties": {"repobilityId": "c3191c479b657dae", "scanner": "scanner-primary", "fingerprint": "1f530036b6400a85", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8e7f26f0918302c1", "level": "none", "message": {"text": "Commented-code block (7 lines) in agent/src/dream.ts:30"}, "properties": {"repobilityId": "4dee4abc93f947c4", "scanner": "scanner-primary", "fingerprint": "8e7f26f0918302c1", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-44a18adb2123db4b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 agent/src/telegram.ts:194"}, "properties": {"repobilityId": "cc1af9c34bfa77b7", "scanner": "scanner-primary", "fingerprint": "44a18adb2123db4b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-b0b5e7cb1208a7cd", "level": "note", "message": {"text": "13 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "2737b8666c1f7eeb", "scanner": "scanner-primary", "fingerprint": "b0b5e7cb1208a7cd", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-37ce4a7752c04933", "level": "error", "message": {"text": "Dangling fetch: POST https://api.openai.com/v1/embeddings (shared/src/embeddings.ts:15)"}, "properties": {"repobilityId": "66c079f075c1dd07", "scanner": "scanner-primary", "fingerprint": "37ce4a7752c04933", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-8ffc8ee94a68ccf8", "level": "error", "message": {"text": "Dangling fetch: POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage (agent/src/approvals.ts:67)"}, "properties": {"repobilityId": "33ae6dc57b71b94a", "scanner": "scanner-primary", "fingerprint": "8ffc8ee94a68ccf8", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-91e7a2c6f28927e2", "level": "error", "message": {"text": "Dangling fetch: POST https://api.telegram.org/bot${config.telegramBotToken}/sendMessage (agent/src/scheduler.ts:24)"}, "properties": {"repobilityId": "27475dad0e436387", "scanner": "scanner-primary", "fingerprint": "91e7a2c6f28927e2", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-4756b4c4da7d2088", "level": "note", "message": {"text": "Unused endpoint: GET /api/health"}, "properties": {"repobilityId": "1d60a8e3186b1234", "scanner": "scanner-primary", "fingerprint": "4756b4c4da7d2088", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-deec2531837862f7", "level": "note", "message": {"text": "Unused endpoint: GET /api/episodes"}, "properties": {"repobilityId": "e213da186abafbe8", "scanner": "scanner-primary", "fingerprint": "deec2531837862f7", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-082a2716ac11132d", "level": "note", "message": {"text": "Unused endpoint: GET /api/cc-sessions"}, "properties": {"repobilityId": "449d4f2475c9733d", "scanner": "scanner-primary", "fingerprint": "082a2716ac11132d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-a74464b0f1216462", "level": "note", "message": {"text": "Unused endpoint: GET /api/memory"}, "properties": {"repobilityId": "e013941758119079", "scanner": "scanner-primary", "fingerprint": "a74464b0f1216462", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-24b4159b074804ca", "level": "note", "message": {"text": "Unused endpoint: GET /api/spend"}, "properties": {"repobilityId": "8d32877d5014afc6", "scanner": "scanner-primary", "fingerprint": "24b4159b074804ca", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2261a42fc8456cd4", "level": "note", "message": {"text": "Unused endpoint: GET /api/scheduler"}, "properties": {"repobilityId": "27ae6d13d34039bd", "scanner": "scanner-primary", "fingerprint": "2261a42fc8456cd4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-9185678549c1ef6d", "level": "note", "message": {"text": "Unused endpoint: GET /api/graph"}, "properties": {"repobilityId": "829b8b479e2e8262", "scanner": "scanner-primary", "fingerprint": "9185678549c1ef6d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-faa3e8a17db774a4", "level": "note", "message": {"text": "Unused endpoint: GET /api/page/:id"}, "properties": {"repobilityId": "26886f9042085c63", "scanner": "scanner-primary", "fingerprint": "faa3e8a17db774a4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-9d2517f9eafc5297", "level": "note", "message": {"text": "Unused endpoint: POST /api/chat"}, "properties": {"repobilityId": "d65500028539518f", "scanner": "scanner-primary", "fingerprint": "9d2517f9eafc5297", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-e56d69b4f1ceed1e", "level": "note", "message": {"text": "Unused endpoint: GET /api/chat/history"}, "properties": {"repobilityId": "944c3a4f89a2289c", "scanner": "scanner-primary", "fingerprint": "e56d69b4f1ceed1e", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b1f58341d1f3a94c", "level": "note", "message": {"text": "Unused endpoint: GET /api/chat/:id"}, "properties": {"repobilityId": "0dd00fc3c1f65839", "scanner": "scanner-primary", "fingerprint": "b1f58341d1f3a94c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}