{"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-8bf7bc8e59e4af89", "name": "`dangerouslySetInnerHTML` used in a React component \u2014 apps/web/app/layout.tsx:18", "shortDescription": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 apps/web/app/layout.tsx:18"}, "fullDescription": {"text": "Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library.\n\nWhy: OWASP basics. Already partially flagged by the security analyzer.\nRule id: fq.dangerous-html"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-aa9a4ee6781a4b2a", "name": "Stray `console.log` in TS/JS \u2014 packages/database/prisma/seed.ts:110", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 packages/database/prisma/seed.ts:110"}, "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-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-43e496167fde2f4c", "name": "Runtime dotenv file present in repo: .env.test", "shortDescription": {"text": "Runtime dotenv file present in repo: .env.test"}, "fullDescription": {"text": "`.env.test` looks like a runtime dotenv file. It contains secret-looking assignments for S3_SECRET_KEY. Move real values to a secret manager and keep only `.env.example` style templates in source control."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "critical", "confidence": 1.0}}, {"id": "scanner-722491daf41916bb", "name": "Insecure pattern 'dangerous_innerhtml' in apps/web/app/layout.tsx:18", "shortDescription": {"text": "Insecure pattern 'dangerous_innerhtml' in apps/web/app/layout.tsx:18"}, "fullDescription": {"text": "Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-9d7f4613ed44fefe", "name": "Insecure pattern 'node_child_process' in e2e/global-setup.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in e2e/global-setup.ts:1"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). 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-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/upload-artifact@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-cb639d9a10a47b23", "name": "package.json defines install-time lifecycle scripts", "shortDescription": {"text": "package.json defines install-time lifecycle scripts"}, "fullDescription": {"text": "preinstall/install/postinstall/prepare scripts execute during dependency installation. Review them carefully for network calls, obfuscation, shell execution, or credential access."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b06b8d86f24c77f9", "name": "Node manifest has dependencies but no lockfile: apps/api/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: apps/api/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4a9eb7dc7c6e3880", "name": "Node manifest has dependencies but no lockfile: apps/web/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: apps/web/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e0ce25af760a4b00", "name": "Node manifest has dependencies but no lockfile: workers/ai/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: workers/ai/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d1a1fc3e87ae837f", "name": "Node manifest has dependencies but no lockfile: workers/connectors/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: workers/connectors/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-229f0ea675472502", "name": "Node manifest has dependencies but no lockfile: packages/reporting/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/reporting/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-cb01c01804de0b47", "name": "Node manifest has dependencies but no lockfile: packages/database/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/database/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-649894f0679fec57", "name": "Node manifest has dependencies but no lockfile: packages/connectors-sdk/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/connectors-sdk/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8acf8f59d811a9f3", "name": "Node manifest has dependencies but no lockfile: packages/ontology/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/ontology/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f85d8f0719e22fa8", "name": "Node manifest has dependencies but no lockfile: packages/contracts/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/contracts/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-eb850abe5d3c8bc3", "name": "Node manifest has dependencies but no lockfile: e2e/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: e2e/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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-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-7a5cd9140ae41ed9", "name": "Commented-code block (5 lines) in apps/web/app/prototypes/notebook/page.tsx:16", "shortDescription": {"text": "Commented-code block (5 lines) in apps/web/app/prototypes/notebook/page.tsx:16"}, "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-22edc2176da1b3e7", "name": "Commented-code block (5 lines) in apps/web/app/prototypes/graph/force-layout.ts:1", "shortDescription": {"text": "Commented-code block (5 lines) in apps/web/app/prototypes/graph/force-layout.ts:1"}, "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-c3e83dd090666279", "name": "`fetch()` without try/.catch or AbortSignal \u2014 apps/web/lib/api.ts:53", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 apps/web/lib/api.ts:53"}, "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-d758c5bf1355fe73", "name": "Commented-code block (5 lines) in e2e/stack.ts:1", "shortDescription": {"text": "Commented-code block (5 lines) in e2e/stack.ts:1"}, "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-1b5a76780c3df9aa", "name": "1 env vars used in code but missing from .env.example", "shortDescription": {"text": "1 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `CI`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-ad7fb3966d0e94b6", "name": "Unused endpoint: GET /cases", "shortDescription": {"text": "Unused endpoint: GET /cases"}, "fullDescription": {"text": "`apps/api/src/modules/cases/routes.ts` declares `GET /cases` 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-b1985d10564cd776", "name": "Unused endpoint: POST /cases", "shortDescription": {"text": "Unused endpoint: POST /cases"}, "fullDescription": {"text": "`apps/api/src/modules/cases/routes.ts` declares `POST /cases` 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-e4dce280c8adabc3", "name": "Unused endpoint: GET /cases/:caseId", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId"}, "fullDescription": {"text": "`apps/api/src/modules/cases/routes.ts` declares `GET /cases/:caseId` 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-51969eb3b9d936d5", "name": "Unused endpoint: PATCH /cases/:caseId", "shortDescription": {"text": "Unused endpoint: PATCH /cases/:caseId"}, "fullDescription": {"text": "`apps/api/src/modules/cases/routes.ts` declares `PATCH /cases/:caseId` 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-8fdbacfe9430a6ed", "name": "Unused endpoint: POST /auth/login", "shortDescription": {"text": "Unused endpoint: POST /auth/login"}, "fullDescription": {"text": "`apps/api/src/modules/auth/routes.ts` 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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-c059f57186114027", "name": "Unused endpoint: POST /auth/logout", "shortDescription": {"text": "Unused endpoint: POST /auth/logout"}, "fullDescription": {"text": "`apps/api/src/modules/auth/routes.ts` declares `POST /auth/logout` 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-fd1dc91abf32142d", "name": "Unused endpoint: GET /me", "shortDescription": {"text": "Unused endpoint: GET /me"}, "fullDescription": {"text": "`apps/api/src/modules/auth/routes.ts` declares `GET /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 \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ef7f5df555c4d289", "name": "Unused endpoint: GET /connectors", "shortDescription": {"text": "Unused endpoint: GET /connectors"}, "fullDescription": {"text": "`apps/api/src/modules/connectors/routes.ts` declares `GET /connectors` 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-42b4cb295dc11cd4", "name": "Unused endpoint: POST /cases/:caseId/connector-jobs", "shortDescription": {"text": "Unused endpoint: POST /cases/:caseId/connector-jobs"}, "fullDescription": {"text": "`apps/api/src/modules/connectors/routes.ts` declares `POST /cases/:caseId/connector-jobs` 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-8826f2fe7dd5e469", "name": "Unused endpoint: GET /cases/:caseId/connector-jobs", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId/connector-jobs"}, "fullDescription": {"text": "`apps/api/src/modules/connectors/routes.ts` declares `GET /cases/:caseId/connector-jobs` 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-662a2019cb1f5875", "name": "Unused endpoint: GET /cases/:caseId/connector-jobs/:jobId", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId/connector-jobs/:jobId"}, "fullDescription": {"text": "`apps/api/src/modules/connectors/routes.ts` declares `GET /cases/:caseId/connector-jobs/:jobId` 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-2e4a4ede4cd89448", "name": "Unused endpoint: POST /cases/:caseId/connector-jobs/:jobId/retry", "shortDescription": {"text": "Unused endpoint: POST /cases/:caseId/connector-jobs/:jobId/retry"}, "fullDescription": {"text": "`apps/api/src/modules/connectors/routes.ts` declares `POST /cases/:caseId/connector-jobs/:jobId/retry` 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-5dee9c7b9e891619", "name": "Unused endpoint: GET /cases/:caseId/audit-events", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId/audit-events"}, "fullDescription": {"text": "`apps/api/src/modules/audit/routes.ts` declares `GET /cases/:caseId/audit-events` 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-84c810e8e174f920", "name": "Unused endpoint: GET /cases/:caseId/evidence", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId/evidence"}, "fullDescription": {"text": "`apps/api/src/modules/evidence/routes.ts` declares `GET /cases/:caseId/evidence` 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-5c0d8eb02aa3a2e7", "name": "Unused endpoint: POST /cases/:caseId/evidence/manual", "shortDescription": {"text": "Unused endpoint: POST /cases/:caseId/evidence/manual"}, "fullDescription": {"text": "`apps/api/src/modules/evidence/routes.ts` declares `POST /cases/:caseId/evidence/manual` 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-7cda201a1bd74804", "name": "Unused endpoint: POST /cases/:caseId/evidence/files", "shortDescription": {"text": "Unused endpoint: POST /cases/:caseId/evidence/files"}, "fullDescription": {"text": "`apps/api/src/modules/evidence/routes.ts` declares `POST /cases/:caseId/evidence/files` 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-a7473d80fb4002d7", "name": "Unused endpoint: GET /cases/:caseId/evidence/:evidenceId", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId/evidence/:evidenceId"}, "fullDescription": {"text": "`apps/api/src/modules/evidence/routes.ts` declares `GET /cases/:caseId/evidence/:evidenceId` 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-f72c090b059d2ecc", "name": "Unused endpoint: PATCH /cases/:caseId/evidence/:evidenceId", "shortDescription": {"text": "Unused endpoint: PATCH /cases/:caseId/evidence/:evidenceId"}, "fullDescription": {"text": "`apps/api/src/modules/evidence/routes.ts` declares `PATCH /cases/:caseId/evidence/:evidenceId` 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-880ca0bf49b59635", "name": "Unused endpoint: GET /cases/:caseId/evidence/:evidenceId/download", "shortDescription": {"text": "Unused endpoint: GET /cases/:caseId/evidence/:evidenceId/download"}, "fullDescription": {"text": "`apps/api/src/modules/evidence/routes.ts` declares `GET /cases/:caseId/evidence/:evidenceId/download` 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/21701"}, "properties": {"repository": "ttotheq/evidara", "repoUrl": "https://github.com/ttotheq/evidara", "branch": "main"}, "results": [{"ruleId": "scanner-8bf7bc8e59e4af89", "level": "warning", "message": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 apps/web/app/layout.tsx:18"}, "properties": {"repobilityId": "c0c2a3988fe8adb9", "scanner": "scanner-primary", "fingerprint": "8bf7bc8e59e4af89", "layer": "frontend", "severity": "medium", "confidence": 1.0, "tags": ["frontend-quality", "fq.dangerous-html"]}}, {"ruleId": "scanner-aa9a4ee6781a4b2a", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 packages/database/prisma/seed.ts:110"}, "properties": {"repobilityId": "7d02f3de957c4f8e", "scanner": "scanner-primary", "fingerprint": "aa9a4ee6781a4b2a", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"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-43e496167fde2f4c", "level": "error", "message": {"text": "Runtime dotenv file present in repo: .env.test"}, "properties": {"repobilityId": "25baea8a4d77c75a", "scanner": "scanner-primary", "fingerprint": "43e496167fde2f4c", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets", "config", "env-file", "runtime-env", "env_file_with_secret"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".env.test"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-722491daf41916bb", "level": "warning", "message": {"text": "Insecure pattern 'dangerous_innerhtml' in apps/web/app/layout.tsx:18"}, "properties": {"repobilityId": "9e48a86129166999", "scanner": "scanner-primary", "fingerprint": "722491daf41916bb", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "dangerous_innerhtml"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/web/app/layout.tsx"}, "region": {"startLine": 18}}}]}, {"ruleId": "scanner-9d7f4613ed44fefe", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in e2e/global-setup.ts:1"}, "properties": {"repobilityId": "fe88519c5800749a", "scanner": "scanner-primary", "fingerprint": "9d7f4613ed44fefe", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "e2e/global-setup.ts"}, "region": {"startLine": 1}}}]}, {"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-27924aa79fa4a517", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "bd7f3c1c34d83159", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 102}}}]}, {"ruleId": "scanner-cb639d9a10a47b23", "level": "note", "message": {"text": "package.json defines install-time lifecycle scripts"}, "properties": {"repobilityId": "edeab51902066991", "scanner": "scanner-primary", "fingerprint": "cb639d9a10a47b23", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "npm", "install-scripts"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b06b8d86f24c77f9", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: apps/api/package.json"}, "properties": {"repobilityId": "ce77cd34ed0306d4", "scanner": "scanner-primary", "fingerprint": "b06b8d86f24c77f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4a9eb7dc7c6e3880", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: apps/web/package.json"}, "properties": {"repobilityId": "6c1704bf24cf19ac", "scanner": "scanner-primary", "fingerprint": "4a9eb7dc7c6e3880", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/web/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e0ce25af760a4b00", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: workers/ai/package.json"}, "properties": {"repobilityId": "c33b27a4253660f8", "scanner": "scanner-primary", "fingerprint": "e0ce25af760a4b00", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "workers/ai/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d1a1fc3e87ae837f", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: workers/connectors/package.json"}, "properties": {"repobilityId": "4cdfea04b442e317", "scanner": "scanner-primary", "fingerprint": "d1a1fc3e87ae837f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "workers/connectors/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-229f0ea675472502", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/reporting/package.json"}, "properties": {"repobilityId": "9337cbf3506e70b6", "scanner": "scanner-primary", "fingerprint": "229f0ea675472502", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/reporting/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-cb01c01804de0b47", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/database/package.json"}, "properties": {"repobilityId": "9b313fab9370ec72", "scanner": "scanner-primary", "fingerprint": "cb01c01804de0b47", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/database/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-649894f0679fec57", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/connectors-sdk/package.json"}, "properties": {"repobilityId": "f7fa88f87acd866e", "scanner": "scanner-primary", "fingerprint": "649894f0679fec57", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/connectors-sdk/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8acf8f59d811a9f3", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/ontology/package.json"}, "properties": {"repobilityId": "74a9a2c1b33881a9", "scanner": "scanner-primary", "fingerprint": "8acf8f59d811a9f3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/ontology/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f85d8f0719e22fa8", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/contracts/package.json"}, "properties": {"repobilityId": "9533b27beaa7d171", "scanner": "scanner-primary", "fingerprint": "f85d8f0719e22fa8", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/contracts/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-eb850abe5d3c8bc3", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: e2e/package.json"}, "properties": {"repobilityId": "4c9201e2b263799e", "scanner": "scanner-primary", "fingerprint": "eb850abe5d3c8bc3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "e2e/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "b8fc1e9c3351be0c", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "d38151160393f7e0", "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": "54094e3819c0ff63", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-7a5cd9140ae41ed9", "level": "none", "message": {"text": "Commented-code block (5 lines) in apps/web/app/prototypes/notebook/page.tsx:16"}, "properties": {"repobilityId": "b5e5d412c453bef4", "scanner": "scanner-primary", "fingerprint": "7a5cd9140ae41ed9", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-22edc2176da1b3e7", "level": "none", "message": {"text": "Commented-code block (5 lines) in apps/web/app/prototypes/graph/force-layout.ts:1"}, "properties": {"repobilityId": "eea58bdd06450989", "scanner": "scanner-primary", "fingerprint": "22edc2176da1b3e7", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c3e83dd090666279", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 apps/web/lib/api.ts:53"}, "properties": {"repobilityId": "a76a718f25868686", "scanner": "scanner-primary", "fingerprint": "c3e83dd090666279", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-d758c5bf1355fe73", "level": "none", "message": {"text": "Commented-code block (5 lines) in e2e/stack.ts:1"}, "properties": {"repobilityId": "5317e8570ce9c70d", "scanner": "scanner-primary", "fingerprint": "d758c5bf1355fe73", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1b5a76780c3df9aa", "level": "none", "message": {"text": "1 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d04379b337b44a15", "scanner": "scanner-primary", "fingerprint": "1b5a76780c3df9aa", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-ad7fb3966d0e94b6", "level": "note", "message": {"text": "Unused endpoint: GET /cases"}, "properties": {"repobilityId": "a7778acb53e1c49f", "scanner": "scanner-primary", "fingerprint": "ad7fb3966d0e94b6", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b1985d10564cd776", "level": "note", "message": {"text": "Unused endpoint: POST /cases"}, "properties": {"repobilityId": "2bc9827e76602875", "scanner": "scanner-primary", "fingerprint": "b1985d10564cd776", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-e4dce280c8adabc3", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId"}, "properties": {"repobilityId": "518f485e6c5a38eb", "scanner": "scanner-primary", "fingerprint": "e4dce280c8adabc3", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-51969eb3b9d936d5", "level": "note", "message": {"text": "Unused endpoint: PATCH /cases/:caseId"}, "properties": {"repobilityId": "22b99533e36786c4", "scanner": "scanner-primary", "fingerprint": "51969eb3b9d936d5", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-8fdbacfe9430a6ed", "level": "note", "message": {"text": "Unused endpoint: POST /auth/login"}, "properties": {"repobilityId": "d826884374950a04", "scanner": "scanner-primary", "fingerprint": "8fdbacfe9430a6ed", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-c059f57186114027", "level": "note", "message": {"text": "Unused endpoint: POST /auth/logout"}, "properties": {"repobilityId": "2087c04607468e27", "scanner": "scanner-primary", "fingerprint": "c059f57186114027", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-fd1dc91abf32142d", "level": "note", "message": {"text": "Unused endpoint: GET /me"}, "properties": {"repobilityId": "9923fa1dcf66be27", "scanner": "scanner-primary", "fingerprint": "fd1dc91abf32142d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-ef7f5df555c4d289", "level": "note", "message": {"text": "Unused endpoint: GET /connectors"}, "properties": {"repobilityId": "61fae0e7a1e7fe60", "scanner": "scanner-primary", "fingerprint": "ef7f5df555c4d289", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-42b4cb295dc11cd4", "level": "note", "message": {"text": "Unused endpoint: POST /cases/:caseId/connector-jobs"}, "properties": {"repobilityId": "6609549729368ffd", "scanner": "scanner-primary", "fingerprint": "42b4cb295dc11cd4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-8826f2fe7dd5e469", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId/connector-jobs"}, "properties": {"repobilityId": "de4cc5c60ffdba0c", "scanner": "scanner-primary", "fingerprint": "8826f2fe7dd5e469", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-662a2019cb1f5875", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId/connector-jobs/:jobId"}, "properties": {"repobilityId": "3d0b9259fa7757ac", "scanner": "scanner-primary", "fingerprint": "662a2019cb1f5875", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2e4a4ede4cd89448", "level": "note", "message": {"text": "Unused endpoint: POST /cases/:caseId/connector-jobs/:jobId/retry"}, "properties": {"repobilityId": "25214ebb08dc61c1", "scanner": "scanner-primary", "fingerprint": "2e4a4ede4cd89448", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5dee9c7b9e891619", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId/audit-events"}, "properties": {"repobilityId": "a80d411deebceffb", "scanner": "scanner-primary", "fingerprint": "5dee9c7b9e891619", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-84c810e8e174f920", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId/evidence"}, "properties": {"repobilityId": "a10f327f1ecf7078", "scanner": "scanner-primary", "fingerprint": "84c810e8e174f920", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5c0d8eb02aa3a2e7", "level": "note", "message": {"text": "Unused endpoint: POST /cases/:caseId/evidence/manual"}, "properties": {"repobilityId": "f41ed8585abf7c91", "scanner": "scanner-primary", "fingerprint": "5c0d8eb02aa3a2e7", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-7cda201a1bd74804", "level": "note", "message": {"text": "Unused endpoint: POST /cases/:caseId/evidence/files"}, "properties": {"repobilityId": "c1cd2e6ba826634d", "scanner": "scanner-primary", "fingerprint": "7cda201a1bd74804", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-a7473d80fb4002d7", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId/evidence/:evidenceId"}, "properties": {"repobilityId": "2427112e92a2ef2a", "scanner": "scanner-primary", "fingerprint": "a7473d80fb4002d7", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-f72c090b059d2ecc", "level": "note", "message": {"text": "Unused endpoint: PATCH /cases/:caseId/evidence/:evidenceId"}, "properties": {"repobilityId": "6ed18a580319450b", "scanner": "scanner-primary", "fingerprint": "f72c090b059d2ecc", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-880ca0bf49b59635", "level": "note", "message": {"text": "Unused endpoint: GET /cases/:caseId/evidence/:evidenceId/download"}, "properties": {"repobilityId": "3e2698bb2fedd2b5", "scanner": "scanner-primary", "fingerprint": "880ca0bf49b59635", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}