{"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-b451626bf295b104", "name": "Possibly dead Python function: analysis_loop", "shortDescription": {"text": "Possibly dead Python function: analysis_loop"}, "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-dc67d6623d0a5c8e", "name": "Possibly dead Python function: gist_sync_loop", "shortDescription": {"text": "Possibly dead Python function: gist_sync_loop"}, "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-c78a2527f9e5b1b0", "name": "Possibly dead Python function: fast_price_loop", "shortDescription": {"text": "Possibly dead Python function: fast_price_loop"}, "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-2c6124be9214c0e5", "name": "Possibly dead Python function: fetch_loop", "shortDescription": {"text": "Possibly dead Python function: fetch_loop"}, "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-84fddb6e728a50da", "name": "Possibly dead Python function: ai_loop", "shortDescription": {"text": "Possibly dead Python function: ai_loop"}, "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-c0de4d93bbe9e689", "name": "Possibly dead Python function: upload_trade_outcome", "shortDescription": {"text": "Possibly dead Python function: upload_trade_outcome"}, "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-ed78366cd9128415", "name": "Possibly dead Python function: community_stats_loop", "shortDescription": {"text": "Possibly dead Python function: community_stats_loop"}, "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-3fbc7d8a1cb92fd8", "name": "Possibly dead Python function: key_loop", "shortDescription": {"text": "Possibly dead Python function: key_loop"}, "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-02c70b7458df6447", "name": "Possibly dead Python function: fetch_intraday_loop", "shortDescription": {"text": "Possibly dead Python function: fetch_intraday_loop"}, "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-0684083c8fba6ce0", "name": "Possibly dead Python function: save_trade_chart", "shortDescription": {"text": "Possibly dead Python function: save_trade_chart"}, "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-8d092b1c5e95e39a", "name": "Possibly dead Python function: paper_trade_loop", "shortDescription": {"text": "Possibly dead Python function: paper_trade_loop"}, "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-ce6f1ea5405122f6", "name": "Possibly dead Python function: alert_loop", "shortDescription": {"text": "Possibly dead Python function: alert_loop"}, "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-d36b568fd5fbd43c", "name": "Insecure pattern 'python_os_system' in nexus_brain.py:524", "shortDescription": {"text": "Insecure pattern 'python_os_system' in nexus_brain.py:524"}, "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-78036c2225ba2ae2", "name": "Insecure pattern 'python_os_system' in nexus.py:2731", "shortDescription": {"text": "Insecure pattern 'python_os_system' in nexus.py:2731"}, "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-6fde4193e1757d19", "name": "Very large file: nexus.py (3247 lines)", "shortDescription": {"text": "Very large file: nexus.py (3247 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 5 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-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 9 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, tests, 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-319e66a630e14977", "name": "2 env vars used in code but missing from .env.example", "shortDescription": {"text": "2 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `ANTHROPIC_API_KEY`, `PORT`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "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:\nnexus.py:nearest_row, nexus.py:nearest_row\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/28824"}, "properties": {"repository": "qnbwashere/nexus-terminal", "repoUrl": "https://github.com/qnbwashere/nexus-terminal", "branch": "main"}, "results": [{"ruleId": "scanner-b451626bf295b104", "level": "note", "message": {"text": "Possibly dead Python function: analysis_loop"}, "properties": {"repobilityId": "9c87175625835ae9", "scanner": "scanner-primary", "fingerprint": "b451626bf295b104", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus_brain.py:500"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-dc67d6623d0a5c8e", "level": "note", "message": {"text": "Possibly dead Python function: gist_sync_loop"}, "properties": {"repobilityId": "3cfd4eea870bf39a", "scanner": "scanner-primary", "fingerprint": "dc67d6623d0a5c8e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus_brain.py:514"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c78a2527f9e5b1b0", "level": "note", "message": {"text": "Possibly dead Python function: fast_price_loop"}, "properties": {"repobilityId": "a67c781a14e65c66", "scanner": "scanner-primary", "fingerprint": "c78a2527f9e5b1b0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:531"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2c6124be9214c0e5", "level": "note", "message": {"text": "Possibly dead Python function: fetch_loop"}, "properties": {"repobilityId": "d26e2430f59a8a20", "scanner": "scanner-primary", "fingerprint": "2c6124be9214c0e5", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:549"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-84fddb6e728a50da", "level": "note", "message": {"text": "Possibly dead Python function: ai_loop"}, "properties": {"repobilityId": "fc1df13af9ff84b7", "scanner": "scanner-primary", "fingerprint": "84fddb6e728a50da", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:713"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c0de4d93bbe9e689", "level": "note", "message": {"text": "Possibly dead Python function: upload_trade_outcome"}, "properties": {"repobilityId": "2db5ef86235aef3a", "scanner": "scanner-primary", "fingerprint": "c0de4d93bbe9e689", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:879"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ed78366cd9128415", "level": "note", "message": {"text": "Possibly dead Python function: community_stats_loop"}, "properties": {"repobilityId": "e1663d5749da916e", "scanner": "scanner-primary", "fingerprint": "ed78366cd9128415", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:891"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3fbc7d8a1cb92fd8", "level": "note", "message": {"text": "Possibly dead Python function: key_loop"}, "properties": {"repobilityId": "8d64bed5b7c934d9", "scanner": "scanner-primary", "fingerprint": "3fbc7d8a1cb92fd8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:1039"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-02c70b7458df6447", "level": "note", "message": {"text": "Possibly dead Python function: fetch_intraday_loop"}, "properties": {"repobilityId": "bf7961d4d74fb55f", "scanner": "scanner-primary", "fingerprint": "02c70b7458df6447", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:1868"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0684083c8fba6ce0", "level": "note", "message": {"text": "Possibly dead Python function: save_trade_chart"}, "properties": {"repobilityId": "ec2f079fc86afc2b", "scanner": "scanner-primary", "fingerprint": "0684083c8fba6ce0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:1912"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8d092b1c5e95e39a", "level": "note", "message": {"text": "Possibly dead Python function: paper_trade_loop"}, "properties": {"repobilityId": "e521e6d6172f3d49", "scanner": "scanner-primary", "fingerprint": "8d092b1c5e95e39a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:1960"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ce6f1ea5405122f6", "level": "note", "message": {"text": "Possibly dead Python function: alert_loop"}, "properties": {"repobilityId": "8f75d381eef696d3", "scanner": "scanner-primary", "fingerprint": "ce6f1ea5405122f6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py:2397"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d36b568fd5fbd43c", "level": "error", "message": {"text": "Insecure pattern 'python_os_system' in nexus_brain.py:524"}, "properties": {"repobilityId": "55fb5d80fef16ca1", "scanner": "scanner-primary", "fingerprint": "d36b568fd5fbd43c", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "python_os_system"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus_brain.py"}, "region": {"startLine": 524}}}]}, {"ruleId": "scanner-78036c2225ba2ae2", "level": "error", "message": {"text": "Insecure pattern 'python_os_system' in nexus.py:2731"}, "properties": {"repobilityId": "3986aab6720294ea", "scanner": "scanner-primary", "fingerprint": "78036c2225ba2ae2", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "python_os_system"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nexus.py"}, "region": {"startLine": 2731}}}]}, {"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-6fde4193e1757d19", "level": "note", "message": {"text": "Very large file: nexus.py (3247 lines)"}, "properties": {"repobilityId": "0fbb90ada9f04a7f", "scanner": "scanner-primary", "fingerprint": "6fde4193e1757d19", "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": "f4f27c7552eca260", "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": "1cc94601877776da", "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": "3c88ce8c70a818b4", "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": "75a9eaf7d1a82186", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-319e66a630e14977", "level": "none", "message": {"text": "2 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d838d1fc5d8231c9", "scanner": "scanner-primary", "fingerprint": "319e66a630e14977", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "9e0da6b02363c8d8", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}