{"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-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-59cbf6e36a0e3777", "name": "Docker base image is tag-pinned but not digest-pinned: node:22-bookworm-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-bookworm-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-317932093ccf0181", "name": "Docker base image is tag-pinned but not digest-pinned: nginx:1.27-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: nginx:1.27-alpine"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-aa5acaa49eb8315b", "name": "Containers defined but no K8s/orchestration manifest found", "shortDescription": {"text": "Containers defined but no K8s/orchestration manifest found"}, "fullDescription": {"text": "Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-a679d543b4be0880", "name": "Runtime dotenv file present in repo: .env.public", "shortDescription": {"text": "Runtime dotenv file present in repo: .env.public"}, "fullDescription": {"text": "`.env.public` looks like a runtime dotenv file. No high-confidence secret value was matched, but runtime dotenv files often drift into live credentials. Move real values to a secret manager and keep only `.env.example` style templates in source control."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-a68b08a728d84541", "name": "Insecure pattern 'cors_wildcard' in functions/api/_middleware.ts:6", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in functions/api/_middleware.ts:6"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-bb3f00806dedd091", "name": "Possible secret in src/auth/firebase.ts", "shortDescription": {"text": "Possible secret in src/auth/firebase.ts"}, "fullDescription": {"text": "Detected pattern matching generic_api_key. Rotate the credential and move to a secret manager."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "critical", "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-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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "11 tests / 85 src (ratio 0.13)."}, "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 27 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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci. 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": "low", "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-d340a81fb6561602", "name": "Commented-code block (6 lines) in functions/api/sync/account.ts:1", "shortDescription": {"text": "Commented-code block (6 lines) in functions/api/sync/account.ts:1"}, "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-578e9068d376fda4", "name": "Commented-code block (5 lines) in functions/api/sync/trim.ts:1", "shortDescription": {"text": "Commented-code block (5 lines) in functions/api/sync/trim.ts:1"}, "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-1eedabbe0c819935", "name": "Commented-code block (5 lines) in functions/api/sync/generate.ts:347", "shortDescription": {"text": "Commented-code block (5 lines) in functions/api/sync/generate.ts:347"}, "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-4a22d135a2af19cd", "name": "`fetch()` without try/.catch or AbortSignal \u2014 functions/api/sync/generate.ts:209", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 functions/api/sync/generate.ts:209"}, "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-38087a682576be94", "name": "Commented-code block (7 lines) in functions/api/sync/books/[bookId].ts:1", "shortDescription": {"text": "Commented-code block (7 lines) in functions/api/sync/books/[bookId].ts:1"}, "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-337001dd595dbe12", "name": "Commented-code block (7 lines) in functions/api/sync/books/[bookId]/retain.ts:1", "shortDescription": {"text": "Commented-code block (7 lines) in functions/api/sync/books/[bookId]/retain.ts:1"}, "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-8544ff461a120392", "name": "Commented-code block (7 lines) in functions/api/webhook/revenuecat.ts:1", "shortDescription": {"text": "Commented-code block (7 lines) in functions/api/webhook/revenuecat.ts:1"}, "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-c715a5ad364ac292", "name": "`fetch()` without try/.catch or AbortSignal \u2014 functions/_lib/auth.ts:25", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 functions/_lib/auth.ts:25"}, "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-f2ec0c823ab53f0e", "name": "`fetch()` without try/.catch or AbortSignal \u2014 functions/_lib/stripe.ts:44", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 functions/_lib/stripe.ts:44"}, "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-79b9c64b80d421bd", "name": "Commented-code block (5 lines) in functions/_lib/progressMerge.ts:8", "shortDescription": {"text": "Commented-code block (5 lines) in functions/_lib/progressMerge.ts:8"}, "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-a19af8dd7de9f360", "name": "Commented-code block (8 lines) in functions/_lib/tier.ts:1", "shortDescription": {"text": "Commented-code block (8 lines) in functions/_lib/tier.ts:1"}, "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-30b8317b5797cc5e", "name": "Commented-code block (6 lines) in scripts/make-sample-pdf.mjs:1", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/make-sample-pdf.mjs:1"}, "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-e90dc56575f1860b", "name": "Commented-code block (5 lines) in scripts/copy-pdfjs-assets.mjs:1", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/copy-pdfjs-assets.mjs:1"}, "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-8d5e524f9633d509", "name": "Commented-code block (5 lines) in worker/retention.ts:7", "shortDescription": {"text": "Commented-code block (5 lines) in worker/retention.ts:7"}, "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-8db258453cb3468a", "name": "Commented-code block (7 lines) in src/polyfills.ts:1", "shortDescription": {"text": "Commented-code block (7 lines) in src/polyfills.ts:1"}, "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-3e793afab598ecb9", "name": "Commented-code block (5 lines) in src/types.ts:3", "shortDescription": {"text": "Commented-code block (5 lines) in src/types.ts: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-40213ee0151e88ed", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/sync/api.ts:28", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/sync/api.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-b8ba155458a38730", "name": "Legacy-named symbol `usedOld` in src/sync/cardKeys.ts:81", "shortDescription": {"text": "Legacy-named symbol `usedOld` in src/sync/cardKeys.ts:81"}, "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-a0d3d59b45285a4a", "name": "Commented-code block (6 lines) in src/sync/cardKeys.ts:3", "shortDescription": {"text": "Commented-code block (6 lines) in src/sync/cardKeys.ts: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-adffd09bb5bfde27", "name": "Commented-code block (5 lines) in src/sync/progressMerge.ts:8", "shortDescription": {"text": "Commented-code block (5 lines) in src/sync/progressMerge.ts:8"}, "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-574871a7d00a5f19", "name": "Commented-code block (10 lines) in src/sync/topics.ts:1", "shortDescription": {"text": "Commented-code block (10 lines) in src/sync/topics.ts:1"}, "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-73451c19aa66f843", "name": "Commented-code block (6 lines) in src/auth/firebase.ts:1", "shortDescription": {"text": "Commented-code block (6 lines) in src/auth/firebase.ts:1"}, "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-bdaeb6a0cee2fe3d", "name": "Commented-code block (5 lines) in src/auth/useAuth.ts:61", "shortDescription": {"text": "Commented-code block (5 lines) in src/auth/useAuth.ts:61"}, "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-f774edcdca130fdb", "name": "Commented-code block (7 lines) in src/components/QuizScreen.tsx:1", "shortDescription": {"text": "Commented-code block (7 lines) in src/components/QuizScreen.tsx:1"}, "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-0ac92cc5f2813e12", "name": "Commented-code block (5 lines) in src/components/DevTierSwitch.tsx:1", "shortDescription": {"text": "Commented-code block (5 lines) in src/components/DevTierSwitch.tsx:1"}, "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-e5ac6105e8fa35e3", "name": "Commented-code block (6 lines) in src/components/DeckList.tsx:210", "shortDescription": {"text": "Commented-code block (6 lines) in src/components/DeckList.tsx:210"}, "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-5cb38ed77d65a179", "name": "Commented-code block (5 lines) in src/components/DowngradeSelect.tsx:1", "shortDescription": {"text": "Commented-code block (5 lines) in src/components/DowngradeSelect.tsx:1"}, "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-70b189976a8dcee3", "name": "Legacy-named symbol `starLegacy` in src/components/PageViewer.tsx:237", "shortDescription": {"text": "Legacy-named symbol `starLegacy` in src/components/PageViewer.tsx:237"}, "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-96c17599c2ac02ae", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/db/backup.ts:39", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/db/backup.ts:39"}, "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-f4e5e8bbbc2777ed", "name": "Commented-code block (5 lines) in src/store/session.ts:18", "shortDescription": {"text": "Commented-code block (5 lines) in src/store/session.ts:18"}, "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/20759"}, "properties": {"repository": "takayuki0407/anki-sheet", "repoUrl": "https://github.com/takayuki0407/anki-sheet", "branch": "main"}, "results": [{"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-59cbf6e36a0e3777", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-bookworm-slim"}, "properties": {"repobilityId": "65413403a4b26de0", "scanner": "scanner-primary", "fingerprint": "59cbf6e36a0e3777", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-317932093ccf0181", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: nginx:1.27-alpine"}, "properties": {"repobilityId": "cb628e77a1cf06bd", "scanner": "scanner-primary", "fingerprint": "317932093ccf0181", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 13}}}]}, {"ruleId": "scanner-aa5acaa49eb8315b", "level": "note", "message": {"text": "Containers defined but no K8s/orchestration manifest found"}, "properties": {"repobilityId": "b230ea9b68736081", "scanner": "scanner-primary", "fingerprint": "aa5acaa49eb8315b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["coverage", "deployment"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-a679d543b4be0880", "level": "error", "message": {"text": "Runtime dotenv file present in repo: .env.public"}, "properties": {"repobilityId": "19a3967093194899", "scanner": "scanner-primary", "fingerprint": "a679d543b4be0880", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["secrets", "config", "env-file", "runtime-env"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".env.public"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a68b08a728d84541", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in functions/api/_middleware.ts:6"}, "properties": {"repobilityId": "acc9863bb64692d3", "scanner": "scanner-primary", "fingerprint": "a68b08a728d84541", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "functions/api/_middleware.ts"}, "region": {"startLine": 6}}}]}, {"ruleId": "scanner-bb3f00806dedd091", "level": "error", "message": {"text": "Possible secret in src/auth/firebase.ts"}, "properties": {"repobilityId": "e41a9342f66c7edd", "scanner": "scanner-primary", "fingerprint": "bb3f00806dedd091", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/auth/firebase.ts"}, "region": {"startLine": 11}}}]}, {"ruleId": "scanner-cb639d9a10a47b23", "level": "note", "message": {"text": "package.json defines install-time lifecycle scripts"}, "properties": {"repobilityId": "edeab51902066991", "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-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-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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "cadb54b77dd45991", "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": "72af1570dcec48cf", "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": "1604e77488f1794f", "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": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "75eca81597aeaf6c", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "f654f48a27bc8002", "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": "b1616b212fa31464", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-d340a81fb6561602", "level": "none", "message": {"text": "Commented-code block (6 lines) in functions/api/sync/account.ts:1"}, "properties": {"repobilityId": "d25aa44bcfb9f96b", "scanner": "scanner-primary", "fingerprint": "d340a81fb6561602", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-578e9068d376fda4", "level": "none", "message": {"text": "Commented-code block (5 lines) in functions/api/sync/trim.ts:1"}, "properties": {"repobilityId": "3831cc4dcb1cf13b", "scanner": "scanner-primary", "fingerprint": "578e9068d376fda4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1eedabbe0c819935", "level": "none", "message": {"text": "Commented-code block (5 lines) in functions/api/sync/generate.ts:347"}, "properties": {"repobilityId": "f986bc07242912a1", "scanner": "scanner-primary", "fingerprint": "1eedabbe0c819935", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4a22d135a2af19cd", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 functions/api/sync/generate.ts:209"}, "properties": {"repobilityId": "4e0f48af876d97ec", "scanner": "scanner-primary", "fingerprint": "4a22d135a2af19cd", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-38087a682576be94", "level": "none", "message": {"text": "Commented-code block (7 lines) in functions/api/sync/books/[bookId].ts:1"}, "properties": {"repobilityId": "0878902e793dd580", "scanner": "scanner-primary", "fingerprint": "38087a682576be94", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-337001dd595dbe12", "level": "none", "message": {"text": "Commented-code block (7 lines) in functions/api/sync/books/[bookId]/retain.ts:1"}, "properties": {"repobilityId": "9adc479fe9294858", "scanner": "scanner-primary", "fingerprint": "337001dd595dbe12", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8544ff461a120392", "level": "none", "message": {"text": "Commented-code block (7 lines) in functions/api/webhook/revenuecat.ts:1"}, "properties": {"repobilityId": "724507b776979595", "scanner": "scanner-primary", "fingerprint": "8544ff461a120392", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c715a5ad364ac292", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 functions/_lib/auth.ts:25"}, "properties": {"repobilityId": "2cf493141bb82f27", "scanner": "scanner-primary", "fingerprint": "c715a5ad364ac292", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-f2ec0c823ab53f0e", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 functions/_lib/stripe.ts:44"}, "properties": {"repobilityId": "f160cb24a17cb06f", "scanner": "scanner-primary", "fingerprint": "f2ec0c823ab53f0e", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-79b9c64b80d421bd", "level": "none", "message": {"text": "Commented-code block (5 lines) in functions/_lib/progressMerge.ts:8"}, "properties": {"repobilityId": "19f30e2f7d69ba0e", "scanner": "scanner-primary", "fingerprint": "79b9c64b80d421bd", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a19af8dd7de9f360", "level": "none", "message": {"text": "Commented-code block (8 lines) in functions/_lib/tier.ts:1"}, "properties": {"repobilityId": "d38020ee941b61cd", "scanner": "scanner-primary", "fingerprint": "a19af8dd7de9f360", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-30b8317b5797cc5e", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/make-sample-pdf.mjs:1"}, "properties": {"repobilityId": "3febb4a7518c8584", "scanner": "scanner-primary", "fingerprint": "30b8317b5797cc5e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e90dc56575f1860b", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/copy-pdfjs-assets.mjs:1"}, "properties": {"repobilityId": "4805be73c9f8e717", "scanner": "scanner-primary", "fingerprint": "e90dc56575f1860b", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8d5e524f9633d509", "level": "none", "message": {"text": "Commented-code block (5 lines) in worker/retention.ts:7"}, "properties": {"repobilityId": "d09a2ac7b339ce51", "scanner": "scanner-primary", "fingerprint": "8d5e524f9633d509", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8db258453cb3468a", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/polyfills.ts:1"}, "properties": {"repobilityId": "22445079fb2d1bb6", "scanner": "scanner-primary", "fingerprint": "8db258453cb3468a", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3e793afab598ecb9", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/types.ts:3"}, "properties": {"repobilityId": "555df5d61f727977", "scanner": "scanner-primary", "fingerprint": "3e793afab598ecb9", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-40213ee0151e88ed", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/sync/api.ts:28"}, "properties": {"repobilityId": "b543ceb17a01d4da", "scanner": "scanner-primary", "fingerprint": "40213ee0151e88ed", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-b8ba155458a38730", "level": "note", "message": {"text": "Legacy-named symbol `usedOld` in src/sync/cardKeys.ts:81"}, "properties": {"repobilityId": "f9b7878ad6adad6c", "scanner": "scanner-primary", "fingerprint": "b8ba155458a38730", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-a0d3d59b45285a4a", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/sync/cardKeys.ts:3"}, "properties": {"repobilityId": "30a3aeeb678c7ca9", "scanner": "scanner-primary", "fingerprint": "a0d3d59b45285a4a", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-adffd09bb5bfde27", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/sync/progressMerge.ts:8"}, "properties": {"repobilityId": "7a8442e72c923ffd", "scanner": "scanner-primary", "fingerprint": "adffd09bb5bfde27", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-574871a7d00a5f19", "level": "none", "message": {"text": "Commented-code block (10 lines) in src/sync/topics.ts:1"}, "properties": {"repobilityId": "a7801077d8d2ee37", "scanner": "scanner-primary", "fingerprint": "574871a7d00a5f19", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-73451c19aa66f843", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/auth/firebase.ts:1"}, "properties": {"repobilityId": "4c418cc7dc32b6bd", "scanner": "scanner-primary", "fingerprint": "73451c19aa66f843", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-bdaeb6a0cee2fe3d", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/auth/useAuth.ts:61"}, "properties": {"repobilityId": "46247703aeb57e5e", "scanner": "scanner-primary", "fingerprint": "bdaeb6a0cee2fe3d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f774edcdca130fdb", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/components/QuizScreen.tsx:1"}, "properties": {"repobilityId": "beabe4678eaf6bf2", "scanner": "scanner-primary", "fingerprint": "f774edcdca130fdb", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-0ac92cc5f2813e12", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/components/DevTierSwitch.tsx:1"}, "properties": {"repobilityId": "f88489f34e195324", "scanner": "scanner-primary", "fingerprint": "0ac92cc5f2813e12", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e5ac6105e8fa35e3", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/components/DeckList.tsx:210"}, "properties": {"repobilityId": "6f33b67700c6bccb", "scanner": "scanner-primary", "fingerprint": "e5ac6105e8fa35e3", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5cb38ed77d65a179", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/components/DowngradeSelect.tsx:1"}, "properties": {"repobilityId": "33de41d5defb5e69", "scanner": "scanner-primary", "fingerprint": "5cb38ed77d65a179", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-70b189976a8dcee3", "level": "note", "message": {"text": "Legacy-named symbol `starLegacy` in src/components/PageViewer.tsx:237"}, "properties": {"repobilityId": "efab33bebeca91c0", "scanner": "scanner-primary", "fingerprint": "70b189976a8dcee3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-96c17599c2ac02ae", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/db/backup.ts:39"}, "properties": {"repobilityId": "ca9d3f72ea05d53e", "scanner": "scanner-primary", "fingerprint": "96c17599c2ac02ae", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-f4e5e8bbbc2777ed", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/store/session.ts:18"}, "properties": {"repobilityId": "057cf90b753d50d3", "scanner": "scanner-primary", "fingerprint": "f4e5e8bbbc2777ed", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}