{"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-b4f4ce7ee285831d", "name": "Stray `console.log` in TS/JS \u2014 test/run.js:28", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 test/run.js:28"}, "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-54864743fb4200dd", "name": "Stray `console.log` in TS/JS \u2014 docs/build-whitepaper.js:491", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 docs/build-whitepaper.js:491"}, "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-2cae9b5f0906954f", "name": "Stray `console.log` in TS/JS \u2014 scripts/build-cheat-sheet.js:192", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 scripts/build-cheat-sheet.js:192"}, "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-61e488a718101a8e", "name": "Stray `console.log` in TS/JS \u2014 .github/scripts/verify-resources.js:108", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 .github/scripts/verify-resources.js:108"}, "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-a2477fc3f2820319", "name": "Insecure pattern 'node_child_process' in scripts/build-cheat-sheet.js:3", "shortDescription": {"text": "Insecure pattern 'node_child_process' in scripts/build-cheat-sheet.js:3"}, "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-10511fb0aca368d3", "name": "Insecure pattern 'direct_innerhtml_assignment' in app/popup.html:617", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app/popup.html:617"}, "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-d87c7a1c9635daf7", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/browser.js:597", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/browser.js:597"}, "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-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b190b923525d1f9a", "name": "Very large file: test/run.js (1500 lines)", "shortDescription": {"text": "Very large file: test/run.js (1500 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": "1 test file(s) for 14 source file(s) (ratio 0.07). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 9 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "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-e68958f00b2341ad", "name": "Dangling fetch: GET http://ip-api.com/json/?fields=countryCode (src/locate.js:107)", "shortDescription": {"text": "Dangling fetch: GET http://ip-api.com/json/?fields=countryCode (src/locate.js:107)"}, "fullDescription": {"text": "`src/locate.js:107` calls `GET http://ip-api.com/json/?fields=countryCode` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/http:/ip-api.com/json`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-9d2517f9eafc5297", "name": "Unused endpoint: POST /api/chat", "shortDescription": {"text": "Unused endpoint: POST /api/chat"}, "fullDescription": {"text": "`src/index.js` declares `POST /api/chat` 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/18263"}, "properties": {"repository": "rob-e-graham/safechat", "repoUrl": "https://github.com/rob-e-graham/safechat", "branch": "main"}, "results": [{"ruleId": "scanner-b4f4ce7ee285831d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 test/run.js:28"}, "properties": {"repobilityId": "aca6295d9db76639", "scanner": "scanner-primary", "fingerprint": "b4f4ce7ee285831d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-54864743fb4200dd", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 docs/build-whitepaper.js:491"}, "properties": {"repobilityId": "a8ab6e2183373233", "scanner": "scanner-primary", "fingerprint": "54864743fb4200dd", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-2cae9b5f0906954f", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 scripts/build-cheat-sheet.js:192"}, "properties": {"repobilityId": "b128df56220eb2e9", "scanner": "scanner-primary", "fingerprint": "2cae9b5f0906954f", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-61e488a718101a8e", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 .github/scripts/verify-resources.js:108"}, "properties": {"repobilityId": "f3f4bc10c4aa0619", "scanner": "scanner-primary", "fingerprint": "61e488a718101a8e", "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-a2477fc3f2820319", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in scripts/build-cheat-sheet.js:3"}, "properties": {"repobilityId": "cf86e840cb1dbbec", "scanner": "scanner-primary", "fingerprint": "a2477fc3f2820319", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/build-cheat-sheet.js"}, "region": {"startLine": 3}}}]}, {"ruleId": "scanner-10511fb0aca368d3", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app/popup.html:617"}, "properties": {"repobilityId": "a7ef3404c452523f", "scanner": "scanner-primary", "fingerprint": "10511fb0aca368d3", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/popup.html"}, "region": {"startLine": 617}}}]}, {"ruleId": "scanner-d87c7a1c9635daf7", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/browser.js:597"}, "properties": {"repobilityId": "83cd11d869cd6f07", "scanner": "scanner-primary", "fingerprint": "d87c7a1c9635daf7", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/browser.js"}, "region": {"startLine": 597}}}]}, {"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-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-b190b923525d1f9a", "level": "note", "message": {"text": "Very large file: test/run.js (1500 lines)"}, "properties": {"repobilityId": "410f52ce6ee8de17", "scanner": "scanner-primary", "fingerprint": "b190b923525d1f9a", "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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "facc646028c6dfa9", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "d8929084ffb04e31", "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": "9dcb84dafe607c21", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-e68958f00b2341ad", "level": "error", "message": {"text": "Dangling fetch: GET http://ip-api.com/json/?fields=countryCode (src/locate.js:107)"}, "properties": {"repobilityId": "fad971d250649505", "scanner": "scanner-primary", "fingerprint": "e68958f00b2341ad", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-9d2517f9eafc5297", "level": "note", "message": {"text": "Unused endpoint: POST /api/chat"}, "properties": {"repobilityId": "a19ac66313058d47", "scanner": "scanner-primary", "fingerprint": "9d2517f9eafc5297", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}