{"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-95d301fcd8ba9e4f", "name": "Stray `console.log` in TS/JS \u2014 src/app/api/cron/route.ts:75", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/app/api/cron/route.ts:75"}, "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-24b8c4b0b4536477", "name": "Stray `console.log` in TS/JS \u2014 src/app/api/auth/[...nextauth]/route.ts:6", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/app/api/auth/[...nextauth]/route.ts:6"}, "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-3d25b49b94a0e151", "name": "Stray `console.log` in TS/JS \u2014 src/lib/embeddings.ts:39", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/embeddings.ts:39"}, "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-f13a9ea3ffb12913", "name": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/web-search.ts:16", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/web-search.ts:16"}, "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-7ec0ff0bc8988de8", "name": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/open-alex.ts:147", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/open-alex.ts:147"}, "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-d7e1bec2092060fa", "name": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/semantic-scholar.ts:132", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/semantic-scholar.ts:132"}, "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-fc851c07bb8d5b53", "name": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/article.ts:63", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/article.ts:63"}, "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-44826de00afb608d", "name": "Stray `console.log` in TS/JS \u2014 src/lib/pipeline/digest.ts:206", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/pipeline/digest.ts:206"}, "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-dee138a51b4d2dbd", "name": "Stray `console.log` in TS/JS \u2014 src/lib/ai/provider.ts:69", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/ai/provider.ts:69"}, "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-5904ed5a04abaf38", "name": "Insecure pattern 'weak_hash' in src/lib/twitter.ts:69", "shortDescription": {"text": "Insecure pattern 'weak_hash' in src/lib/twitter.ts:69"}, "fullDescription": {"text": "Found a known-risky pattern (weak_hash). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1ef189f5346bdaaa", "name": "Insecure pattern 'local_storage_auth_token' in src/lib/hooks/use-session.ts:38", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in src/lib/hooks/use-session.ts:38"}, "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-acbcb49974031dba", "name": "Very large file: src/lib/pipeline/digest.ts (1323 lines)", "shortDescription": {"text": "Very large file: src/lib/pipeline/digest.ts (1323 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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 96 source file(s) (ratio 0.00). 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 100 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 29 placeholder/mock markers across 13 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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "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, ci, tests. 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-bea357a6497a2d5d", "name": "Agent authority lacks a verifier contract: CLAUDE.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: CLAUDE.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-4b7c7b7793e3e0b0", "name": "Agent authority lacks a verifier contract: .claude/_claude_backup/settings.local.json", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/_claude_backup/settings.local.json"}, "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-1981ad0c8afe0cd7", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/components/vault/vault-page.tsx:230", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/components/vault/vault-page.tsx:230"}, "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-1117e1e4a3898863", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/lib/fetchers/semantic-scholar.ts:28", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/lib/fetchers/semantic-scholar.ts:28"}, "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-272eec8c1f549bb5", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/lib/fetchers/arxiv.ts:13", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/lib/fetchers/arxiv.ts:13"}, "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/25320"}, "properties": {"repository": "defnegenc/learning-et-al", "repoUrl": "https://github.com/defnegenc/learning-et-al", "branch": "main"}, "results": [{"ruleId": "scanner-95d301fcd8ba9e4f", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/app/api/cron/route.ts:75"}, "properties": {"repobilityId": "8161faf0ab39a80f", "scanner": "scanner-primary", "fingerprint": "95d301fcd8ba9e4f", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-24b8c4b0b4536477", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/app/api/auth/[...nextauth]/route.ts:6"}, "properties": {"repobilityId": "2701690012df1cb7", "scanner": "scanner-primary", "fingerprint": "24b8c4b0b4536477", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-3d25b49b94a0e151", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/embeddings.ts:39"}, "properties": {"repobilityId": "2ba7ca1bbabec414", "scanner": "scanner-primary", "fingerprint": "3d25b49b94a0e151", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-f13a9ea3ffb12913", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/web-search.ts:16"}, "properties": {"repobilityId": "2e1707f6db069e0f", "scanner": "scanner-primary", "fingerprint": "f13a9ea3ffb12913", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-7ec0ff0bc8988de8", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/open-alex.ts:147"}, "properties": {"repobilityId": "2d5d4f4f9b41741b", "scanner": "scanner-primary", "fingerprint": "7ec0ff0bc8988de8", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d7e1bec2092060fa", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/semantic-scholar.ts:132"}, "properties": {"repobilityId": "65fe6cb023ad2f75", "scanner": "scanner-primary", "fingerprint": "d7e1bec2092060fa", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-fc851c07bb8d5b53", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/fetchers/article.ts:63"}, "properties": {"repobilityId": "0cdecea5c694f542", "scanner": "scanner-primary", "fingerprint": "fc851c07bb8d5b53", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-44826de00afb608d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/pipeline/digest.ts:206"}, "properties": {"repobilityId": "d25b5897116fec42", "scanner": "scanner-primary", "fingerprint": "44826de00afb608d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-dee138a51b4d2dbd", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/lib/ai/provider.ts:69"}, "properties": {"repobilityId": "6437529678c7ab62", "scanner": "scanner-primary", "fingerprint": "dee138a51b4d2dbd", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-5904ed5a04abaf38", "level": "warning", "message": {"text": "Insecure pattern 'weak_hash' in src/lib/twitter.ts:69"}, "properties": {"repobilityId": "2c704cd1840dad97", "scanner": "scanner-primary", "fingerprint": "5904ed5a04abaf38", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "weak_hash"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/lib/twitter.ts"}, "region": {"startLine": 69}}}]}, {"ruleId": "scanner-1ef189f5346bdaaa", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in src/lib/hooks/use-session.ts:38"}, "properties": {"repobilityId": "f26bb697c8df6b80", "scanner": "scanner-primary", "fingerprint": "1ef189f5346bdaaa", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/lib/hooks/use-session.ts"}, "region": {"startLine": 38}}}]}, {"ruleId": "scanner-acbcb49974031dba", "level": "note", "message": {"text": "Very large file: src/lib/pipeline/digest.ts (1323 lines)"}, "properties": {"repobilityId": "c622c27618046c25", "scanner": "scanner-primary", "fingerprint": "acbcb49974031dba", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"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": "093d5ef319a2f848", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "386669f9a1805d3f", "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": "10d4f8d4d2fd557d", "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": "a57028a12d2d2d42", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "2b9a46997c56f6b1", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "b1d677f1d9169fba", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-bea357a6497a2d5d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "properties": {"repobilityId": "aae72df3934829ac", "scanner": "scanner-primary", "fingerprint": "bea357a6497a2d5d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "CLAUDE.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4b7c7b7793e3e0b0", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/_claude_backup/settings.local.json"}, "properties": {"repobilityId": "4ef2839655d80508", "scanner": "scanner-primary", "fingerprint": "4b7c7b7793e3e0b0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/_claude_backup/settings.local.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1981ad0c8afe0cd7", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/components/vault/vault-page.tsx:230"}, "properties": {"repobilityId": "f3b60ccaf9606bf9", "scanner": "scanner-primary", "fingerprint": "1981ad0c8afe0cd7", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-1117e1e4a3898863", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/lib/fetchers/semantic-scholar.ts:28"}, "properties": {"repobilityId": "3ccb002a527fb65c", "scanner": "scanner-primary", "fingerprint": "1117e1e4a3898863", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-272eec8c1f549bb5", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/lib/fetchers/arxiv.ts:13"}, "properties": {"repobilityId": "e6bcf2f0c61dbd1f", "scanner": "scanner-primary", "fingerprint": "272eec8c1f549bb5", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}