{"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-926fafb14a51c5d8", "name": "Possibly dead Python function: cmd_init", "shortDescription": {"text": "Possibly dead Python function: cmd_init"}, "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-d953b045e4d741ff", "name": "Possibly dead Python function: cmd_bootstrap", "shortDescription": {"text": "Possibly dead Python function: cmd_bootstrap"}, "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-509aa210f9226a69", "name": "Possibly dead Python function: cmd_precheck", "shortDescription": {"text": "Possibly dead Python function: cmd_precheck"}, "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-b4de31e677da6a52", "name": "Possibly dead Python function: cmd_audit", "shortDescription": {"text": "Possibly dead Python function: cmd_audit"}, "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-8d3abb3e5a3014f3", "name": "Possibly dead Python function: cmd_index", "shortDescription": {"text": "Possibly dead Python function: cmd_index"}, "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-f8618a5e2ba1f7ff", "name": "Possibly dead Python function: cmd_sector_report", "shortDescription": {"text": "Possibly dead Python function: cmd_sector_report"}, "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-43c48161ad04a8da", "name": "Possibly dead Python function: cmd_status", "shortDescription": {"text": "Possibly dead Python function: cmd_status"}, "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-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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 12 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-6eddfd1708b654e3", "name": "Network/subprocess call without timeout or try/except \u2014 anamnesis.py:45", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 anamnesis.py:45"}, "fullDescription": {"text": "`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/30632"}, "properties": {"repository": "YYWang316/stack-anamnesis", "repoUrl": "https://github.com/YYWang316/stack-anamnesis", "branch": "main"}, "results": [{"ruleId": "scanner-926fafb14a51c5d8", "level": "note", "message": {"text": "Possibly dead Python function: cmd_init"}, "properties": {"repobilityId": "3f17b7245a36f920", "scanner": "scanner-primary", "fingerprint": "926fafb14a51c5d8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:53"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d953b045e4d741ff", "level": "note", "message": {"text": "Possibly dead Python function: cmd_bootstrap"}, "properties": {"repobilityId": "0d8c48f8d4718bff", "scanner": "scanner-primary", "fingerprint": "d953b045e4d741ff", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:61"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-509aa210f9226a69", "level": "note", "message": {"text": "Possibly dead Python function: cmd_precheck"}, "properties": {"repobilityId": "49a299f9a118a545", "scanner": "scanner-primary", "fingerprint": "509aa210f9226a69", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:88"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b4de31e677da6a52", "level": "note", "message": {"text": "Possibly dead Python function: cmd_audit"}, "properties": {"repobilityId": "51ac11579de8cd34", "scanner": "scanner-primary", "fingerprint": "b4de31e677da6a52", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:106"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8d3abb3e5a3014f3", "level": "note", "message": {"text": "Possibly dead Python function: cmd_index"}, "properties": {"repobilityId": "5fe566feb113dc8d", "scanner": "scanner-primary", "fingerprint": "8d3abb3e5a3014f3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:134"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f8618a5e2ba1f7ff", "level": "note", "message": {"text": "Possibly dead Python function: cmd_sector_report"}, "properties": {"repobilityId": "4b8e6b14a7441a84", "scanner": "scanner-primary", "fingerprint": "f8618a5e2ba1f7ff", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:145"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-43c48161ad04a8da", "level": "note", "message": {"text": "Possibly dead Python function: cmd_status"}, "properties": {"repobilityId": "244b91f3ae7622bf", "scanner": "scanner-primary", "fingerprint": "43c48161ad04a8da", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "anamnesis.py:159"}, "region": {"startLine": 1}}}]}, {"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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "c014ee6abd5ecefd", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-6eddfd1708b654e3", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 anamnesis.py:45"}, "properties": {"repobilityId": "7ac8137d40492002", "scanner": "scanner-primary", "fingerprint": "6eddfd1708b654e3", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}