{"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-a65753fcda01da21", "name": "Possibly dead Python function: cmd_check", "shortDescription": {"text": "Possibly dead Python function: cmd_check"}, "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-88a4ca4980ec9ced", "name": "Possibly dead Python function: cmd_introspect", "shortDescription": {"text": "Possibly dead Python function: cmd_introspect"}, "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-374d24399d2fca7a", "name": "Possibly dead Python function: cmd_ask", "shortDescription": {"text": "Possibly dead Python function: cmd_ask"}, "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-14e0d3c7ae5a0a0b", "name": "Possibly dead Python function: cmd_serve", "shortDescription": {"text": "Possibly dead Python function: cmd_serve"}, "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-786e663b1f0d4e2c", "name": "Possibly dead Python function: source", "shortDescription": {"text": "Possibly dead Python function: source"}, "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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 13 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 17 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: ci, tests. 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": "low", "confidence": 1.0}}, {"id": "scanner-1b5a76780c3df9aa", "name": "1 env vars used in code but missing from .env.example", "shortDescription": {"text": "1 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `QUERION_CONFIG`. 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-583c44e173f0b0ca", "name": "FastAPI POST `ask` without auth dependency \u2014 querion/server.py:80", "shortDescription": {"text": "FastAPI POST `ask` without auth dependency \u2014 querion/server.py:80"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/24217"}, "properties": {"repository": "anishfyi/querion", "repoUrl": "https://github.com/anishfyi/querion", "branch": "main"}, "results": [{"ruleId": "scanner-a65753fcda01da21", "level": "note", "message": {"text": "Possibly dead Python function: cmd_check"}, "properties": {"repobilityId": "fea974108d10c36c", "scanner": "scanner-primary", "fingerprint": "a65753fcda01da21", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "querion/cli.py:31"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-88a4ca4980ec9ced", "level": "note", "message": {"text": "Possibly dead Python function: cmd_introspect"}, "properties": {"repobilityId": "7e1b54eab06e1292", "scanner": "scanner-primary", "fingerprint": "88a4ca4980ec9ced", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "querion/cli.py:48"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-374d24399d2fca7a", "level": "note", "message": {"text": "Possibly dead Python function: cmd_ask"}, "properties": {"repobilityId": "3bc3b0468a975c91", "scanner": "scanner-primary", "fingerprint": "374d24399d2fca7a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "querion/cli.py:65"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-14e0d3c7ae5a0a0b", "level": "note", "message": {"text": "Possibly dead Python function: cmd_serve"}, "properties": {"repobilityId": "2868ee8afb424355", "scanner": "scanner-primary", "fingerprint": "14e0d3c7ae5a0a0b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "querion/cli.py:86"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-786e663b1f0d4e2c", "level": "note", "message": {"text": "Possibly dead Python function: source"}, "properties": {"repobilityId": "c431f0d473314023", "scanner": "scanner-primary", "fingerprint": "786e663b1f0d4e2c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "querion/config.py:122"}, "region": {"startLine": 1}}}]}, {"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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "367aae4798eb63d3", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "1f0a58d10f96650d", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-1b5a76780c3df9aa", "level": "none", "message": {"text": "1 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d04379b337b44a15", "scanner": "scanner-primary", "fingerprint": "1b5a76780c3df9aa", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-583c44e173f0b0ca", "level": "error", "message": {"text": "FastAPI POST `ask` without auth dependency \u2014 querion/server.py:80"}, "properties": {"repobilityId": "c763131edb4528fc", "scanner": "scanner-primary", "fingerprint": "583c44e173f0b0ca", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "querion/server.py"}, "region": {"startLine": 80}}}]}]}]}