{"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-dbf570d76be1e1fd", "name": "Possibly dead Python function: run_doctor", "shortDescription": {"text": "Possibly dead Python function: run_doctor"}, "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-564d230d24ab7b60", "name": "Possibly dead Python function: handle_chat", "shortDescription": {"text": "Possibly dead Python function: handle_chat"}, "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-2b4184af168584ee", "name": "Possibly dead Python function: work", "shortDescription": {"text": "Possibly dead Python function: work"}, "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-05e438c9159b2559", "name": "Possibly dead Python function: supports_capability", "shortDescription": {"text": "Possibly dead Python function: supports_capability"}, "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-63768575d3c24e91", "name": "Possibly dead Python function: auto_yes", "shortDescription": {"text": "Possibly dead Python function: auto_yes"}, "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-d41da52474a7a05e", "name": "Possibly dead Python function: auto_no", "shortDescription": {"text": "Possibly dead Python function: auto_no"}, "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-9c4e33757539ab40", "name": "Possibly dead Python function: to_tool_message", "shortDescription": {"text": "Possibly dead Python function: to_tool_message"}, "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-2abdd7d01f376000", "name": "Possibly dead Python function: as_str", "shortDescription": {"text": "Possibly dead Python function: as_str"}, "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-a9e89001df31ea99", "name": "Possibly dead Python function: expect_starts_with", "shortDescription": {"text": "Possibly dead Python function: expect_starts_with"}, "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-4cb6cb75111cf936", "name": "Possibly dead Python function: to_messages", "shortDescription": {"text": "Possibly dead Python function: to_messages"}, "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-c5cf0a759b9cf9bd", "name": "Possibly dead Python function: list_uris", "shortDescription": {"text": "Possibly dead Python function: list_uris"}, "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-430e3367727151ad", "name": "Possibly dead Python function: try_fetch_text", "shortDescription": {"text": "Possibly dead Python function: try_fetch_text"}, "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-0c7b1460a1d46c6f", "name": "Insecure pattern 'subprocess_shell_true' in modelbridge/agent/tools/bash_tool.py:96", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in modelbridge/agent/tools/bash_tool.py:96"}, "fullDescription": {"text": "Found a known-risky pattern (subprocess_shell_true). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-1838a141491ce38c", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-62fe7bfe5e20a208", "name": "Very large file: modelbridge/cli.py (3864 lines)", "shortDescription": {"text": "Very large file: modelbridge/cli.py (3864 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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "21 tests / 115 src (ratio 0.18)."}, "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-47d160562a7ef221", "name": "Legacy-named symbol `create_backup` in modelbridge/cli.py:160", "shortDescription": {"text": "Legacy-named symbol `create_backup` in modelbridge/cli.py:160"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e0357afcbdcbe2b6", "name": "Commented-code block (6 lines) in modelbridge/cli.py:390", "shortDescription": {"text": "Commented-code block (6 lines) in modelbridge/cli.py:390"}, "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-9a41d914ef1ab6b2", "name": "Legacy-named symbol `_migrate_v1_to_v2` in modelbridge/config.py:160", "shortDescription": {"text": "Legacy-named symbol `_migrate_v1_to_v2` in modelbridge/config.py:160"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-df68f73e4ddf937f", "name": "Commented-code block (5 lines) in modelbridge/config.py:159", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/config.py:159"}, "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-e3399ca803bbfcd8", "name": "Network/subprocess call without timeout or try/except \u2014 modelbridge/updater.py:312", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 modelbridge/updater.py:312"}, "fullDescription": {"text": "`subprocess.Popen(...)` 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}}, {"id": "scanner-06ac951e2992d20f", "name": "Commented-code block (5 lines) in modelbridge/schemas.py:78", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/schemas.py:78"}, "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-e99624583e1e3875", "name": "Commented-code block (5 lines) in modelbridge/bridge/control.py:40", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/bridge/control.py:40"}, "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-34c84df8f523c516", "name": "Commented-code block (26 lines) in modelbridge/context/windows.py:32", "shortDescription": {"text": "Commented-code block (26 lines) in modelbridge/context/windows.py:32"}, "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-71aa406aea4ee60e", "name": "Commented-code block (5 lines) in modelbridge/agent/ui.py:201", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/agent/ui.py:201"}, "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-4891dfd3df0579b4", "name": "Commented-code block (5 lines) in modelbridge/agent/loop.py:124", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/agent/loop.py:124"}, "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-6dadfceb8db6a29f", "name": "Legacy-named symbol `head_old` in modelbridge/agent/tools/file_tools.py:213", "shortDescription": {"text": "Legacy-named symbol `head_old` in modelbridge/agent/tools/file_tools.py:213"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-56bfea050e4599a2", "name": "Legacy-named symbol `create_backup` in modelbridge/editor/__init__.py:8", "shortDescription": {"text": "Legacy-named symbol `create_backup` in modelbridge/editor/__init__.py:8"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-81bb00639b83b447", "name": "Legacy-named symbol `seen_old` in modelbridge/editor/diff_parser.py:326", "shortDescription": {"text": "Legacy-named symbol `seen_old` in modelbridge/editor/diff_parser.py:326"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6dd64f58d862e3e3", "name": "Commented-code block (6 lines) in modelbridge/editor/safety.py:54", "shortDescription": {"text": "Commented-code block (6 lines) in modelbridge/editor/safety.py:54"}, "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-dcdb2b3442d46f71", "name": "Legacy-named symbol `create_backup` in modelbridge/editor/backup.py:120", "shortDescription": {"text": "Legacy-named symbol `create_backup` in modelbridge/editor/backup.py:120"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4dac39b3cb4d7748", "name": "Commented-code block (5 lines) in modelbridge/prompt/builder.py:94", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/prompt/builder.py:94"}, "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-4a9824a51664d890", "name": "Commented-code block (5 lines) in modelbridge/mcp/transport/stdio.py:35", "shortDescription": {"text": "Commented-code block (5 lines) in modelbridge/mcp/transport/stdio.py:35"}, "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:\nmodelbridge/cli.py:on_assistant_start, modelbridge/cli.py:on_assistant\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}}, {"id": "scanner-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmodelbridge/providers/base.py:chat_endpoint, modelbridge/providers/base.py:chat, modelbridge/providers/base.py:chat\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}}, {"id": "scanner-49c98f7cedd9c977", "name": "Near-duplicate function bodies in 4 places", "shortDescription": {"text": "Near-duplicate function bodies in 4 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmodelbridge/agent/tools/browser_tools.py:json_schema, modelbridge/agent/tools/browser_tools.py:json_schema, modelbridge/agent/tools/browser_tools.py:json_schema, modelbridge/agent/tools/browser_tools.py:json_schema\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}}, {"id": "scanner-46969939caf8120b", "name": "Near-duplicate function bodies in 9 places", "shortDescription": {"text": "Near-duplicate function bodies in 9 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmodelbridge/mcp/protocol/types.py:from_wire, modelbridge/mcp/protocol/types.py:from_wire, modelbridge/mcp/protocol/types.py:from_wire, modelbridge/mcp/protocol/types.py:from_wire\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/25127"}, "properties": {"repository": "CrisXie4/ModelBridge", "repoUrl": "https://github.com/CrisXie4/ModelBridge", "branch": "main"}, "results": [{"ruleId": "scanner-dbf570d76be1e1fd", "level": "note", "message": {"text": "Possibly dead Python function: run_doctor"}, "properties": {"repobilityId": "c3583365ac403dd5", "scanner": "scanner-primary", "fingerprint": "dbf570d76be1e1fd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/doctor.py:401"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-564d230d24ab7b60", "level": "note", "message": {"text": "Possibly dead Python function: handle_chat"}, "properties": {"repobilityId": "f5c83bf51171ebea", "scanner": "scanner-primary", "fingerprint": "564d230d24ab7b60", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/bridge/host.py:217"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2b4184af168584ee", "level": "note", "message": {"text": "Possibly dead Python function: work"}, "properties": {"repobilityId": "c5b0e9acf413d08f", "scanner": "scanner-primary", "fingerprint": "2b4184af168584ee", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/bridge/control.py:308"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-05e438c9159b2559", "level": "note", "message": {"text": "Possibly dead Python function: supports_capability"}, "properties": {"repobilityId": "4a458ceddf4994b6", "scanner": "scanner-primary", "fingerprint": "05e438c9159b2559", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/providers/base.py:67"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-63768575d3c24e91", "level": "note", "message": {"text": "Possibly dead Python function: auto_yes"}, "properties": {"repobilityId": "77cb3ac7aed34f14", "scanner": "scanner-primary", "fingerprint": "63768575d3c24e91", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/agent/context.py:43"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d41da52474a7a05e", "level": "note", "message": {"text": "Possibly dead Python function: auto_no"}, "properties": {"repobilityId": "c4160337794ce055", "scanner": "scanner-primary", "fingerprint": "d41da52474a7a05e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/agent/context.py:48"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9c4e33757539ab40", "level": "note", "message": {"text": "Possibly dead Python function: to_tool_message"}, "properties": {"repobilityId": "d769f31ca9ac52b1", "scanner": "scanner-primary", "fingerprint": "9c4e33757539ab40", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/agent/tools/base.py:31"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2abdd7d01f376000", "level": "note", "message": {"text": "Possibly dead Python function: as_str"}, "properties": {"repobilityId": "8833e7c8a5819b73", "scanner": "scanner-primary", "fingerprint": "2abdd7d01f376000", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/cost/estimator.py:258"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a9e89001df31ea99", "level": "note", "message": {"text": "Possibly dead Python function: expect_starts_with"}, "properties": {"repobilityId": "90e442943d514ccb", "scanner": "scanner-primary", "fingerprint": "a9e89001df31ea99", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/editor/diff_parser.py:239"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4cb6cb75111cf936", "level": "note", "message": {"text": "Possibly dead Python function: to_messages"}, "properties": {"repobilityId": "59f8b8c7db6407a6", "scanner": "scanner-primary", "fingerprint": "4cb6cb75111cf936", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/mcp/adapters/prompt_adapter.py:27"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c5cf0a759b9cf9bd", "level": "note", "message": {"text": "Possibly dead Python function: list_uris"}, "properties": {"repobilityId": "789b530882742156", "scanner": "scanner-primary", "fingerprint": "c5cf0a759b9cf9bd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/mcp/adapters/resource_provider.py:29"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-430e3367727151ad", "level": "note", "message": {"text": "Possibly dead Python function: try_fetch_text"}, "properties": {"repobilityId": "99e2c2058bf875a2", "scanner": "scanner-primary", "fingerprint": "430e3367727151ad", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/mcp/adapters/resource_provider.py:44"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0c7b1460a1d46c6f", "level": "error", "message": {"text": "Insecure pattern 'subprocess_shell_true' in modelbridge/agent/tools/bash_tool.py:96"}, "properties": {"repobilityId": "2339bd2ea5df113b", "scanner": "scanner-primary", "fingerprint": "0c7b1460a1d46c6f", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "modelbridge/agent/tools/bash_tool.py"}, "region": {"startLine": 96}}}]}, {"ruleId": "scanner-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-62fe7bfe5e20a208", "level": "note", "message": {"text": "Very large file: modelbridge/cli.py (3864 lines)"}, "properties": {"repobilityId": "31aad96816f2ebae", "scanner": "scanner-primary", "fingerprint": "62fe7bfe5e20a208", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"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-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "04d57081dd8abe02", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-47d160562a7ef221", "level": "note", "message": {"text": "Legacy-named symbol `create_backup` in modelbridge/cli.py:160"}, "properties": {"repobilityId": "26f429e9168f6020", "scanner": "scanner-primary", "fingerprint": "47d160562a7ef221", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-e0357afcbdcbe2b6", "level": "none", "message": {"text": "Commented-code block (6 lines) in modelbridge/cli.py:390"}, "properties": {"repobilityId": "a294592f95ecb266", "scanner": "scanner-primary", "fingerprint": "e0357afcbdcbe2b6", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9a41d914ef1ab6b2", "level": "note", "message": {"text": "Legacy-named symbol `_migrate_v1_to_v2` in modelbridge/config.py:160"}, "properties": {"repobilityId": "3c532920cb31f50f", "scanner": "scanner-primary", "fingerprint": "9a41d914ef1ab6b2", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-df68f73e4ddf937f", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/config.py:159"}, "properties": {"repobilityId": "5fc55883407cf5ed", "scanner": "scanner-primary", "fingerprint": "df68f73e4ddf937f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e3399ca803bbfcd8", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 modelbridge/updater.py:312"}, "properties": {"repobilityId": "2aaad55d3835a834", "scanner": "scanner-primary", "fingerprint": "e3399ca803bbfcd8", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-06ac951e2992d20f", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/schemas.py:78"}, "properties": {"repobilityId": "9cba1977772f0f8c", "scanner": "scanner-primary", "fingerprint": "06ac951e2992d20f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e99624583e1e3875", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/bridge/control.py:40"}, "properties": {"repobilityId": "fcee8505a9f73719", "scanner": "scanner-primary", "fingerprint": "e99624583e1e3875", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-34c84df8f523c516", "level": "none", "message": {"text": "Commented-code block (26 lines) in modelbridge/context/windows.py:32"}, "properties": {"repobilityId": "3d4ec639d2392ce5", "scanner": "scanner-primary", "fingerprint": "34c84df8f523c516", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-71aa406aea4ee60e", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/agent/ui.py:201"}, "properties": {"repobilityId": "7a1111e9b9aeb75c", "scanner": "scanner-primary", "fingerprint": "71aa406aea4ee60e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4891dfd3df0579b4", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/agent/loop.py:124"}, "properties": {"repobilityId": "bbf49792e60b63cb", "scanner": "scanner-primary", "fingerprint": "4891dfd3df0579b4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-6dadfceb8db6a29f", "level": "note", "message": {"text": "Legacy-named symbol `head_old` in modelbridge/agent/tools/file_tools.py:213"}, "properties": {"repobilityId": "0c859adbce3f7bc1", "scanner": "scanner-primary", "fingerprint": "6dadfceb8db6a29f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-56bfea050e4599a2", "level": "note", "message": {"text": "Legacy-named symbol `create_backup` in modelbridge/editor/__init__.py:8"}, "properties": {"repobilityId": "731874a34b6a67f3", "scanner": "scanner-primary", "fingerprint": "56bfea050e4599a2", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-81bb00639b83b447", "level": "note", "message": {"text": "Legacy-named symbol `seen_old` in modelbridge/editor/diff_parser.py:326"}, "properties": {"repobilityId": "c9637c3e73a1d921", "scanner": "scanner-primary", "fingerprint": "81bb00639b83b447", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-6dd64f58d862e3e3", "level": "none", "message": {"text": "Commented-code block (6 lines) in modelbridge/editor/safety.py:54"}, "properties": {"repobilityId": "5b8428f2e96c2c2c", "scanner": "scanner-primary", "fingerprint": "6dd64f58d862e3e3", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-dcdb2b3442d46f71", "level": "note", "message": {"text": "Legacy-named symbol `create_backup` in modelbridge/editor/backup.py:120"}, "properties": {"repobilityId": "638fa511ad8e1cdf", "scanner": "scanner-primary", "fingerprint": "dcdb2b3442d46f71", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-4dac39b3cb4d7748", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/prompt/builder.py:94"}, "properties": {"repobilityId": "71e4cdccf62a62f1", "scanner": "scanner-primary", "fingerprint": "4dac39b3cb4d7748", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4a9824a51664d890", "level": "none", "message": {"text": "Commented-code block (5 lines) in modelbridge/mcp/transport/stdio.py:35"}, "properties": {"repobilityId": "29c0ea2ae6ff162a", "scanner": "scanner-primary", "fingerprint": "4a9824a51664d890", "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": "38e35be3e982504a", "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": "0e24cc433e237849", "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": "1a92c22fb421588d", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "4e2a9e05b6042be1", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "02a0ac0ea49d9bf3", "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": "68b180884c9ccdf8", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-49c98f7cedd9c977", "level": "note", "message": {"text": "Near-duplicate function bodies in 4 places"}, "properties": {"repobilityId": "7c55834eca442444", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-49c98f7cedd9c977", "level": "note", "message": {"text": "Near-duplicate function bodies in 4 places"}, "properties": {"repobilityId": "9d28f5640c505f05", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-49c98f7cedd9c977", "level": "note", "message": {"text": "Near-duplicate function bodies in 4 places"}, "properties": {"repobilityId": "9c29bfa826c723a3", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "ad22126b60395248", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "0cb1097022592a03", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "cf0f1506b8c9c74c", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "9a096cecf184f1a2", "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": "bd1138fb2a96183d", "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": "438129680f933ba1", "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": "f76e5ff2e4898f0d", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-46969939caf8120b", "level": "note", "message": {"text": "Near-duplicate function bodies in 9 places"}, "properties": {"repobilityId": "f9e55891fe8b3fb0", "scanner": "scanner-primary", "fingerprint": "46969939caf8120b", "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": "b9df52dedad25151", "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": "4957fbc4d7528c31", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}