{"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-67161d19178c90f5", "name": "TODO/FIXME marker in shipping code \u2014 app/api/heartbeat/route.ts:9", "shortDescription": {"text": "TODO/FIXME marker in shipping code \u2014 app/api/heartbeat/route.ts:9"}, "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-d415a551d67aea41", "name": "Stray `console.log` in TS/JS \u2014 app/api/heartbeat/route.ts:14", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 app/api/heartbeat/route.ts:14"}, "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-068a4c529bee09b4", "name": "Stray `console.log` in TS/JS \u2014 app/components/screens/PaymentScreen.tsx:55", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 app/components/screens/PaymentScreen.tsx:55"}, "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-166dff3c3df6a10e", "name": "ORM models found but no DB engine detected", "shortDescription": {"text": "ORM models found but no DB engine detected"}, "fullDescription": {"text": "The repo defines tables/models but no DB connection string was found. Likely lives in env vars or a config file the scanner didn't read."}, "properties": {"scanner": "scanner-primary", "layer": "data", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-f7216036a6e87bb6", "name": "Insecure pattern 'cors_wildcard' in supabase/functions/charge/index.ts:16", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/charge/index.ts:16"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-9aebd5704f48175c", "name": "Insecure pattern 'cors_wildcard' in supabase/functions/charge-status/index.ts:7", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/charge-status/index.ts:7"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 24 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "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-faccb9061e9b52a0", "name": "No README detected", "shortDescription": {"text": "No README detected"}, "fullDescription": {"text": "No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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, tests, operator-readme. 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": "medium", "confidence": 1.0}}, {"id": "scanner-f51a03642f876208", "name": "Commented-code block (5 lines) in app/page.tsx:174", "shortDescription": {"text": "Commented-code block (5 lines) in app/page.tsx:174"}, "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-24ea62db38ff2705", "name": "`fetch()` without try/.catch or AbortSignal \u2014 supabase/functions/list-devices/index.ts:66", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 supabase/functions/list-devices/index.ts:66"}, "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-204cd9451c7683df", "name": "`fetch()` without try/.catch or AbortSignal \u2014 supabase/functions/charge/index.ts:54", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 supabase/functions/charge/index.ts:54"}, "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}}]}}, "automationDetails": {"id": "repobility/24824"}, "properties": {"repository": "canyonmarkets/canyon-kiosk", "repoUrl": "https://github.com/canyonmarkets/canyon-kiosk", "branch": "main"}, "results": [{"ruleId": "scanner-67161d19178c90f5", "level": "none", "message": {"text": "TODO/FIXME marker in shipping code \u2014 app/api/heartbeat/route.ts:9"}, "properties": {"repobilityId": "10c6dcfad8db279d", "scanner": "scanner-primary", "fingerprint": "67161d19178c90f5", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.todo-marker"]}}, {"ruleId": "scanner-d415a551d67aea41", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 app/api/heartbeat/route.ts:14"}, "properties": {"repobilityId": "4c14a1656fcb2785", "scanner": "scanner-primary", "fingerprint": "d415a551d67aea41", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-068a4c529bee09b4", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 app/components/screens/PaymentScreen.tsx:55"}, "properties": {"repobilityId": "f12fe4388f25611d", "scanner": "scanner-primary", "fingerprint": "068a4c529bee09b4", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-166dff3c3df6a10e", "level": "warning", "message": {"text": "ORM models found but no DB engine detected"}, "properties": {"repobilityId": "cda36de65e114635", "scanner": "scanner-primary", "fingerprint": "166dff3c3df6a10e", "layer": "data", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-f7216036a6e87bb6", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/charge/index.ts:16"}, "properties": {"repobilityId": "550b4aa5a321634e", "scanner": "scanner-primary", "fingerprint": "f7216036a6e87bb6", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "supabase/functions/charge/index.ts"}, "region": {"startLine": 16}}}]}, {"ruleId": "scanner-9aebd5704f48175c", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/charge-status/index.ts:7"}, "properties": {"repobilityId": "42f5c2f4553e4b44", "scanner": "scanner-primary", "fingerprint": "9aebd5704f48175c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "supabase/functions/charge-status/index.ts"}, "region": {"startLine": 7}}}]}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "6be92a34e7e92faf", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-faccb9061e9b52a0", "level": "note", "message": {"text": "No README detected"}, "properties": {"repobilityId": "3ede8c72be91ec28", "scanner": "scanner-primary", "fingerprint": "faccb9061e9b52a0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["docs", "readme", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "264230dffe6e72b0", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-f51a03642f876208", "level": "none", "message": {"text": "Commented-code block (5 lines) in app/page.tsx:174"}, "properties": {"repobilityId": "e847ef2caf673117", "scanner": "scanner-primary", "fingerprint": "f51a03642f876208", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-24ea62db38ff2705", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 supabase/functions/list-devices/index.ts:66"}, "properties": {"repobilityId": "749f29dc563fd36b", "scanner": "scanner-primary", "fingerprint": "24ea62db38ff2705", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-204cd9451c7683df", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 supabase/functions/charge/index.ts:54"}, "properties": {"repobilityId": "6f2661fe370a910d", "scanner": "scanner-primary", "fingerprint": "204cd9451c7683df", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}