{"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-5848edfc8bf5313a", "name": "Stray `console.log` in TS/JS \u2014 server.js:92", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server.js:92"}, "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-29c6ae6e8b8fbfdb", "name": "Insecure pattern 'direct_innerhtml_assignment' in public/app.js:464", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/app.js:464"}, "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-b2e99a9eebe1a168", "name": "Insecure pattern 'direct_outerhtml_assignment' in public/app.js:1402", "shortDescription": {"text": "Insecure pattern 'direct_outerhtml_assignment' in public/app.js:1402"}, "fullDescription": {"text": "Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-45d901ea8e00ef00", "name": "Insecure pattern 'insert_adjacent_html' in public/app.js:1409", "shortDescription": {"text": "Insecure pattern 'insert_adjacent_html' in public/app.js:1409"}, "fullDescription": {"text": "Found a known-risky pattern (insert_adjacent_html). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ca97b859a5490c05", "name": "Insecure pattern 'direct_innerhtml_assignment' in public/bragge.js:474", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/bragge.js:474"}, "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-873849428b944534", "name": "Insecure pattern 'direct_innerhtml_assignment' in public/graph.js:79", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/graph.js:79"}, "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-08bd0400e4709231", "name": "Very large file: public/app.js (2499 lines)", "shortDescription": {"text": "Very large file: public/app.js (2499 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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 12 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-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6e9f49e321fec16f", "name": "Commented-code block (5 lines) in api/imgproxy.js:1", "shortDescription": {"text": "Commented-code block (5 lines) in api/imgproxy.js: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-051e0350facf7ad3", "name": "Legacy-named symbol `rest_v1` in lib/tepapa.js:199", "shortDescription": {"text": "Legacy-named symbol `rest_v1` in lib/tepapa.js:199"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-cdb16b8455e7daba", "name": "Commented-code block (8 lines) in lib/tepapa.js:281", "shortDescription": {"text": "Commented-code block (8 lines) in lib/tepapa.js:281"}, "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-458a9c3d90f06a68", "name": "Commented-code block (7 lines) in public/app.js:174", "shortDescription": {"text": "Commented-code block (7 lines) in public/app.js: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-c62097717ddd7c58", "name": "`fetch()` without try/.catch or AbortSignal \u2014 public/app.js:187", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 public/app.js:187"}, "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-1eabcc53c9d1c3fb", "name": "Commented-code block (6 lines) in public/bragge.js:1", "shortDescription": {"text": "Commented-code block (6 lines) in public/bragge.js: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-5d8d9658d55166bf", "name": "`fetch()` without try/.catch or AbortSignal \u2014 public/bragge.js:283", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 public/bragge.js:283"}, "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-618f6dfd0773a95c", "name": "Commented-code block (8 lines) in public/graph.js:293", "shortDescription": {"text": "Commented-code block (8 lines) in public/graph.js:293"}, "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/23917"}, "properties": {"repository": "adriankingston/tepapa-api-browser", "repoUrl": "https://github.com/adriankingston/tepapa-api-browser", "branch": "main"}, "results": [{"ruleId": "scanner-5848edfc8bf5313a", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server.js:92"}, "properties": {"repobilityId": "a9deebb5fdc93edc", "scanner": "scanner-primary", "fingerprint": "5848edfc8bf5313a", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-29c6ae6e8b8fbfdb", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/app.js:464"}, "properties": {"repobilityId": "5192b9054ebe3f07", "scanner": "scanner-primary", "fingerprint": "29c6ae6e8b8fbfdb", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/app.js"}, "region": {"startLine": 464}}}]}, {"ruleId": "scanner-b2e99a9eebe1a168", "level": "warning", "message": {"text": "Insecure pattern 'direct_outerhtml_assignment' in public/app.js:1402"}, "properties": {"repobilityId": "dff345bf1aa231d4", "scanner": "scanner-primary", "fingerprint": "b2e99a9eebe1a168", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_outerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/app.js"}, "region": {"startLine": 1402}}}]}, {"ruleId": "scanner-45d901ea8e00ef00", "level": "warning", "message": {"text": "Insecure pattern 'insert_adjacent_html' in public/app.js:1409"}, "properties": {"repobilityId": "b8fc67754e81dfcf", "scanner": "scanner-primary", "fingerprint": "45d901ea8e00ef00", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "insert_adjacent_html"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/app.js"}, "region": {"startLine": 1409}}}]}, {"ruleId": "scanner-ca97b859a5490c05", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/bragge.js:474"}, "properties": {"repobilityId": "02403728f3f71ccf", "scanner": "scanner-primary", "fingerprint": "ca97b859a5490c05", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/bragge.js"}, "region": {"startLine": 474}}}]}, {"ruleId": "scanner-873849428b944534", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/graph.js:79"}, "properties": {"repobilityId": "45730a4ce327fb0d", "scanner": "scanner-primary", "fingerprint": "873849428b944534", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/graph.js"}, "region": {"startLine": 79}}}]}, {"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-08bd0400e4709231", "level": "note", "message": {"text": "Very large file: public/app.js (2499 lines)"}, "properties": {"repobilityId": "ce805b07178bda03", "scanner": "scanner-primary", "fingerprint": "08bd0400e4709231", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"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-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "2d9c45b0808adde6", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "86d64af2c3ba4bc0", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-6e9f49e321fec16f", "level": "none", "message": {"text": "Commented-code block (5 lines) in api/imgproxy.js:1"}, "properties": {"repobilityId": "45984b3a7f5fe355", "scanner": "scanner-primary", "fingerprint": "6e9f49e321fec16f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-051e0350facf7ad3", "level": "note", "message": {"text": "Legacy-named symbol `rest_v1` in lib/tepapa.js:199"}, "properties": {"repobilityId": "413339598c6f0802", "scanner": "scanner-primary", "fingerprint": "051e0350facf7ad3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-cdb16b8455e7daba", "level": "none", "message": {"text": "Commented-code block (8 lines) in lib/tepapa.js:281"}, "properties": {"repobilityId": "2c9b7d4063f392f9", "scanner": "scanner-primary", "fingerprint": "cdb16b8455e7daba", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-458a9c3d90f06a68", "level": "none", "message": {"text": "Commented-code block (7 lines) in public/app.js:174"}, "properties": {"repobilityId": "f2f37e27562efa0a", "scanner": "scanner-primary", "fingerprint": "458a9c3d90f06a68", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c62097717ddd7c58", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 public/app.js:187"}, "properties": {"repobilityId": "018c2bcc83b65057", "scanner": "scanner-primary", "fingerprint": "c62097717ddd7c58", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-1eabcc53c9d1c3fb", "level": "none", "message": {"text": "Commented-code block (6 lines) in public/bragge.js:1"}, "properties": {"repobilityId": "2728045ef24e1542", "scanner": "scanner-primary", "fingerprint": "1eabcc53c9d1c3fb", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5d8d9658d55166bf", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 public/bragge.js:283"}, "properties": {"repobilityId": "962587e393d918f4", "scanner": "scanner-primary", "fingerprint": "5d8d9658d55166bf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-618f6dfd0773a95c", "level": "none", "message": {"text": "Commented-code block (8 lines) in public/graph.js:293"}, "properties": {"repobilityId": "93430f4374895df5", "scanner": "scanner-primary", "fingerprint": "618f6dfd0773a95c", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}