{"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-dc474e1d054010b8", "name": "Possibly dead Python function: run_probe", "shortDescription": {"text": "Possibly dead Python function: run_probe"}, "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-18cb938476f1db1c", "name": "Possibly dead Python function: quiz_cmd", "shortDescription": {"text": "Possibly dead Python function: quiz_cmd"}, "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-1a114f61842e7fcc", "name": "Possibly dead Python function: start_cmd", "shortDescription": {"text": "Possibly dead Python function: start_cmd"}, "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-42c8ef468e8791cf", "name": "Possibly dead Python function: today_cmd", "shortDescription": {"text": "Possibly dead Python function: today_cmd"}, "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-c871d9c99051ba5c", "name": "Possibly dead Python function: learn_cmd", "shortDescription": {"text": "Possibly dead Python function: learn_cmd"}, "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-6b49d5a06142031f", "name": "Possibly dead Python function: help_cmd", "shortDescription": {"text": "Possibly dead Python function: help_cmd"}, "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-7090093aeb4ef91d", "name": "Possibly dead Python function: free_text", "shortDescription": {"text": "Possibly dead Python function: free_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-06df6cbf0c93b439", "name": "Possibly dead Python function: progress_cmd", "shortDescription": {"text": "Possibly dead Python function: progress_cmd"}, "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-0a9f29e9005ed787", "name": "Possibly dead Python function: roadmap_cmd", "shortDescription": {"text": "Possibly dead Python function: roadmap_cmd"}, "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-2bfae7d03b76483a", "name": "Possibly dead Python function: revision_cmd", "shortDescription": {"text": "Possibly dead Python function: revision_cmd"}, "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-e68cc5020177e35c", "name": "Possibly dead Python function: do_run_migrations", "shortDescription": {"text": "Possibly dead Python function: do_run_migrations"}, "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-fd9812ef2446a6c0", "name": "Possibly dead Python function: upgrade", "shortDescription": {"text": "Possibly dead Python function: upgrade"}, "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-eee6050121d49294", "name": "Possibly dead Python function: downgrade", "shortDescription": {"text": "Possibly dead Python function: downgrade"}, "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-de3c1f217d72a063", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.12-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.12-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "9 tests / 43 src (ratio 0.21)."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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-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: `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:\napp/agents/nodes/lesson_writer.py:generate_lesson, app/agents/nodes/quiz_master.py:generate_quiz\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/24428"}, "properties": {"repository": "Ayushjaiswal001/ai-mentor-bot", "repoUrl": "https://github.com/Ayushjaiswal001/ai-mentor-bot", "branch": "main"}, "results": [{"ruleId": "scanner-dc474e1d054010b8", "level": "note", "message": {"text": "Possibly dead Python function: run_probe"}, "properties": {"repobilityId": "59f7ffcc80b7d8da", "scanner": "scanner-primary", "fingerprint": "dc474e1d054010b8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/diagnostics.py:44"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-18cb938476f1db1c", "level": "note", "message": {"text": "Possibly dead Python function: quiz_cmd"}, "properties": {"repobilityId": "db32377ee91e5fac", "scanner": "scanner-primary", "fingerprint": "18cb938476f1db1c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/quiz.py:19"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1a114f61842e7fcc", "level": "note", "message": {"text": "Possibly dead Python function: start_cmd"}, "properties": {"repobilityId": "ba2b78a971265020", "scanner": "scanner-primary", "fingerprint": "1a114f61842e7fcc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/start.py:40"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-42c8ef468e8791cf", "level": "note", "message": {"text": "Possibly dead Python function: today_cmd"}, "properties": {"repobilityId": "38fe4abe588a36b8", "scanner": "scanner-primary", "fingerprint": "42c8ef468e8791cf", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/today.py:42"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c871d9c99051ba5c", "level": "note", "message": {"text": "Possibly dead Python function: learn_cmd"}, "properties": {"repobilityId": "4f6bd3327f429e3f", "scanner": "scanner-primary", "fingerprint": "c871d9c99051ba5c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/learn.py:30"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6b49d5a06142031f", "level": "note", "message": {"text": "Possibly dead Python function: help_cmd"}, "properties": {"repobilityId": "5d7b07e3ffad7b18", "scanner": "scanner-primary", "fingerprint": "6b49d5a06142031f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/info.py:33"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7090093aeb4ef91d", "level": "note", "message": {"text": "Possibly dead Python function: free_text"}, "properties": {"repobilityId": "77f65387678258c4", "scanner": "scanner-primary", "fingerprint": "7090093aeb4ef91d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/info.py:37"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-06df6cbf0c93b439", "level": "note", "message": {"text": "Possibly dead Python function: progress_cmd"}, "properties": {"repobilityId": "3d9898e3f5053a2e", "scanner": "scanner-primary", "fingerprint": "06df6cbf0c93b439", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/info.py:41"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0a9f29e9005ed787", "level": "note", "message": {"text": "Possibly dead Python function: roadmap_cmd"}, "properties": {"repobilityId": "26e744b990fb592e", "scanner": "scanner-primary", "fingerprint": "0a9f29e9005ed787", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/info.py:62"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2bfae7d03b76483a", "level": "note", "message": {"text": "Possibly dead Python function: revision_cmd"}, "properties": {"repobilityId": "92db1d1eb8f7fb7d", "scanner": "scanner-primary", "fingerprint": "2bfae7d03b76483a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/bot/handlers/revision.py:22"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e68cc5020177e35c", "level": "note", "message": {"text": "Possibly dead Python function: do_run_migrations"}, "properties": {"repobilityId": "087acb17722cfd2f", "scanner": "scanner-primary", "fingerprint": "e68cc5020177e35c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "alembic/env.py:31"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fd9812ef2446a6c0", "level": "note", "message": {"text": "Possibly dead Python function: upgrade"}, "properties": {"repobilityId": "cf0b8e5e6e2f8bc4", "scanner": "scanner-primary", "fingerprint": "fd9812ef2446a6c0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "alembic/versions/7fc1fa8a1239_initial_schema.py:21"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-eee6050121d49294", "level": "note", "message": {"text": "Possibly dead Python function: downgrade"}, "properties": {"repobilityId": "c03debbf11efa0c5", "scanner": "scanner-primary", "fingerprint": "eee6050121d49294", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "alembic/versions/7fc1fa8a1239_initial_schema.py:193"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-de3c1f217d72a063", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.12-slim"}, "properties": {"repobilityId": "8e073c3418eea27d", "scanner": "scanner-primary", "fingerprint": "de3c1f217d72a063", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 2}}}]}, {"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-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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "7e4a3a7ec31ee629", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "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-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "e95969debc975663", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}