{"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-bead75b0f9233e05", "name": "No API endpoints detected", "shortDescription": {"text": "No API endpoints detected"}, "fullDescription": {"text": "The scanner did not find FastAPI/Flask/Express/NestJS/GraphQL/gRPC routes. If this repo exposes APIs, the framework may be unsupported."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "info", "confidence": 1.0}}, {"id": "scanner-8dca2e2fd8bc5c4e", "name": "TODO/FIXME marker in shipping code \u2014 frontend/tests/unit/services/habitService.test.ts:759", "shortDescription": {"text": "TODO/FIXME marker in shipping code \u2014 frontend/tests/unit/services/habitService.test.ts:759"}, "fullDescription": {"text": "Track in /reviews or /issues, not as a code comment that rots.\n\nWhy: Drift control \u2014 shouldn't be the same as Quality TODO scanner.\nRule id: fq.todo-marker"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-9c9202bd3b334054", "name": "Possible secret in frontend/app/register/page.tsx", "shortDescription": {"text": "Possible secret in frontend/app/register/page.tsx"}, "fullDescription": {"text": "Detected pattern matching password_literal. Rotate the credential and move to a secret manager."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "critical", "confidence": 1.0}}, {"id": "scanner-7dd1bd34dcdd0eb5", "name": "Insecure pattern 'local_storage_auth_token' in frontend/store/authApi.ts:33", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in frontend/store/authApi.ts:33"}, "fullDescription": {"text": "Found a known-risky pattern (local_storage_auth_token). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-82522e329355e0cc", "name": "Insecure pattern 'subprocess_shell_true' in .claude/skills/webapp-testing/scripts/with_server.py:71", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in .claude/skills/webapp-testing/scripts/with_server.py:71"}, "fullDescription": {"text": "Found a known-risky pattern (subprocess_shell_true). Review and replace if possible."}, "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-19816359660cd1f3", "name": "Very large file: frontend/lib/db.ts (1224 lines)", "shortDescription": {"text": "Very large file: frontend/lib/db.ts (1224 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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "32 tests / 160 src (ratio 0.20)."}, "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 40 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 20 placeholder/mock markers across 10 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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 ci. 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-1a09526f423a5984", "name": "Agent authority lacks a verifier contract: .claude/agents/feature-builder.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/agents/feature-builder.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-10de36876f8e58dd", "name": "Agent authority lacks a verifier contract: .claude/agent-memory/frontend-habit-views/progress.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/agent-memory/frontend-habit-views/progress.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-c1d8a5596ec548af", "name": "Agent authority lacks a verifier contract: .claude/agent-memory/architect-wireframe/project_shared_types_location.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/agent-memory/architect-wireframe/project_shared_types_location.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-e725d2ab884fbd49", "name": "Multiple root agent instruction files without precedence", "shortDescription": {"text": "Multiple root agent instruction files without precedence"}, "fullDescription": {"text": "The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-02c020fe6eec1c91", "name": "`fetch()` without try/.catch or AbortSignal \u2014 frontend/types/error.ts:87", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 frontend/types/error.ts:87"}, "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-8de3ed58a4b5df5d", "name": "Commented-code block (6 lines) in frontend/store/adminApi.ts:66", "shortDescription": {"text": "Commented-code block (6 lines) in frontend/store/adminApi.ts:66"}, "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/22885"}, "properties": {"repository": "wsarachai/story-diary", "repoUrl": "https://github.com/wsarachai/story-diary", "branch": "main"}, "results": [{"ruleId": "scanner-bead75b0f9233e05", "level": "none", "message": {"text": "No API endpoints detected"}, "properties": {"repobilityId": "0f8bb852027c38f8", "scanner": "scanner-primary", "fingerprint": "bead75b0f9233e05", "layer": "api", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-8dca2e2fd8bc5c4e", "level": "none", "message": {"text": "TODO/FIXME marker in shipping code \u2014 frontend/tests/unit/services/habitService.test.ts:759"}, "properties": {"repobilityId": "735faae67471330c", "scanner": "scanner-primary", "fingerprint": "8dca2e2fd8bc5c4e", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.todo-marker"]}}, {"ruleId": "scanner-9c9202bd3b334054", "level": "error", "message": {"text": "Possible secret in frontend/app/register/page.tsx"}, "properties": {"repobilityId": "82d3729837bf1ad1", "scanner": "scanner-primary", "fingerprint": "9c9202bd3b334054", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "frontend/app/register/page.tsx"}, "region": {"startLine": 106}}}]}, {"ruleId": "scanner-9c9202bd3b334054", "level": "error", "message": {"text": "Possible secret in frontend/app/register/page.tsx"}, "properties": {"repobilityId": "82d3729837bf1ad1", "scanner": "scanner-primary", "fingerprint": "9c9202bd3b334054", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "frontend/app/register/page.tsx"}, "region": {"startLine": 107}}}]}, {"ruleId": "scanner-9c9202bd3b334054", "level": "error", "message": {"text": "Possible secret in frontend/app/register/page.tsx"}, "properties": {"repobilityId": "82d3729837bf1ad1", "scanner": "scanner-primary", "fingerprint": "9c9202bd3b334054", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "frontend/app/register/page.tsx"}, "region": {"startLine": 109}}}]}, {"ruleId": "scanner-7dd1bd34dcdd0eb5", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in frontend/store/authApi.ts:33"}, "properties": {"repobilityId": "c08df8c5c023e7ab", "scanner": "scanner-primary", "fingerprint": "7dd1bd34dcdd0eb5", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "frontend/store/authApi.ts"}, "region": {"startLine": 33}}}]}, {"ruleId": "scanner-82522e329355e0cc", "level": "warning", "message": {"text": "Insecure pattern 'subprocess_shell_true' in .claude/skills/webapp-testing/scripts/with_server.py:71"}, "properties": {"repobilityId": "603ca94dede951d0", "scanner": "scanner-primary", "fingerprint": "82522e329355e0cc", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/skills/webapp-testing/scripts/with_server.py"}, "region": {"startLine": 71}}}]}, {"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-19816359660cd1f3", "level": "note", "message": {"text": "Very large file: frontend/lib/db.ts (1224 lines)"}, "properties": {"repobilityId": "e8a07207121d175c", "scanner": "scanner-primary", "fingerprint": "19816359660cd1f3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "5d5113683a5f8b20", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "5877d1cf9376ce1b", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "c98f690cb1c37096", "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": "0308dbf15fe0bd71", "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": "808be97a13acdeae", "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": "e062b12e08b83771", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-1a09526f423a5984", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/agents/feature-builder.md"}, "properties": {"repobilityId": "ca8f486efbd8056b", "scanner": "scanner-primary", "fingerprint": "1a09526f423a5984", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/agents/feature-builder.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-10de36876f8e58dd", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/agent-memory/frontend-habit-views/progress.md"}, "properties": {"repobilityId": "f1464650c3bb975b", "scanner": "scanner-primary", "fingerprint": "10de36876f8e58dd", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/agent-memory/frontend-habit-views/progress.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c1d8a5596ec548af", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/agent-memory/architect-wireframe/project_shared_types_location.md"}, "properties": {"repobilityId": "c6ec51b432110968", "scanner": "scanner-primary", "fingerprint": "c1d8a5596ec548af", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/agent-memory/architect-wireframe/project_shared_types_location.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e725d2ab884fbd49", "level": "note", "message": {"text": "Multiple root agent instruction files without precedence"}, "properties": {"repobilityId": "1953db6c89508d22", "scanner": "scanner-primary", "fingerprint": "e725d2ab884fbd49", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["agent-instructions", "governance"]}}, {"ruleId": "scanner-02c020fe6eec1c91", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 frontend/types/error.ts:87"}, "properties": {"repobilityId": "bf16b4683baaf800", "scanner": "scanner-primary", "fingerprint": "02c020fe6eec1c91", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8de3ed58a4b5df5d", "level": "none", "message": {"text": "Commented-code block (6 lines) in frontend/store/adminApi.ts:66"}, "properties": {"repobilityId": "38ee466d562cce70", "scanner": "scanner-primary", "fingerprint": "8de3ed58a4b5df5d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}