{"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-7ac4175fb5bfb012", "name": "Possibly dead Python function: bash", "shortDescription": {"text": "Possibly dead Python function: bash"}, "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-765cc459bf5aee71", "name": "Possibly dead Python function: decorator", "shortDescription": {"text": "Possibly dead Python function: decorator"}, "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-a7da8daf61340da4", "name": "Possibly dead Python function: command_completer", "shortDescription": {"text": "Possibly dead Python function: command_completer"}, "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-93b3fecab28e6f22", "name": "Insecure pattern 'subprocess_shell_true' in langstage_cli/cli.py:1255", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in langstage_cli/cli.py:1255"}, "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-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-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/setup-python@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3f73ee8da7826093", "name": "Very large file: langstage_cli/cli.py (1536 lines)", "shortDescription": {"text": "Very large file: langstage_cli/cli.py (1536 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 129 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-3fa3191d7c8ce067", "name": "Legacy-named symbol `my_custom_graph_v2` in tests/test_cli.py:90", "shortDescription": {"text": "Legacy-named symbol `my_custom_graph_v2` in tests/test_cli.py:90"}, "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-1465f8863f97bc75", "name": "Legacy-named symbol `test_deepagent_spec_alias_is_deprecated` in tests/test_codeconfig.py:51", "shortDescription": {"text": "Legacy-named symbol `test_deepagent_spec_alias_is_deprecated` in tests/test_codeconfig.py:51"}, "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-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:\nlangstage_cli/cli.py:run_single_turn_async, langstage_cli/cli.py:run_single_turn_sync\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/25439"}, "properties": {"repository": "dkedar7/langstage-cli", "repoUrl": "https://github.com/dkedar7/langstage-cli", "branch": "main"}, "results": [{"ruleId": "scanner-7ac4175fb5bfb012", "level": "note", "message": {"text": "Possibly dead Python function: bash"}, "properties": {"repobilityId": "eeb228e14fecf309", "scanner": "scanner-primary", "fingerprint": "7ac4175fb5bfb012", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agent.py:23"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-765cc459bf5aee71", "level": "note", "message": {"text": "Possibly dead Python function: decorator"}, "properties": {"repobilityId": "ffbcbc9bc189af1c", "scanner": "scanner-primary", "fingerprint": "765cc459bf5aee71", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "langstage_cli/cli.py:159"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a7da8daf61340da4", "level": "note", "message": {"text": "Possibly dead Python function: command_completer"}, "properties": {"repobilityId": "d0d52496fc3149eb", "scanner": "scanner-primary", "fingerprint": "a7da8daf61340da4", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "langstage_cli/cli.py:1119"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-93b3fecab28e6f22", "level": "error", "message": {"text": "Insecure pattern 'subprocess_shell_true' in langstage_cli/cli.py:1255"}, "properties": {"repobilityId": "5a4d719071008811", "scanner": "scanner-primary", "fingerprint": "93b3fecab28e6f22", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "langstage_cli/cli.py"}, "region": {"startLine": 1255}}}]}, {"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-27924aa79fa4a517", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "04f57d208548fcef", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 25}}}]}, {"ruleId": "scanner-27924aa79fa4a517", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "46bca0fa0c5a1433", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 30}}}]}, {"ruleId": "scanner-3f73ee8da7826093", "level": "note", "message": {"text": "Very large file: langstage_cli/cli.py (1536 lines)"}, "properties": {"repobilityId": "20fff66aafe43cb7", "scanner": "scanner-primary", "fingerprint": "3f73ee8da7826093", "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": "9623ca863c7ec3a4", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3fa3191d7c8ce067", "level": "note", "message": {"text": "Legacy-named symbol `my_custom_graph_v2` in tests/test_cli.py:90"}, "properties": {"repobilityId": "70a358ce830a7a8b", "scanner": "scanner-primary", "fingerprint": "3fa3191d7c8ce067", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-1465f8863f97bc75", "level": "note", "message": {"text": "Legacy-named symbol `test_deepagent_spec_alias_is_deprecated` in tests/test_codeconfig.py:51"}, "properties": {"repobilityId": "91978367d0dd3de0", "scanner": "scanner-primary", "fingerprint": "1465f8863f97bc75", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "4a428e35399d81fe", "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": "d7c5da2513c0069b", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}