{"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-0433c0e691069379", "name": "`truncate` class without `title=` for hover reveal \u2014 portal/app/contact/page.tsx:53", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 portal/app/contact/page.tsx:53"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-f7e43476d27bbb4f", "name": "`truncate` class without `title=` for hover reveal \u2014 portal/app/admin/UserRow.tsx:213", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 portal/app/admin/UserRow.tsx:213"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-041ab040664ef6c6", "name": "Stray `console.log` in TS/JS \u2014 portal/supabase/import-users.ts:100", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 portal/supabase/import-users.ts:100"}, "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-bbd3c0349bf233bf", "name": "Stray `console.log` in TS/JS \u2014 portal/supabase/seed-admin.ts:73", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 portal/supabase/seed-admin.ts:73"}, "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-d16341323f8a51ef", "name": "Stray `console.log` in TS/JS \u2014 portal/supabase/check-admin.ts:28", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 portal/supabase/check-admin.ts:28"}, "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-d3093d14a429e8f2", "name": "Insecure pattern 'direct_innerhtml_assignment' in rxaudit-local.html:1454", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in rxaudit-local.html:1454"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1d1a979f4713c051", "name": "Insecure pattern 'document_write' in portal/public/rxaudit-local.html:2437", "shortDescription": {"text": "Insecure pattern 'document_write' in portal/public/rxaudit-local.html:2437"}, "fullDescription": {"text": "Found a known-risky pattern (document_write). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "low", "confidence": 1.0}}, {"id": "scanner-76728b0ec6efda33", "name": "Insecure pattern 'direct_innerhtml_assignment' in portal/public/rxaudit-local.html:2123", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in portal/public/rxaudit-local.html:2123"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "1 test file(s) for 63 source file(s) (ratio 0.02). 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 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 16 placeholder/mock markers across 8 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-9d79c4077342a7d0", "name": "Runtime service client appears to use placeholder configuration", "shortDescription": {"text": "Runtime service client appears to use placeholder configuration"}, "fullDescription": {"text": "A runtime source file appears to wire Supabase/Firebase/AI/payment-style clients to placeholder URLs, keys, or fallback values. In the Fable corpus this often means the UI/API shape is present while the backend service is not actually configured."}, "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-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-c31c68e8a990c87e", "name": "Commented-code block (6 lines) in portal/next.config.mjs:5", "shortDescription": {"text": "Commented-code block (6 lines) in portal/next.config.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-b575a7858af9daa2", "name": "Commented-code block (6 lines) in portal/app/api/sync/route.ts:3", "shortDescription": {"text": "Commented-code block (6 lines) in portal/app/api/sync/route.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-fb19c0cc7a989748", "name": "Commented-code block (5 lines) in portal/app/app/route.ts:3", "shortDescription": {"text": "Commented-code block (5 lines) in portal/app/app/route.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-11494e6f0a885cd2", "name": "Commented-code block (5 lines) in portal/app/admin/actions.ts:24", "shortDescription": {"text": "Commented-code block (5 lines) in portal/app/admin/actions.ts:24"}, "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-513397f5523c443c", "name": "Commented-code block (8 lines) in portal/lib/features.ts:8", "shortDescription": {"text": "Commented-code block (8 lines) in portal/lib/features.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-319e66a630e14977", "name": "2 env vars used in code but missing from .env.example", "shortDescription": {"text": "2 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `DRY_RUN`, `NEXT_PUBLIC_APP_VERSION`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/22475"}, "properties": {"repository": "W3lixir/Pharmetriks", "repoUrl": "https://github.com/W3lixir/Pharmetriks", "branch": "main"}, "results": [{"ruleId": "scanner-0433c0e691069379", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 portal/app/contact/page.tsx:53"}, "properties": {"repobilityId": "91c7b48223732a44", "scanner": "scanner-primary", "fingerprint": "0433c0e691069379", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-f7e43476d27bbb4f", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 portal/app/admin/UserRow.tsx:213"}, "properties": {"repobilityId": "194b9993c52c2810", "scanner": "scanner-primary", "fingerprint": "f7e43476d27bbb4f", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-041ab040664ef6c6", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 portal/supabase/import-users.ts:100"}, "properties": {"repobilityId": "30e883cc7e952dda", "scanner": "scanner-primary", "fingerprint": "041ab040664ef6c6", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-bbd3c0349bf233bf", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 portal/supabase/seed-admin.ts:73"}, "properties": {"repobilityId": "a373dd1b4d489c1c", "scanner": "scanner-primary", "fingerprint": "bbd3c0349bf233bf", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d16341323f8a51ef", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 portal/supabase/check-admin.ts:28"}, "properties": {"repobilityId": "d38727d5a04dc0d3", "scanner": "scanner-primary", "fingerprint": "d16341323f8a51ef", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d3093d14a429e8f2", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in rxaudit-local.html:1454"}, "properties": {"repobilityId": "6ceaca252cbd759e", "scanner": "scanner-primary", "fingerprint": "d3093d14a429e8f2", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "rxaudit-local.html"}, "region": {"startLine": 1454}}}]}, {"ruleId": "scanner-1d1a979f4713c051", "level": "note", "message": {"text": "Insecure pattern 'document_write' in portal/public/rxaudit-local.html:2437"}, "properties": {"repobilityId": "e4a75f60d5525c70", "scanner": "scanner-primary", "fingerprint": "1d1a979f4713c051", "layer": "security", "severity": "low", "confidence": 1.0, "tags": ["owasp", "document_write"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "portal/public/rxaudit-local.html"}, "region": {"startLine": 2437}}}]}, {"ruleId": "scanner-76728b0ec6efda33", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in portal/public/rxaudit-local.html:2123"}, "properties": {"repobilityId": "a209e0b0ff439f1e", "scanner": "scanner-primary", "fingerprint": "76728b0ec6efda33", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "portal/public/rxaudit-local.html"}, "region": {"startLine": 2123}}}]}, {"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-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": "a20febce7f0267cc", "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": "7a17b8cdf88694d8", "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": "9b6f7dd7b3801b0c", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-9d79c4077342a7d0", "level": "warning", "message": {"text": "Runtime service client appears to use placeholder configuration"}, "properties": {"repobilityId": "7199f78ef67bda1c", "scanner": "scanner-primary", "fingerprint": "9d79c4077342a7d0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "runtime-config", "service-client", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "248679d5a1e85bd1", "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": "aacb54c888da2350", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "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": "9bf31283d82b6bef", "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": "8ac6c0e92c0e5af4", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-c31c68e8a990c87e", "level": "none", "message": {"text": "Commented-code block (6 lines) in portal/next.config.mjs:5"}, "properties": {"repobilityId": "86abaf46d31d0232", "scanner": "scanner-primary", "fingerprint": "c31c68e8a990c87e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b575a7858af9daa2", "level": "none", "message": {"text": "Commented-code block (6 lines) in portal/app/api/sync/route.ts:3"}, "properties": {"repobilityId": "61c7b2fbb03e6720", "scanner": "scanner-primary", "fingerprint": "b575a7858af9daa2", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-fb19c0cc7a989748", "level": "none", "message": {"text": "Commented-code block (5 lines) in portal/app/app/route.ts:3"}, "properties": {"repobilityId": "346d57e6a0e87193", "scanner": "scanner-primary", "fingerprint": "fb19c0cc7a989748", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-11494e6f0a885cd2", "level": "none", "message": {"text": "Commented-code block (5 lines) in portal/app/admin/actions.ts:24"}, "properties": {"repobilityId": "76049667851a1e59", "scanner": "scanner-primary", "fingerprint": "11494e6f0a885cd2", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-513397f5523c443c", "level": "none", "message": {"text": "Commented-code block (8 lines) in portal/lib/features.ts:8"}, "properties": {"repobilityId": "7919876c2c030dc1", "scanner": "scanner-primary", "fingerprint": "513397f5523c443c", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-319e66a630e14977", "level": "none", "message": {"text": "2 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d838d1fc5d8231c9", "scanner": "scanner-primary", "fingerprint": "319e66a630e14977", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}