{"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-0ad9266da9940cdb", "name": "Stray `console.log` in TS/JS \u2014 src/integrations/sw-manifest.ts:55", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/integrations/sw-manifest.ts: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-48481afc5291bfff", "name": "Stray `console.log` in TS/JS \u2014 e2e/astro-components.spec.ts:30", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 e2e/astro-components.spec.ts:30"}, "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-54a50820441dab9c", "name": "Insecure pattern 'node_child_process' in scripts/fetch-content.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in scripts/fetch-content.ts:1"}, "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-c83e8e41630134ba", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/features/archive/scripts/archive-lightbox.ts:48", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/features/archive/scripts/archive-lightbox.ts:48"}, "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-cb639d9a10a47b23", "name": "package.json defines install-time lifecycle scripts", "shortDescription": {"text": "package.json defines install-time lifecycle scripts"}, "fullDescription": {"text": "preinstall/install/postinstall/prepare scripts execute during dependency installation. Review them carefully for network calls, obfuscation, shell execution, or credential access."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "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": "6 test file(s) for 72 source file(s) (ratio 0.08). 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-163180fd2828f8ce", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/fetch-favicons.ts:5", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/fetch-favicons.ts:5"}, "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-14a01df8a43374d1", "name": "Legacy-named symbol `enhanceLegacy` in src/features/footnotes/setup.ts:76", "shortDescription": {"text": "Legacy-named symbol `enhanceLegacy` in src/features/footnotes/setup.ts:76"}, "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-86a61a47c6f3e4f3", "name": "Legacy-named symbol `matchesLegacy` in src/features/newspaper/helpers/findIssueAsset.ts:23", "shortDescription": {"text": "Legacy-named symbol `matchesLegacy` in src/features/newspaper/helpers/findIssueAsset.ts:23"}, "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-4c47356c18628a5c", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/sw/sw.ts:84", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/sw/sw.ts:84"}, "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-8e924464b6ee8c00", "name": "`fetch()` without try/.catch or AbortSignal \u2014 e2e/verify-newspaper-asset-headers.pw.ts:24", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 e2e/verify-newspaper-asset-headers.pw.ts:24"}, "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/25069"}, "properties": {"repository": "communist-prometheus/public-website", "repoUrl": "https://github.com/communist-prometheus/public-website", "branch": "main"}, "results": [{"ruleId": "scanner-0ad9266da9940cdb", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/integrations/sw-manifest.ts:55"}, "properties": {"repobilityId": "d11dee2ccb6f06b2", "scanner": "scanner-primary", "fingerprint": "0ad9266da9940cdb", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-48481afc5291bfff", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 e2e/astro-components.spec.ts:30"}, "properties": {"repobilityId": "089ec212763a1838", "scanner": "scanner-primary", "fingerprint": "48481afc5291bfff", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-54a50820441dab9c", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in scripts/fetch-content.ts:1"}, "properties": {"repobilityId": "6f182da20b312853", "scanner": "scanner-primary", "fingerprint": "54a50820441dab9c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/fetch-content.ts"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c83e8e41630134ba", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/features/archive/scripts/archive-lightbox.ts:48"}, "properties": {"repobilityId": "d1270acc3348bf2a", "scanner": "scanner-primary", "fingerprint": "c83e8e41630134ba", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/features/archive/scripts/archive-lightbox.ts"}, "region": {"startLine": 48}}}]}, {"ruleId": "scanner-cb639d9a10a47b23", "level": "note", "message": {"text": "package.json defines install-time lifecycle scripts"}, "properties": {"repobilityId": "b86179956da3a4a8", "scanner": "scanner-primary", "fingerprint": "cb639d9a10a47b23", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "npm", "install-scripts"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "package.json"}, "region": {"startLine": 1}}}]}, {"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": "8eaee9ebb489388b", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-163180fd2828f8ce", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/fetch-favicons.ts:5"}, "properties": {"repobilityId": "038195710ff25c3c", "scanner": "scanner-primary", "fingerprint": "163180fd2828f8ce", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-14a01df8a43374d1", "level": "note", "message": {"text": "Legacy-named symbol `enhanceLegacy` in src/features/footnotes/setup.ts:76"}, "properties": {"repobilityId": "8ba45a255fb868ea", "scanner": "scanner-primary", "fingerprint": "14a01df8a43374d1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-86a61a47c6f3e4f3", "level": "note", "message": {"text": "Legacy-named symbol `matchesLegacy` in src/features/newspaper/helpers/findIssueAsset.ts:23"}, "properties": {"repobilityId": "b0f97ff9ce93fdcf", "scanner": "scanner-primary", "fingerprint": "86a61a47c6f3e4f3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-4c47356c18628a5c", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/sw/sw.ts:84"}, "properties": {"repobilityId": "0363026ec6541061", "scanner": "scanner-primary", "fingerprint": "4c47356c18628a5c", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8e924464b6ee8c00", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 e2e/verify-newspaper-asset-headers.pw.ts:24"}, "properties": {"repobilityId": "8a1a956dd025ac78", "scanner": "scanner-primary", "fingerprint": "8e924464b6ee8c00", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}