{"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-63af6fd1338ee91a", "name": "Stray `console.log` in TS/JS \u2014 src/background/service-worker.ts:18", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/background/service-worker.ts:18"}, "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-7c6504654aa8fd03", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/popup/popup.ts:57", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/popup/popup.ts: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-b49086a4c2d15b9d", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/dashboard/dashboard.ts:91", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/dashboard/dashboard.ts:91"}, "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-1838a141491ce38c", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9995e3b70e4dd8f", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "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 5 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-d24bdfeba9adf4db", "name": "Commented-code block (6 lines) in scripts/update-blocklist-snapshot.mjs:2", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/update-blocklist-snapshot.mjs:2"}, "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-ce4e69bb192e5687", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/update-blocklist-snapshot.mjs:40", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/update-blocklist-snapshot.mjs:40"}, "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-2d9fa40deb910040", "name": "Commented-code block (5 lines) in src/scoring/rules/metadata.ts:49", "shortDescription": {"text": "Commented-code block (5 lines) in src/scoring/rules/metadata.ts:49"}, "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-c7d29546531bc5fe", "name": "Commented-code block (5 lines) in src/scoring/rules/host-permissions.ts:6", "shortDescription": {"text": "Commented-code block (5 lines) in src/scoring/rules/host-permissions.ts:6"}, "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-6a0a43894332acec", "name": "Commented-code block (5 lines) in src/background/service-worker.ts:193", "shortDescription": {"text": "Commented-code block (5 lines) in src/background/service-worker.ts:193"}, "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-7637acceb855a71e", "name": "Commented-code block (6 lines) in src/alerts/notifier.ts:53", "shortDescription": {"text": "Commented-code block (6 lines) in src/alerts/notifier.ts:53"}, "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-4b0ad35e0a756fe0", "name": "Commented-code block (5 lines) in src/shared/constants.ts:26", "shortDescription": {"text": "Commented-code block (5 lines) in src/shared/constants.ts:26"}, "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/24470"}, "properties": {"repository": "baneido/extension-scanner", "repoUrl": "https://github.com/baneido/extension-scanner", "branch": "main"}, "results": [{"ruleId": "scanner-63af6fd1338ee91a", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/background/service-worker.ts:18"}, "properties": {"repobilityId": "9e04429e0122b3a5", "scanner": "scanner-primary", "fingerprint": "63af6fd1338ee91a", "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-7c6504654aa8fd03", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/popup/popup.ts:57"}, "properties": {"repobilityId": "ef51d29501e5b1ad", "scanner": "scanner-primary", "fingerprint": "7c6504654aa8fd03", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/popup/popup.ts"}, "region": {"startLine": 57}}}]}, {"ruleId": "scanner-b49086a4c2d15b9d", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/dashboard/dashboard.ts:91"}, "properties": {"repobilityId": "a5e1b67ef41538c0", "scanner": "scanner-primary", "fingerprint": "b49086a4c2d15b9d", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/dashboard/dashboard.ts"}, "region": {"startLine": 91}}}]}, {"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-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b9995e3b70e4dd8f", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "14f5b470bab78e61", "scanner": "scanner-primary", "fingerprint": "b9995e3b70e4dd8f", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/update-blocklist.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "7be932c9af19bd7e", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-d24bdfeba9adf4db", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/update-blocklist-snapshot.mjs:2"}, "properties": {"repobilityId": "af3ba2665df274e6", "scanner": "scanner-primary", "fingerprint": "d24bdfeba9adf4db", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-ce4e69bb192e5687", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/update-blocklist-snapshot.mjs:40"}, "properties": {"repobilityId": "3f7685b43d5186e7", "scanner": "scanner-primary", "fingerprint": "ce4e69bb192e5687", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-2d9fa40deb910040", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/scoring/rules/metadata.ts:49"}, "properties": {"repobilityId": "de35f4a5b1baf993", "scanner": "scanner-primary", "fingerprint": "2d9fa40deb910040", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c7d29546531bc5fe", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/scoring/rules/host-permissions.ts:6"}, "properties": {"repobilityId": "1918e780504f6927", "scanner": "scanner-primary", "fingerprint": "c7d29546531bc5fe", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-6a0a43894332acec", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/background/service-worker.ts:193"}, "properties": {"repobilityId": "9645a64901366ed1", "scanner": "scanner-primary", "fingerprint": "6a0a43894332acec", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-7637acceb855a71e", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/alerts/notifier.ts:53"}, "properties": {"repobilityId": "c7bfd87883d452af", "scanner": "scanner-primary", "fingerprint": "7637acceb855a71e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4b0ad35e0a756fe0", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/shared/constants.ts:26"}, "properties": {"repobilityId": "fa27b0edbbe0c5aa", "scanner": "scanner-primary", "fingerprint": "4b0ad35e0a756fe0", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}