{"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-46c644c6227e4d4a", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/checkout@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-c31c9783ff5635c1", "name": "Very large file: src/__tests__/textMutations.test.ts (1967 lines)", "shortDescription": {"text": "Very large file: src/__tests__/textMutations.test.ts (1967 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-159e65d7c48de376", "name": "Very large file: src/renderer/FlowCanvas.tsx (1410 lines)", "shortDescription": {"text": "Very large file: src/renderer/FlowCanvas.tsx (1410 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-ad2306a6b02081cd", "name": "Very large file: src/parser/generated.js (3783 lines)", "shortDescription": {"text": "Very large file: src/parser/generated.js (3783 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-a6dccdf9eece31ad", "name": "Very large file: src/parser/textMutations.ts (1807 lines)", "shortDescription": {"text": "Very large file: src/parser/textMutations.ts (1807 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-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-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-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing license. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "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-bf8cea286879394c", "name": "Agent authority lacks a verifier contract: .claude/skills/code-to-flowdiagram/SKILL.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/skills/code-to-flowdiagram/SKILL.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ee464e104226ac9e", "name": "Commented-code block (5 lines) in electron/main.cjs:87", "shortDescription": {"text": "Commented-code block (5 lines) in electron/main.cjs:87"}, "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-bfb44927eee865c0", "name": "Commented-code block (5 lines) in .claude/skills/code-to-flowdiagram/validate.mjs:5", "shortDescription": {"text": "Commented-code block (5 lines) in .claude/skills/code-to-flowdiagram/validate.mjs:5"}, "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-764ccc11ad99ffdb", "name": "Commented-code block (5 lines) in src/layout/layoutEngine.ts:118", "shortDescription": {"text": "Commented-code block (5 lines) in src/layout/layoutEngine.ts:118"}, "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-e0822c389516130e", "name": "Commented-code block (7 lines) in src/renderer/FlowCanvas.tsx:574", "shortDescription": {"text": "Commented-code block (7 lines) in src/renderer/FlowCanvas.tsx:574"}, "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-4a46fca2bc21c8e5", "name": "Commented-code block (6 lines) in src/renderer/particles.ts:554", "shortDescription": {"text": "Commented-code block (6 lines) in src/renderer/particles.ts:554"}, "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-a779d1d058f9bf0e", "name": "Commented-code block (7 lines) in src/renderer/exportGif.ts:82", "shortDescription": {"text": "Commented-code block (7 lines) in src/renderer/exportGif.ts:82"}, "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-455f3e2905b4c3bf", "name": "Commented-code block (6 lines) in src/renderer/exportVideo.ts:103", "shortDescription": {"text": "Commented-code block (6 lines) in src/renderer/exportVideo.ts:103"}, "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-3b2406baacffd10a", "name": "Commented-code block (6 lines) in src/electron/useElectronFile.ts:92", "shortDescription": {"text": "Commented-code block (6 lines) in src/electron/useElectronFile.ts:92"}, "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-a162c94387df0342", "name": "Legacy-named symbol `endOld` in src/editor/minimalDiff.ts:18", "shortDescription": {"text": "Legacy-named symbol `endOld` in src/editor/minimalDiff.ts:18"}, "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-b52165c4e78e51ea", "name": "Commented-code block (7 lines) in src/editor/FlowEditor.tsx:235", "shortDescription": {"text": "Commented-code block (7 lines) in src/editor/FlowEditor.tsx:235"}, "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-8a4e9e9d6f2505a0", "name": "Commented-code block (5 lines) in src/parser/textMutations.ts:1045", "shortDescription": {"text": "Commented-code block (5 lines) in src/parser/textMutations.ts:1045"}, "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/20608"}, "properties": {"repository": "SwedishNinja/FlowDiagram", "repoUrl": "https://github.com/SwedishNinja/FlowDiagram", "branch": "main"}, "results": [{"ruleId": "scanner-46c644c6227e4d4a", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "2644034c718fb80d", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 21}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "eeb76410cc935c30", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 24}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "5ab0c5bd71e63ad8", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 46}}}]}, {"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-c31c9783ff5635c1", "level": "note", "message": {"text": "Very large file: src/__tests__/textMutations.test.ts (1967 lines)"}, "properties": {"repobilityId": "a4dae89df7d44eeb", "scanner": "scanner-primary", "fingerprint": "c31c9783ff5635c1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-159e65d7c48de376", "level": "note", "message": {"text": "Very large file: src/renderer/FlowCanvas.tsx (1410 lines)"}, "properties": {"repobilityId": "6d201b9a77d10c9f", "scanner": "scanner-primary", "fingerprint": "159e65d7c48de376", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-ad2306a6b02081cd", "level": "note", "message": {"text": "Very large file: src/parser/generated.js (3783 lines)"}, "properties": {"repobilityId": "4c768e7ebc7a02a5", "scanner": "scanner-primary", "fingerprint": "ad2306a6b02081cd", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-a6dccdf9eece31ad", "level": "note", "message": {"text": "Very large file: src/parser/textMutations.ts (1807 lines)"}, "properties": {"repobilityId": "d4873344c587de91", "scanner": "scanner-primary", "fingerprint": "a6dccdf9eece31ad", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "a329ab1ce8c5e9dd", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "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": "89a3d8b153b96db7", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "98a0ab7eaf007aa1", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "b18a4cc640d4e346", "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": "b18121ad3fbe67dc", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-bf8cea286879394c", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/skills/code-to-flowdiagram/SKILL.md"}, "properties": {"repobilityId": "c0f0f294a98e1e61", "scanner": "scanner-primary", "fingerprint": "bf8cea286879394c", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/skills/code-to-flowdiagram/SKILL.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ee464e104226ac9e", "level": "none", "message": {"text": "Commented-code block (5 lines) in electron/main.cjs:87"}, "properties": {"repobilityId": "f123a57f94044141", "scanner": "scanner-primary", "fingerprint": "ee464e104226ac9e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-bfb44927eee865c0", "level": "none", "message": {"text": "Commented-code block (5 lines) in .claude/skills/code-to-flowdiagram/validate.mjs:5"}, "properties": {"repobilityId": "1c76dd347a721ec7", "scanner": "scanner-primary", "fingerprint": "bfb44927eee865c0", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-764ccc11ad99ffdb", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/layout/layoutEngine.ts:118"}, "properties": {"repobilityId": "0dc8180dc21073bc", "scanner": "scanner-primary", "fingerprint": "764ccc11ad99ffdb", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e0822c389516130e", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/renderer/FlowCanvas.tsx:574"}, "properties": {"repobilityId": "71fc4a9d400edf68", "scanner": "scanner-primary", "fingerprint": "e0822c389516130e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4a46fca2bc21c8e5", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/renderer/particles.ts:554"}, "properties": {"repobilityId": "2ae633a133125d60", "scanner": "scanner-primary", "fingerprint": "4a46fca2bc21c8e5", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a779d1d058f9bf0e", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/renderer/exportGif.ts:82"}, "properties": {"repobilityId": "c5e9dcd4d5f71b95", "scanner": "scanner-primary", "fingerprint": "a779d1d058f9bf0e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-455f3e2905b4c3bf", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/renderer/exportVideo.ts:103"}, "properties": {"repobilityId": "e53857fe15c93dbe", "scanner": "scanner-primary", "fingerprint": "455f3e2905b4c3bf", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3b2406baacffd10a", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/electron/useElectronFile.ts:92"}, "properties": {"repobilityId": "f6b20523aa6322aa", "scanner": "scanner-primary", "fingerprint": "3b2406baacffd10a", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a162c94387df0342", "level": "note", "message": {"text": "Legacy-named symbol `endOld` in src/editor/minimalDiff.ts:18"}, "properties": {"repobilityId": "0fea8d7e2d3bb033", "scanner": "scanner-primary", "fingerprint": "a162c94387df0342", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-b52165c4e78e51ea", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/editor/FlowEditor.tsx:235"}, "properties": {"repobilityId": "5bb0d98c522a1bb9", "scanner": "scanner-primary", "fingerprint": "b52165c4e78e51ea", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8a4e9e9d6f2505a0", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/parser/textMutations.ts:1045"}, "properties": {"repobilityId": "534e3a43b40dba91", "scanner": "scanner-primary", "fingerprint": "8a4e9e9d6f2505a0", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}