{"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-222889249fa624bb", "name": "Possibly dead Python function: set_env_var", "shortDescription": {"text": "Possibly dead Python function: set_env_var"}, "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-abb5a74555fc8d19", "name": "Possibly dead Python function: is_commodity", "shortDescription": {"text": "Possibly dead Python function: is_commodity"}, "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-72beb7cc8beb15cc", "name": "Possibly dead Python function: is_analysis_only", "shortDescription": {"text": "Possibly dead Python function: is_analysis_only"}, "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-86ade221b46acf7f", "name": "Possibly dead Python function: is_dry_run", "shortDescription": {"text": "Possibly dead Python function: is_dry_run"}, "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-f66ac20a2e8b8928", "name": "Possibly dead Python function: load_post_mortem", "shortDescription": {"text": "Possibly dead Python function: load_post_mortem"}, "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-359d60b61ffd257e", "name": "Possibly dead Python function: background_fetch", "shortDescription": {"text": "Possibly dead Python function: background_fetch"}, "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-225aa5457c85841c", "name": "Insecure pattern 'python_os_system' in dashboard.py:113", "shortDescription": {"text": "Insecure pattern 'python_os_system' in dashboard.py:113"}, "fullDescription": {"text": "Found a known-risky pattern (python_os_system). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "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-025e4457a9d4129f", "name": "Very large file: config.py (1798 lines)", "shortDescription": {"text": "Very large file: config.py (1798 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-b33b3e61c11578fd", "name": "Very large file: dashboard.py (3539 lines)", "shortDescription": {"text": "Very large file: dashboard.py (3539 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 552 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-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 ci. 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-8c9521ed0eb401df", "name": "Commented-code block (6 lines) in config.py:104", "shortDescription": {"text": "Commented-code block (6 lines) in config.py:104"}, "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-a6629bfda2b29563", "name": "Commented-code block (5 lines) in dashboard.py:130", "shortDescription": {"text": "Commented-code block (5 lines) in dashboard.py:130"}, "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:\nbacktest_all.py:atr, backtest_all.py:supertrend\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/29666"}, "properties": {"repository": "sshirazshahid/Multi-platform-trading-bot", "repoUrl": "https://github.com/sshirazshahid/Multi-platform-trading-bot", "branch": "main"}, "results": [{"ruleId": "scanner-222889249fa624bb", "level": "note", "message": {"text": "Possibly dead Python function: set_env_var"}, "properties": {"repobilityId": "a57e637cd55487fe", "scanner": "scanner-primary", "fingerprint": "222889249fa624bb", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "bot_helper.py:130"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-abb5a74555fc8d19", "level": "note", "message": {"text": "Possibly dead Python function: is_commodity"}, "properties": {"repobilityId": "a138935ccd17b45c", "scanner": "scanner-primary", "fingerprint": "abb5a74555fc8d19", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "config.py:432"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-72beb7cc8beb15cc", "level": "note", "message": {"text": "Possibly dead Python function: is_analysis_only"}, "properties": {"repobilityId": "338ed1b9b0cea5a7", "scanner": "scanner-primary", "fingerprint": "72beb7cc8beb15cc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "config.py:466"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-86ade221b46acf7f", "level": "note", "message": {"text": "Possibly dead Python function: is_dry_run"}, "properties": {"repobilityId": "075df0cc3b0e355f", "scanner": "scanner-primary", "fingerprint": "86ade221b46acf7f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard.py:619"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f66ac20a2e8b8928", "level": "note", "message": {"text": "Possibly dead Python function: load_post_mortem"}, "properties": {"repobilityId": "d38280a67a44df74", "scanner": "scanner-primary", "fingerprint": "f66ac20a2e8b8928", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard.py:1008"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-359d60b61ffd257e", "level": "note", "message": {"text": "Possibly dead Python function: background_fetch"}, "properties": {"repobilityId": "24f5769699e6f3e2", "scanner": "scanner-primary", "fingerprint": "359d60b61ffd257e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard.py:3413"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-225aa5457c85841c", "level": "error", "message": {"text": "Insecure pattern 'python_os_system' in dashboard.py:113"}, "properties": {"repobilityId": "92bf56f34320289e", "scanner": "scanner-primary", "fingerprint": "225aa5457c85841c", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "python_os_system"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dashboard.py"}, "region": {"startLine": 113}}}]}, {"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-025e4457a9d4129f", "level": "note", "message": {"text": "Very large file: config.py (1798 lines)"}, "properties": {"repobilityId": "eb0ea9c835ca014b", "scanner": "scanner-primary", "fingerprint": "025e4457a9d4129f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-b33b3e61c11578fd", "level": "note", "message": {"text": "Very large file: dashboard.py (3539 lines)"}, "properties": {"repobilityId": "706afce5fefb1019", "scanner": "scanner-primary", "fingerprint": "b33b3e61c11578fd", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "8c57a4cabafa373f", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "48b6f7f961242b51", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-8c9521ed0eb401df", "level": "none", "message": {"text": "Commented-code block (6 lines) in config.py:104"}, "properties": {"repobilityId": "dcc3ba9e633632fe", "scanner": "scanner-primary", "fingerprint": "8c9521ed0eb401df", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a6629bfda2b29563", "level": "none", "message": {"text": "Commented-code block (5 lines) in dashboard.py:130"}, "properties": {"repobilityId": "e624198839d90ed3", "scanner": "scanner-primary", "fingerprint": "a6629bfda2b29563", "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": "38163c79ed5e8632", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}