{"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-a510aecd2a256fb7", "name": "Stray `console.log` in TS/JS \u2014 src/server/main.ts:11", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/server/main.ts:11"}, "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-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-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-e5b09dab12a4e2c0", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/checkout@v6 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-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-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-9b6cc7cd49f40caa", "name": "Commented-code block (5 lines) in tests/statePatchHash.test.ts:46", "shortDescription": {"text": "Commented-code block (5 lines) in tests/statePatchHash.test.ts:46"}, "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-995ccfdb3c3b53ea", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/client/api.ts:15", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/client/api.ts:15"}, "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-bdc4e1300299068f", "name": "Commented-code block (5 lines) in src/shared/statePatchHash.ts:32", "shortDescription": {"text": "Commented-code block (5 lines) in src/shared/statePatchHash.ts:32"}, "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: `NODE_ENV`. 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-4756b4c4da7d2088", "name": "Unused endpoint: GET /api/health", "shortDescription": {"text": "Unused endpoint: GET /api/health"}, "fullDescription": {"text": "`src/server/app.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-34fc47918ed7ee79", "name": "Unused endpoint: GET /api/networks", "shortDescription": {"text": "Unused endpoint: GET /api/networks"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks` 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-ea7acf5997d9e86b", "name": "Unused endpoint: GET /api/networks/:networkId/overview", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/overview"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/overview` 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-de8ce935d3d6353a", "name": "Unused endpoint: GET /api/networks/:networkId/proposals", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/proposals"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/proposals` 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-ef560eaca61adb3f", "name": "Unused endpoint: GET /api/networks/:networkId/policy", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/policy"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/policy` 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-fb67ebad1d6cd515", "name": "Unused endpoint: GET /api/networks/:networkId/history", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/history"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/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-9eb2fae2c67eb0f1", "name": "Unused endpoint: GET /api/networks/:networkId/proposals/:layer/:proposalId", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/proposals/:layer/:proposalId"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/proposals/:layer/:proposalId` 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-5965509305e0d8a3", "name": "Unused endpoint: GET /api/networks/:networkId/proposals/:layer/:proposalId/votes", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/proposals/:layer/:proposalId/votes"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/proposals/:layer/:proposalId/votes` 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-998b9e15be656182", "name": "Unused endpoint: GET /api/networks/:networkId/validators", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/validators"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/validators` 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-b26cf29f2bdf7c1d", "name": "Unused endpoint: GET /api/networks/:networkId/state-patches", "shortDescription": {"text": "Unused endpoint: GET /api/networks/:networkId/state-patches"}, "fullDescription": {"text": "`src/server/app.ts` declares `GET /api/networks/:networkId/state-patches` 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-6c5d45ff4e57b6dc", "name": "Unused endpoint: POST /api/networks/:networkId/simulate", "shortDescription": {"text": "Unused endpoint: POST /api/networks/:networkId/simulate"}, "fullDescription": {"text": "`src/server/app.ts` declares `POST /api/networks/:networkId/simulate` 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/22980"}, "properties": {"repository": "xian-technology/xian-governance-web", "repoUrl": "https://github.com/xian-technology/xian-governance-web", "branch": "main"}, "results": [{"ruleId": "scanner-a510aecd2a256fb7", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/server/main.ts:11"}, "properties": {"repobilityId": "c350cb7139a18502", "scanner": "scanner-primary", "fingerprint": "a510aecd2a256fb7", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"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-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-e5b09dab12a4e2c0", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "0f16a0487cea03fc", "scanner": "scanner-primary", "fingerprint": "e5b09dab12a4e2c0", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/validate.yml"}, "region": {"startLine": 16}}}]}, {"ruleId": "scanner-e5b09dab12a4e2c0", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "0f16a0487cea03fc", "scanner": "scanner-primary", "fingerprint": "e5b09dab12a4e2c0", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/validate.yml"}, "region": {"startLine": 21}}}]}, {"ruleId": "scanner-e5b09dab12a4e2c0", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "5f46a375168aa9a3", "scanner": "scanner-primary", "fingerprint": "e5b09dab12a4e2c0", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/validate.yml"}, "region": {"startLine": 28}}}]}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "4f5a26ef2d2f542a", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "9708b93c1a7aeea4", "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": "bc4e42618eb8ab21", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-9b6cc7cd49f40caa", "level": "none", "message": {"text": "Commented-code block (5 lines) in tests/statePatchHash.test.ts:46"}, "properties": {"repobilityId": "15398e9147f55716", "scanner": "scanner-primary", "fingerprint": "9b6cc7cd49f40caa", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-995ccfdb3c3b53ea", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/client/api.ts:15"}, "properties": {"repobilityId": "6fe256c8973851e8", "scanner": "scanner-primary", "fingerprint": "995ccfdb3c3b53ea", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-bdc4e1300299068f", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/shared/statePatchHash.ts:32"}, "properties": {"repobilityId": "99cb15084cdd6e58", "scanner": "scanner-primary", "fingerprint": "bdc4e1300299068f", "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-4756b4c4da7d2088", "level": "note", "message": {"text": "Unused endpoint: GET /api/health"}, "properties": {"repobilityId": "4c7942fd8071fe7a", "scanner": "scanner-primary", "fingerprint": "4756b4c4da7d2088", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-34fc47918ed7ee79", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks"}, "properties": {"repobilityId": "8ed0a653aa96813a", "scanner": "scanner-primary", "fingerprint": "34fc47918ed7ee79", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-ea7acf5997d9e86b", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/overview"}, "properties": {"repobilityId": "d4bac181f1f109ba", "scanner": "scanner-primary", "fingerprint": "ea7acf5997d9e86b", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-de8ce935d3d6353a", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/proposals"}, "properties": {"repobilityId": "898a9fbfe523c1ae", "scanner": "scanner-primary", "fingerprint": "de8ce935d3d6353a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-ef560eaca61adb3f", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/policy"}, "properties": {"repobilityId": "2d4aa45b9770dd49", "scanner": "scanner-primary", "fingerprint": "ef560eaca61adb3f", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-fb67ebad1d6cd515", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/history"}, "properties": {"repobilityId": "06fd71856e351017", "scanner": "scanner-primary", "fingerprint": "fb67ebad1d6cd515", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-9eb2fae2c67eb0f1", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/proposals/:layer/:proposalId"}, "properties": {"repobilityId": "a2c656c920880e9e", "scanner": "scanner-primary", "fingerprint": "9eb2fae2c67eb0f1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5965509305e0d8a3", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/proposals/:layer/:proposalId/votes"}, "properties": {"repobilityId": "11740e4839da8107", "scanner": "scanner-primary", "fingerprint": "5965509305e0d8a3", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-998b9e15be656182", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/validators"}, "properties": {"repobilityId": "56643e7eb285ab31", "scanner": "scanner-primary", "fingerprint": "998b9e15be656182", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b26cf29f2bdf7c1d", "level": "note", "message": {"text": "Unused endpoint: GET /api/networks/:networkId/state-patches"}, "properties": {"repobilityId": "8d370890a7a56765", "scanner": "scanner-primary", "fingerprint": "b26cf29f2bdf7c1d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-6c5d45ff4e57b6dc", "level": "note", "message": {"text": "Unused endpoint: POST /api/networks/:networkId/simulate"}, "properties": {"repobilityId": "9b6f6e61681f0fb0", "scanner": "scanner-primary", "fingerprint": "6c5d45ff4e57b6dc", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}