{"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-e1d0349e2687804f", "name": "Possibly dead Python function: sort_key", "shortDescription": {"text": "Possibly dead Python function: sort_key"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-fc583ea6f97f810e", "name": "Possibly dead Python function: wiki_repl", "shortDescription": {"text": "Possibly dead Python function: wiki_repl"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f01d3a8df12bf661", "name": "Possibly dead Python function: md_link_repl", "shortDescription": {"text": "Possibly dead Python function: md_link_repl"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d17e1b67b8bf6d24", "name": "Possibly dead Python function: repl", "shortDescription": {"text": "Possibly dead Python function: repl"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6d434ef94dfa8665", "name": "Possibly dead Python function: is_answer_heading", "shortDescription": {"text": "Possibly dead Python function: is_answer_heading"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-7be68f89a3607e28", "name": "Possibly dead Python function: replace_href", "shortDescription": {"text": "Possibly dead Python function: replace_href"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-80741a92136f17a8", "name": "Possibly dead Python function: replace_code", "shortDescription": {"text": "Possibly dead Python function: replace_code"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-05eef6ebb1bf9a66", "name": "Stray `console.log` in TS/JS \u2014 debug_card_click.js:9", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 debug_card_click.js:9"}, "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-4dbf70d8259c415a", "name": "Stray `console.log` in TS/JS \u2014 test_performance.js:10", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 test_performance.js:10"}, "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-5bceb78981e7f142", "name": "Stray `console.log` in TS/JS \u2014 debug_rendering.js:18", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 debug_rendering.js:18"}, "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-11cdc05859d9c7b9", "name": "Stray `console.log` in TS/JS \u2014 browser_check.js:10", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 browser_check.js:10"}, "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-f5c5fa9f2966388d", "name": "Stray `console.log` in TS/JS \u2014 final_test.js:25", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 final_test.js:25"}, "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-43d02f37ac5e960b", "name": "Insecure pattern 'direct_innerhtml_assignment' in build_site.mjs:2511", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in build_site.mjs:2511"}, "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-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-51a031f1c7401882", "name": "Very large file: build_html_site.py (1611 lines)", "shortDescription": {"text": "Very large file: build_html_site.py (1611 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-017955c6da9af351", "name": "Very large file: build_site.mjs (2846 lines)", "shortDescription": {"text": "Very large file: build_site.mjs (2846 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-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 55 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, 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-3d6f7756f0d003a9", "name": "Commented-code block (7 lines) in _verify_site.mjs:1", "shortDescription": {"text": "Commented-code block (7 lines) in _verify_site.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-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbuild_html_site.py:build_lookup, build_html_site.py:build\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/25807"}, "properties": {"repository": "Faust7777777/ML-HTML-NOTES", "repoUrl": "https://github.com/Faust7777777/ML-HTML-NOTES", "branch": "main"}, "results": [{"ruleId": "scanner-e1d0349e2687804f", "level": "note", "message": {"text": "Possibly dead Python function: sort_key"}, "properties": {"repobilityId": "ac2a4181eae38738", "scanner": "scanner-primary", "fingerprint": "e1d0349e2687804f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_html_site.py:93"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fc583ea6f97f810e", "level": "note", "message": {"text": "Possibly dead Python function: wiki_repl"}, "properties": {"repobilityId": "2af289984bd780ff", "scanner": "scanner-primary", "fingerprint": "fc583ea6f97f810e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_html_site.py:215"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f01d3a8df12bf661", "level": "note", "message": {"text": "Possibly dead Python function: md_link_repl"}, "properties": {"repobilityId": "235983bfd477ee2c", "scanner": "scanner-primary", "fingerprint": "f01d3a8df12bf661", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_html_site.py:247"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d17e1b67b8bf6d24", "level": "note", "message": {"text": "Possibly dead Python function: repl"}, "properties": {"repobilityId": "6f5d3779bbb8be8b", "scanner": "scanner-primary", "fingerprint": "d17e1b67b8bf6d24", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_html_site.py:310"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6d434ef94dfa8665", "level": "note", "message": {"text": "Possibly dead Python function: is_answer_heading"}, "properties": {"repobilityId": "d2f43269055c09f0", "scanner": "scanner-primary", "fingerprint": "6d434ef94dfa8665", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_html_site.py:317"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7be68f89a3607e28", "level": "note", "message": {"text": "Possibly dead Python function: replace_href"}, "properties": {"repobilityId": "7982c5ff591646b6", "scanner": "scanner-primary", "fingerprint": "7be68f89a3607e28", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_html_site.py:1506"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-80741a92136f17a8", "level": "note", "message": {"text": "Possibly dead Python function: replace_code"}, "properties": {"repobilityId": "e613ba2c38271737", "scanner": "scanner-primary", "fingerprint": "80741a92136f17a8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "convert_to_html.py:31"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-05eef6ebb1bf9a66", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 debug_card_click.js:9"}, "properties": {"repobilityId": "bcff6d82b2a48d93", "scanner": "scanner-primary", "fingerprint": "05eef6ebb1bf9a66", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-4dbf70d8259c415a", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 test_performance.js:10"}, "properties": {"repobilityId": "9518b4ffcd0f18c8", "scanner": "scanner-primary", "fingerprint": "4dbf70d8259c415a", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-5bceb78981e7f142", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 debug_rendering.js:18"}, "properties": {"repobilityId": "845abb559a6700ae", "scanner": "scanner-primary", "fingerprint": "5bceb78981e7f142", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-11cdc05859d9c7b9", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 browser_check.js:10"}, "properties": {"repobilityId": "6414079762f78b78", "scanner": "scanner-primary", "fingerprint": "11cdc05859d9c7b9", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-f5c5fa9f2966388d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 final_test.js:25"}, "properties": {"repobilityId": "114e2054ef8b61ff", "scanner": "scanner-primary", "fingerprint": "f5c5fa9f2966388d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-43d02f37ac5e960b", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in build_site.mjs:2511"}, "properties": {"repobilityId": "8bf7026b2f049225", "scanner": "scanner-primary", "fingerprint": "43d02f37ac5e960b", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "build_site.mjs"}, "region": {"startLine": 2511}}}]}, {"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-51a031f1c7401882", "level": "note", "message": {"text": "Very large file: build_html_site.py (1611 lines)"}, "properties": {"repobilityId": "5143d4bdc8ecb525", "scanner": "scanner-primary", "fingerprint": "51a031f1c7401882", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-017955c6da9af351", "level": "note", "message": {"text": "Very large file: build_site.mjs (2846 lines)"}, "properties": {"repobilityId": "fbde8aff81edf6a9", "scanner": "scanner-primary", "fingerprint": "017955c6da9af351", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "2f5b3c7b8abd58e0", "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": "a6f00c38b1933b86", "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": "cfbfc1ce4ce78091", "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": "1eaf6e450e37a89e", "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": "815a5ad292e2ab3a", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3d6f7756f0d003a9", "level": "none", "message": {"text": "Commented-code block (7 lines) in _verify_site.mjs:1"}, "properties": {"repobilityId": "1af349bc2b79401e", "scanner": "scanner-primary", "fingerprint": "3d6f7756f0d003a9", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "cd098f3e00af3a47", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "5f17cc5bc6075d2d", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "6c7530e411e51f0f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}