{"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-107e90fe3cac1041", "name": "Stray `console.log` in TS/JS \u2014 server/server.js:54", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/server.js:54"}, "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-4a0ccf1d4e226b22", "name": "Stray `console.log` in TS/JS \u2014 server/db/init.js:30", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/db/init.js:30"}, "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-0d0753cbdd1c807e", "name": "Stray `console.log` in TS/JS \u2014 server/engine/validation/extract-vsop.js:43", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/engine/validation/extract-vsop.js:43"}, "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-74457480ab872bd4", "name": "Stray `console.log` in TS/JS \u2014 server/engine/validation/generate.js:634", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/engine/validation/generate.js:634"}, "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-c8a27ad7c31668e1", "name": "Stray `console.log` in TS/JS \u2014 server/services/email.js:36", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/services/email.js:36"}, "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-7d0f1c67b740d08c", "name": "Insecure pattern 'direct_innerhtml_assignment' in index.html:3602", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in index.html:3602"}, "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-81953cd43c4316c6", "name": "Insecure pattern 'local_storage_auth_token' in index.html:4006", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in index.html:4006"}, "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-edd495c2e93ca817", "name": "Insecure pattern 'direct_innerhtml_assignment' in admin.html:194", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in admin.html:194"}, "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-9da3a2c9be120a86", "name": "Insecure pattern 'direct_innerhtml_assignment' in today.html:180", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in today.html:180"}, "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-284ed8bdab5550e4", "name": "Insecure pattern 'node_child_process' in server/engine/validation/generate.js:43", "shortDescription": {"text": "Insecure pattern 'node_child_process' in server/engine/validation/generate.js:43"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "2 tests / 17 src (ratio 0.12)."}, "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-faccb9061e9b52a0", "name": "No README detected", "shortDescription": {"text": "No README detected"}, "fullDescription": {"text": "No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off."}, "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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci, operator-readme. 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, operator-readme. 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-f516d8436589aa5f", "name": "Commented-code block (6 lines) in server/engine/vsop87d-earth.js:3", "shortDescription": {"text": "Commented-code block (6 lines) in server/engine/vsop87d-earth.js: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-2249b7521769af17", "name": "Commented-code block (12 lines) in server/engine/index.js:13", "shortDescription": {"text": "Commented-code block (12 lines) in server/engine/index.js:13"}, "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-e6853a2d36c06373", "name": "Commented-code block (9 lines) in server/engine/astro.js:6", "shortDescription": {"text": "Commented-code block (9 lines) in server/engine/astro.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-201c4bf70d96e7b3", "name": "Commented-code block (7 lines) in server/engine/tables.js:3", "shortDescription": {"text": "Commented-code block (7 lines) in server/engine/tables.js: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-002e0425763a358f", "name": "Commented-code block (6 lines) in server/engine/validation/extract-vsop.js:48", "shortDescription": {"text": "Commented-code block (6 lines) in server/engine/validation/extract-vsop.js:48"}, "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-6580c303ba595e5f", "name": "Commented-code block (6 lines) in server/engine/validation/generate.js:13", "shortDescription": {"text": "Commented-code block (6 lines) in server/engine/validation/generate.js:13"}, "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-8e047ab7af03962f", "name": "7 env vars used in code but missing from .env.example", "shortDescription": {"text": "7 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `ADMIN_KEY`, `CORS_ORIGIN`, `ORDER_NOTIFY_EMAIL`, `PAYNOW_MOBILE`, `PUBLIC_BASE_URL`, `STRIPE_SECRET_KEY`, `STRIPE_WEBHOOK_SECRET`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/23878"}, "properties": {"repository": "acbambootree-art/BaZi", "repoUrl": "https://github.com/acbambootree-art/BaZi", "branch": "main"}, "results": [{"ruleId": "scanner-107e90fe3cac1041", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/server.js:54"}, "properties": {"repobilityId": "72b828fc11274423", "scanner": "scanner-primary", "fingerprint": "107e90fe3cac1041", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-4a0ccf1d4e226b22", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/db/init.js:30"}, "properties": {"repobilityId": "1c6682dbcbd293a5", "scanner": "scanner-primary", "fingerprint": "4a0ccf1d4e226b22", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-0d0753cbdd1c807e", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/engine/validation/extract-vsop.js:43"}, "properties": {"repobilityId": "270856d0f4a25e1f", "scanner": "scanner-primary", "fingerprint": "0d0753cbdd1c807e", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-74457480ab872bd4", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/engine/validation/generate.js:634"}, "properties": {"repobilityId": "241d776f4bde0278", "scanner": "scanner-primary", "fingerprint": "74457480ab872bd4", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-c8a27ad7c31668e1", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/services/email.js:36"}, "properties": {"repobilityId": "f8581150beb6b1ff", "scanner": "scanner-primary", "fingerprint": "c8a27ad7c31668e1", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-7d0f1c67b740d08c", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in index.html:3602"}, "properties": {"repobilityId": "f91708437a3a5445", "scanner": "scanner-primary", "fingerprint": "7d0f1c67b740d08c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index.html"}, "region": {"startLine": 3602}}}]}, {"ruleId": "scanner-81953cd43c4316c6", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in index.html:4006"}, "properties": {"repobilityId": "8f2a167064b03ceb", "scanner": "scanner-primary", "fingerprint": "81953cd43c4316c6", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index.html"}, "region": {"startLine": 4006}}}]}, {"ruleId": "scanner-edd495c2e93ca817", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in admin.html:194"}, "properties": {"repobilityId": "6ce12d2fb0d90b99", "scanner": "scanner-primary", "fingerprint": "edd495c2e93ca817", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "admin.html"}, "region": {"startLine": 194}}}]}, {"ruleId": "scanner-9da3a2c9be120a86", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in today.html:180"}, "properties": {"repobilityId": "718d1615d828bc6c", "scanner": "scanner-primary", "fingerprint": "9da3a2c9be120a86", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "today.html"}, "region": {"startLine": 180}}}]}, {"ruleId": "scanner-284ed8bdab5550e4", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in server/engine/validation/generate.js:43"}, "properties": {"repobilityId": "96ab26fc2dceea29", "scanner": "scanner-primary", "fingerprint": "284ed8bdab5550e4", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/engine/validation/generate.js"}, "region": {"startLine": 43}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"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": "741c528a04fac1b7", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-faccb9061e9b52a0", "level": "note", "message": {"text": "No README detected"}, "properties": {"repobilityId": "4f2c8cb5a49f3d52", "scanner": "scanner-primary", "fingerprint": "faccb9061e9b52a0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["docs", "readme", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "80428fad07a2ab56", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "0c58e6e7db081fe0", "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": "2c31ca928ef3a87b", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-f516d8436589aa5f", "level": "none", "message": {"text": "Commented-code block (6 lines) in server/engine/vsop87d-earth.js:3"}, "properties": {"repobilityId": "f38e69d013b0077b", "scanner": "scanner-primary", "fingerprint": "f516d8436589aa5f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-2249b7521769af17", "level": "none", "message": {"text": "Commented-code block (12 lines) in server/engine/index.js:13"}, "properties": {"repobilityId": "8cdf315a55a6447e", "scanner": "scanner-primary", "fingerprint": "2249b7521769af17", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e6853a2d36c06373", "level": "none", "message": {"text": "Commented-code block (9 lines) in server/engine/astro.js:6"}, "properties": {"repobilityId": "0ec5eb6de4e75998", "scanner": "scanner-primary", "fingerprint": "e6853a2d36c06373", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-201c4bf70d96e7b3", "level": "none", "message": {"text": "Commented-code block (7 lines) in server/engine/tables.js:3"}, "properties": {"repobilityId": "38a09c1518546244", "scanner": "scanner-primary", "fingerprint": "201c4bf70d96e7b3", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-002e0425763a358f", "level": "none", "message": {"text": "Commented-code block (6 lines) in server/engine/validation/extract-vsop.js:48"}, "properties": {"repobilityId": "130dde8ffa877084", "scanner": "scanner-primary", "fingerprint": "002e0425763a358f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-6580c303ba595e5f", "level": "none", "message": {"text": "Commented-code block (6 lines) in server/engine/validation/generate.js:13"}, "properties": {"repobilityId": "89e2ee32e235a385", "scanner": "scanner-primary", "fingerprint": "6580c303ba595e5f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8e047ab7af03962f", "level": "note", "message": {"text": "7 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "5a0455f6498c27ad", "scanner": "scanner-primary", "fingerprint": "8e047ab7af03962f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}