{"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-6a3e5449a96a4985", "name": "Stray `console.log` in TS/JS \u2014 js/auth.js:552", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 js/auth.js:552"}, "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-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-b2a76762263959cf", "name": "Insecure pattern 'direct_innerhtml_assignment' in index_original.html:911", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in index_original.html:911"}, "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-02cf5468d1a6405f", "name": "Insecure pattern 'direct_outerhtml_assignment' in index_original.html:836", "shortDescription": {"text": "Insecure pattern 'direct_outerhtml_assignment' in index_original.html:836"}, "fullDescription": {"text": "Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b8b8bae6386275d5", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/auth.js:318", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/auth.js:318"}, "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-b97b3d7de476de4b", "name": "Insecure pattern 'direct_outerhtml_assignment' in js/auth.js:139", "shortDescription": {"text": "Insecure pattern 'direct_outerhtml_assignment' in js/auth.js:139"}, "fullDescription": {"text": "Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-f2f52d23376762bd", "name": "Insecure pattern 'local_storage_auth_token' in js/auth.js:399", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in js/auth.js:399"}, "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-4b705535b0a4db15", "name": "Insecure pattern 'direct_innerhtml_assignment' in js/app.js:92", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/app.js:92"}, "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-0d45ebaccbd5e6b9", "name": "Insecure pattern 'cors_wildcard' in supabase/functions/phone-verify/index.ts:15", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/phone-verify/index.ts:15"}, "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-0d1dfe255d3851fa", "name": "Insecure pattern 'cors_wildcard' in supabase/functions/kyc/index.ts:20", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/kyc/index.ts:20"}, "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-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-bf51b788d2d438f1", "name": "Very large file: js/app.js (1993 lines)", "shortDescription": {"text": "Very large file: js/app.js (1993 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 6 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-b3ed68815bca2f8c", "name": "Node manifest has dependencies but no lockfile: package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "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, tests, lockfile. 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, lockfile. 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-d43fca3c226651b6", "name": "Commented-code block (5 lines) in js/auth.js:6", "shortDescription": {"text": "Commented-code block (5 lines) in js/auth.js:6"}, "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-4bbe91eaa05d8613", "name": "Commented-code block (6 lines) in js/app.js:1272", "shortDescription": {"text": "Commented-code block (6 lines) in js/app.js:1272"}, "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-adbdc7ca41e12ae7", "name": "Commented-code block (7 lines) in supabase/functions/phone-verify/index.ts:1", "shortDescription": {"text": "Commented-code block (7 lines) in supabase/functions/phone-verify/index.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-a44992ba8770db33", "name": "Commented-code block (7 lines) in supabase/functions/kyc/index.ts:4", "shortDescription": {"text": "Commented-code block (7 lines) in supabase/functions/kyc/index.ts:4"}, "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/22539"}, "properties": {"repository": "Warrior-R/mercadord", "repoUrl": "https://github.com/Warrior-R/mercadord", "branch": "main"}, "results": [{"ruleId": "scanner-6a3e5449a96a4985", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 js/auth.js:552"}, "properties": {"repobilityId": "15a71c2d598e55c6", "scanner": "scanner-primary", "fingerprint": "6a3e5449a96a4985", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"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-b2a76762263959cf", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in index_original.html:911"}, "properties": {"repobilityId": "1d5c30196059b5b3", "scanner": "scanner-primary", "fingerprint": "b2a76762263959cf", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index_original.html"}, "region": {"startLine": 911}}}]}, {"ruleId": "scanner-02cf5468d1a6405f", "level": "warning", "message": {"text": "Insecure pattern 'direct_outerhtml_assignment' in index_original.html:836"}, "properties": {"repobilityId": "c08f84020e1c0e9c", "scanner": "scanner-primary", "fingerprint": "02cf5468d1a6405f", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_outerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index_original.html"}, "region": {"startLine": 836}}}]}, {"ruleId": "scanner-b8b8bae6386275d5", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/auth.js:318"}, "properties": {"repobilityId": "90656fe2d6e7ff79", "scanner": "scanner-primary", "fingerprint": "b8b8bae6386275d5", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/auth.js"}, "region": {"startLine": 318}}}]}, {"ruleId": "scanner-b97b3d7de476de4b", "level": "warning", "message": {"text": "Insecure pattern 'direct_outerhtml_assignment' in js/auth.js:139"}, "properties": {"repobilityId": "046ca0cddce9a8fb", "scanner": "scanner-primary", "fingerprint": "b97b3d7de476de4b", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_outerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/auth.js"}, "region": {"startLine": 139}}}]}, {"ruleId": "scanner-f2f52d23376762bd", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in js/auth.js:399"}, "properties": {"repobilityId": "06899a13d6cd12f6", "scanner": "scanner-primary", "fingerprint": "f2f52d23376762bd", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/auth.js"}, "region": {"startLine": 399}}}]}, {"ruleId": "scanner-4b705535b0a4db15", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in js/app.js:92"}, "properties": {"repobilityId": "f12f5fb5c6eb3ec0", "scanner": "scanner-primary", "fingerprint": "4b705535b0a4db15", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "js/app.js"}, "region": {"startLine": 92}}}]}, {"ruleId": "scanner-0d45ebaccbd5e6b9", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/phone-verify/index.ts:15"}, "properties": {"repobilityId": "7668096e043e029a", "scanner": "scanner-primary", "fingerprint": "0d45ebaccbd5e6b9", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "supabase/functions/phone-verify/index.ts"}, "region": {"startLine": 15}}}]}, {"ruleId": "scanner-0d1dfe255d3851fa", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in supabase/functions/kyc/index.ts:20"}, "properties": {"repobilityId": "2953ad1cfce55dc2", "scanner": "scanner-primary", "fingerprint": "0d1dfe255d3851fa", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "supabase/functions/kyc/index.ts"}, "region": {"startLine": 20}}}]}, {"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-bf51b788d2d438f1", "level": "note", "message": {"text": "Very large file: js/app.js (1993 lines)"}, "properties": {"repobilityId": "c38eec27975b7a83", "scanner": "scanner-primary", "fingerprint": "bf51b788d2d438f1", "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": "0fe4972d4db6c21b", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b3ed68815bca2f8c", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: package.json"}, "properties": {"repobilityId": "7edae0550c126386", "scanner": "scanner-primary", "fingerprint": "b3ed68815bca2f8c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "91d50e395b44954a", "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": "bb63191d6fff75e8", "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": "ecd82af6f6d18c78", "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": "a783bef2acdf8121", "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": "4ca388f2c01293c3", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-d43fca3c226651b6", "level": "none", "message": {"text": "Commented-code block (5 lines) in js/auth.js:6"}, "properties": {"repobilityId": "c74b0f48820dc330", "scanner": "scanner-primary", "fingerprint": "d43fca3c226651b6", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4bbe91eaa05d8613", "level": "none", "message": {"text": "Commented-code block (6 lines) in js/app.js:1272"}, "properties": {"repobilityId": "d0e73a2e3d6c28a6", "scanner": "scanner-primary", "fingerprint": "4bbe91eaa05d8613", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-adbdc7ca41e12ae7", "level": "none", "message": {"text": "Commented-code block (7 lines) in supabase/functions/phone-verify/index.ts:1"}, "properties": {"repobilityId": "d1f2fd47c1ccf478", "scanner": "scanner-primary", "fingerprint": "adbdc7ca41e12ae7", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a44992ba8770db33", "level": "none", "message": {"text": "Commented-code block (7 lines) in supabase/functions/kyc/index.ts:4"}, "properties": {"repobilityId": "21e0692fa82e4d99", "scanner": "scanner-primary", "fingerprint": "a44992ba8770db33", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}