{"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-d3f884ed50dcb393", "name": "Icon-only button without accessible name \u2014 js/screens/capture.js:66", "shortDescription": {"text": "Icon-only button without accessible name \u2014 js/screens/capture.js:66"}, "fullDescription": {"text": "A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work.\n\nWhy: P3 in CHECKLIST.md \u2014 icon-only buttons skipped a title.\nRule id: fq.button.no-label"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1f30fa4936b6a520", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/main.js:57", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/main.js:57"}, "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-b52d95ff9d9d0990", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/settings.js:13", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/settings.js:13"}, "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-5174f3b97a5b2211", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/edit.js:83", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/edit.js:83"}, "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-668e789099657277", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/capture.js:12", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/capture.js:12"}, "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-0721aa895b4e3614", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/onboarding.js:10", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/onboarding.js:10"}, "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-41d4c71b97cd6a71", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/home.js:16", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/home.js:16"}, "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-4a65794e638a011d", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/exportScreen.js:16", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/exportScreen.js:16"}, "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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 16 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-01f96f71d9907a8c", "name": "README lacks setup or run instructions", "shortDescription": {"text": "README lacks setup or run instructions"}, "fullDescription": {"text": "A README exists, but it does not contain common install/setup/run markers. This matches a frequent generated-code pattern: UI is present, operational handoff is thin."}, "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-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing license, ci, tests, operator-readme. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-8b45cb91e4a558ab", "name": "`fetch()` without try/.catch or AbortSignal \u2014 js/db.js:197", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 js/db.js:197"}, "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-7a1f1b42664c2386", "name": "Commented-code block (6 lines) in js/extractors/base.js:4", "shortDescription": {"text": "Commented-code block (6 lines) in js/extractors/base.js:4"}, "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}}]}}, "automationDetails": {"id": "repobility/24417"}, "properties": {"repository": "axelrodichthys-blip/keiri-ocr", "repoUrl": "https://github.com/axelrodichthys-blip/keiri-ocr", "branch": "main"}, "results": [{"ruleId": "scanner-d3f884ed50dcb393", "level": "note", "message": {"text": "Icon-only button without accessible name \u2014 js/screens/capture.js:66"}, "properties": {"repobilityId": "c72fc7f75efaf456", "scanner": "scanner-primary", "fingerprint": "d3f884ed50dcb393", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.button.no-label"]}}, {"ruleId": "scanner-1f30fa4936b6a520", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/main.js:57"}, "properties": {"repobilityId": "3b23e0cd41b5e603", "scanner": "scanner-primary", "fingerprint": "1f30fa4936b6a520", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/main.js"}, "region": {"startLine": 57}}}]}, {"ruleId": "scanner-b52d95ff9d9d0990", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/settings.js:13"}, "properties": {"repobilityId": "3d987636c1e0010e", "scanner": "scanner-primary", "fingerprint": "b52d95ff9d9d0990", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/screens/settings.js"}, "region": {"startLine": 13}}}]}, {"ruleId": "scanner-5174f3b97a5b2211", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/edit.js:83"}, "properties": {"repobilityId": "9c600d9a626f5c33", "scanner": "scanner-primary", "fingerprint": "5174f3b97a5b2211", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/screens/edit.js"}, "region": {"startLine": 83}}}]}, {"ruleId": "scanner-668e789099657277", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/capture.js:12"}, "properties": {"repobilityId": "0818be63a62ab53e", "scanner": "scanner-primary", "fingerprint": "668e789099657277", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/screens/capture.js"}, "region": {"startLine": 12}}}]}, {"ruleId": "scanner-0721aa895b4e3614", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/onboarding.js:10"}, "properties": {"repobilityId": "58e6b91ac4fd5fb0", "scanner": "scanner-primary", "fingerprint": "0721aa895b4e3614", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/screens/onboarding.js"}, "region": {"startLine": 10}}}]}, {"ruleId": "scanner-41d4c71b97cd6a71", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/home.js:16"}, "properties": {"repobilityId": "2dfe3ba321a7eaaa", "scanner": "scanner-primary", "fingerprint": "41d4c71b97cd6a71", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/screens/home.js"}, "region": {"startLine": 16}}}]}, {"ruleId": "scanner-4a65794e638a011d", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/screens/exportScreen.js:16"}, "properties": {"repobilityId": "449e03616be5b647", "scanner": "scanner-primary", "fingerprint": "4a65794e638a011d", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/screens/exportScreen.js"}, "region": {"startLine": 16}}}]}, {"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-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": "ee328f17be48b03a", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-01f96f71d9907a8c", "level": "note", "message": {"text": "README lacks setup or run instructions"}, "properties": {"repobilityId": "606381e1ff7e2f85", "scanner": "scanner-primary", "fingerprint": "01f96f71d9907a8c", "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": "4a08a6de7c4a8291", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "78c47494b1ee819a", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-8b45cb91e4a558ab", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 js/db.js:197"}, "properties": {"repobilityId": "7c66613b39bf6703", "scanner": "scanner-primary", "fingerprint": "8b45cb91e4a558ab", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-7a1f1b42664c2386", "level": "none", "message": {"text": "Commented-code block (6 lines) in js/extractors/base.js:4"}, "properties": {"repobilityId": "d3d1d58f69593f09", "scanner": "scanner-primary", "fingerprint": "7a1f1b42664c2386", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}