{"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-3197aab9e261b422", "name": "Possibly dead Python function: trending_keywords_node", "shortDescription": {"text": "Possibly dead Python function: trending_keywords_node"}, "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-6af88fa0aa55a040", "name": "Possibly dead Python function: top_keywords_node", "shortDescription": {"text": "Possibly dead Python function: top_keywords_node"}, "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-df92837f36a4a9e9", "name": "Possibly dead Python function: search_keywords_node", "shortDescription": {"text": "Possibly dead Python function: search_keywords_node"}, "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-7a863696410cbc98", "name": "Possibly dead Python function: github_keywords_node", "shortDescription": {"text": "Possibly dead Python function: github_keywords_node"}, "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-edcf52a5fb917765", "name": "Possibly dead Python function: fact_checker_node", "shortDescription": {"text": "Possibly dead Python function: fact_checker_node"}, "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-a4c0b26ca3a12cae", "name": "Possibly dead Python function: summarizer_node", "shortDescription": {"text": "Possibly dead Python function: summarizer_node"}, "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-931422be715db2b0", "name": "Possibly dead Python function: editing_supervisor_node", "shortDescription": {"text": "Possibly dead Python function: editing_supervisor_node"}, "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-33f6eeabddecb01a", "name": "Dockerfile runs as root: final-project/mvp/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: final-project/mvp/Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5da532491e1f9fb7", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-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-aa5acaa49eb8315b", "name": "Containers defined but no K8s/orchestration manifest found", "shortDescription": {"text": "Containers defined but no K8s/orchestration manifest found"}, "fullDescription": {"text": "Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "1 test file(s) for 14 source file(s) (ratio 0.07). 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 14 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-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-90f3ec1e342dfb9c", "name": "Legacy-named symbol `model_copy` in 07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:64", "shortDescription": {"text": "Legacy-named symbol `model_copy` in 07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:646"}, "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-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: `OPENAI_MODEL`, `SUFLER_COLLECTION`. 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:\n07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:supervisor, 07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:supervisor\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-e71c052e4ca9342e", "name": "FastAPI POST `ask` without auth dependency \u2014 final-project/mvp/sufler/api.py:31", "shortDescription": {"text": "FastAPI POST `ask` without auth dependency \u2014 final-project/mvp/sufler/api.py:31"}, "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}}, {"id": "scanner-39689ef20817ada2", "name": "FastAPI POST `chat_completions` without auth dependency \u2014 final-project/mvp/sufler/api.py:39", "shortDescription": {"text": "FastAPI POST `chat_completions` without auth dependency \u2014 final-project/mvp/sufler/api.py:39"}, "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}}, {"id": "scanner-8e1fadad2500f063", "name": "Unused endpoint: POST /ask", "shortDescription": {"text": "Unused endpoint: POST /ask"}, "fullDescription": {"text": "`final-project/mvp/sufler/api.py` declares `POST /ask` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ff99ecd9b3a77326", "name": "Unused endpoint: POST /v1/chat/completions", "shortDescription": {"text": "Unused endpoint: POST /v1/chat/completions"}, "fullDescription": {"text": "`final-project/mvp/sufler/api.py` declares `POST /v1/chat/completions` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/23711"}, "properties": {"repository": "ZubikIT/ai-architect", "repoUrl": "https://github.com/ZubikIT/ai-architect", "branch": "main"}, "results": [{"ruleId": "scanner-3197aab9e261b422", "level": "note", "message": {"text": "Possibly dead Python function: trending_keywords_node"}, "properties": {"repobilityId": "9580bad3c134d983", "scanner": "scanner-primary", "fingerprint": "3197aab9e261b422", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:245"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6af88fa0aa55a040", "level": "note", "message": {"text": "Possibly dead Python function: top_keywords_node"}, "properties": {"repobilityId": "5e1cbd5216ec14e5", "scanner": "scanner-primary", "fingerprint": "6af88fa0aa55a040", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:289"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-df92837f36a4a9e9", "level": "note", "message": {"text": "Possibly dead Python function: search_keywords_node"}, "properties": {"repobilityId": "7707b606b6aa0dd4", "scanner": "scanner-primary", "fingerprint": "df92837f36a4a9e9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:333"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7a863696410cbc98", "level": "note", "message": {"text": "Possibly dead Python function: github_keywords_node"}, "properties": {"repobilityId": "cc577a4e5f1380b8", "scanner": "scanner-primary", "fingerprint": "7a863696410cbc98", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:376"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-edcf52a5fb917765", "level": "note", "message": {"text": "Possibly dead Python function: fact_checker_node"}, "properties": {"repobilityId": "629004a9ea6cbf72", "scanner": "scanner-primary", "fingerprint": "edcf52a5fb917765", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:459"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a4c0b26ca3a12cae", "level": "note", "message": {"text": "Possibly dead Python function: summarizer_node"}, "properties": {"repobilityId": "9e077d979c6e42a6", "scanner": "scanner-primary", "fingerprint": "a4c0b26ca3a12cae", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:511"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-931422be715db2b0", "level": "note", "message": {"text": "Possibly dead Python function: editing_supervisor_node"}, "properties": {"repobilityId": "f806d35cf77a5445", "scanner": "scanner-primary", "fingerprint": "931422be715db2b0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:550"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-33f6eeabddecb01a", "level": "warning", "message": {"text": "Dockerfile runs as root: final-project/mvp/Dockerfile"}, "properties": {"repobilityId": "b7993b746be1b579", "scanner": "scanner-primary", "fingerprint": "33f6eeabddecb01a", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-5da532491e1f9fb7", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "properties": {"repobilityId": "0118a7c6e46673f5", "scanner": "scanner-primary", "fingerprint": "5da532491e1f9fb7", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final-project/mvp/Dockerfile"}, "region": {"startLine": 3}}}]}, {"ruleId": "scanner-aa5acaa49eb8315b", "level": "note", "message": {"text": "Containers defined but no K8s/orchestration manifest found"}, "properties": {"repobilityId": "b230ea9b68736081", "scanner": "scanner-primary", "fingerprint": "aa5acaa49eb8315b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["coverage", "deployment"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"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": "7dffb1244df1240d", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "1af2c1476c694126", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "186a1016f68df536", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "28e297bf0f4e54ef", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-90f3ec1e342dfb9c", "level": "note", "message": {"text": "Legacy-named symbol `model_copy` in 07-ai-agents-i-multi-agent-systems/artifacts/lesson-07-agents-demo/utils/nodes.py:646"}, "properties": {"repobilityId": "1233f786c3b2b3ec", "scanner": "scanner-primary", "fingerprint": "90f3ec1e342dfb9c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"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": "91c70dc519e008b1", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-e71c052e4ca9342e", "level": "error", "message": {"text": "FastAPI POST `ask` without auth dependency \u2014 final-project/mvp/sufler/api.py:31"}, "properties": {"repobilityId": "c9ae6938406ddfa0", "scanner": "scanner-primary", "fingerprint": "e71c052e4ca9342e", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final-project/mvp/sufler/api.py"}, "region": {"startLine": 31}}}]}, {"ruleId": "scanner-39689ef20817ada2", "level": "error", "message": {"text": "FastAPI POST `chat_completions` without auth dependency \u2014 final-project/mvp/sufler/api.py:39"}, "properties": {"repobilityId": "fbc54c768dfb21ab", "scanner": "scanner-primary", "fingerprint": "39689ef20817ada2", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final-project/mvp/sufler/api.py"}, "region": {"startLine": 39}}}]}, {"ruleId": "scanner-8e1fadad2500f063", "level": "note", "message": {"text": "Unused endpoint: POST /ask"}, "properties": {"repobilityId": "3e6e0cccb105f265", "scanner": "scanner-primary", "fingerprint": "8e1fadad2500f063", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-ff99ecd9b3a77326", "level": "note", "message": {"text": "Unused endpoint: POST /v1/chat/completions"}, "properties": {"repobilityId": "fdfb5c7601b4ce4b", "scanner": "scanner-primary", "fingerprint": "ff99ecd9b3a77326", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}