{"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-040ecb628c182fd9", "name": "Stray `console.log` in TS/JS \u2014 tests/size.test.js:13", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 tests/size.test.js:13"}, "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-5869a5406bbb6b1d", "name": "Stray `console.log` in TS/JS \u2014 src/cli.js:19", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/cli.js:19"}, "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-f60c5f220a392f00", "name": "Insecure pattern 'node_child_process' in src/cli.js:2", "shortDescription": {"text": "Insecure pattern 'node_child_process' in src/cli.js:2"}, "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-81bdd748814a7521", "name": "Insecure pattern 'new_function_used' in src/compiler.js:687", "shortDescription": {"text": "Insecure pattern 'new_function_used' in src/compiler.js:687"}, "fullDescription": {"text": "Found a known-risky pattern (new_function_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-55a14ae10e170564", "name": "Insecure pattern 'new_function_used' in src/runtime.js:60", "shortDescription": {"text": "Insecure pattern 'new_function_used' in src/runtime.js:60"}, "fullDescription": {"text": "Found a known-risky pattern (new_function_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-e68800d47df60500", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/runtime.js:138", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/runtime.js:138"}, "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-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/upload-artifact@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "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-85001690ed3b4a3d", "name": "Very large file: src/compiler.js (1654 lines)", "shortDescription": {"text": "Very large file: src/compiler.js (1654 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 10 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-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-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-347bbfd4df6fcc1b", "name": "Commented-code block (5 lines) in tests/unit-pipeline.test.js:9", "shortDescription": {"text": "Commented-code block (5 lines) in tests/unit-pipeline.test.js:9"}, "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-c32935ad6c3a14a2", "name": "Commented-code block (6 lines) in tests/fuzz.test.js:3", "shortDescription": {"text": "Commented-code block (6 lines) in tests/fuzz.test.js:3"}, "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-50edc1390508596a", "name": "Commented-code block (8 lines) in tests/runtime-dom.test.js:11", "shortDescription": {"text": "Commented-code block (8 lines) in tests/runtime-dom.test.js:11"}, "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/23726"}, "properties": {"repository": "ZVN-DEV/darkmown", "repoUrl": "https://github.com/ZVN-DEV/darkmown", "branch": "main"}, "results": [{"ruleId": "scanner-040ecb628c182fd9", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 tests/size.test.js:13"}, "properties": {"repobilityId": "688561210f28518e", "scanner": "scanner-primary", "fingerprint": "040ecb628c182fd9", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-5869a5406bbb6b1d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/cli.js:19"}, "properties": {"repobilityId": "db815946fa4a2034", "scanner": "scanner-primary", "fingerprint": "5869a5406bbb6b1d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-f60c5f220a392f00", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in src/cli.js:2"}, "properties": {"repobilityId": "527af6c31a908eb8", "scanner": "scanner-primary", "fingerprint": "f60c5f220a392f00", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/cli.js"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-81bdd748814a7521", "level": "error", "message": {"text": "Insecure pattern 'new_function_used' in src/compiler.js:687"}, "properties": {"repobilityId": "e52d7fb6ebb56036", "scanner": "scanner-primary", "fingerprint": "81bdd748814a7521", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "new_function_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/compiler.js"}, "region": {"startLine": 687}}}]}, {"ruleId": "scanner-55a14ae10e170564", "level": "error", "message": {"text": "Insecure pattern 'new_function_used' in src/runtime.js:60"}, "properties": {"repobilityId": "c8ab3e1980d81ecc", "scanner": "scanner-primary", "fingerprint": "55a14ae10e170564", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "new_function_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/runtime.js"}, "region": {"startLine": 60}}}]}, {"ruleId": "scanner-e68800d47df60500", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/runtime.js:138"}, "properties": {"repobilityId": "6357457317eb8b8a", "scanner": "scanner-primary", "fingerprint": "e68800d47df60500", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/runtime.js"}, "region": {"startLine": 138}}}]}, {"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-27924aa79fa4a517", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "bd7f3c1c34d83159", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 68}}}]}, {"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-85001690ed3b4a3d", "level": "note", "message": {"text": "Very large file: src/compiler.js (1654 lines)"}, "properties": {"repobilityId": "e5c25fb0ed495da5", "scanner": "scanner-primary", "fingerprint": "85001690ed3b4a3d", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "67f767566c800a60", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "329dd39c0dca5942", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "9396aee2859d2e67", "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": "6ed6a06f36a1037a", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-347bbfd4df6fcc1b", "level": "none", "message": {"text": "Commented-code block (5 lines) in tests/unit-pipeline.test.js:9"}, "properties": {"repobilityId": "cbe736dc347c0654", "scanner": "scanner-primary", "fingerprint": "347bbfd4df6fcc1b", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c32935ad6c3a14a2", "level": "none", "message": {"text": "Commented-code block (6 lines) in tests/fuzz.test.js:3"}, "properties": {"repobilityId": "6d2cf692bd526a76", "scanner": "scanner-primary", "fingerprint": "c32935ad6c3a14a2", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-50edc1390508596a", "level": "none", "message": {"text": "Commented-code block (8 lines) in tests/runtime-dom.test.js:11"}, "properties": {"repobilityId": "bb92d3586af089e5", "scanner": "scanner-primary", "fingerprint": "50edc1390508596a", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}