{"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-d506411d6e235c22", "name": "Possibly dead Python function: stub_embedder", "shortDescription": {"text": "Possibly dead Python function: stub_embedder"}, "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-5cfbefb377b9a26f", "name": "Possibly dead Python function: normalize_matrix", "shortDescription": {"text": "Possibly dead Python function: normalize_matrix"}, "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-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-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-a53bf972e19b52fd", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "pypa/gh-action-pypi-publish@release/v1 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": "medium", "confidence": 1.0}}, {"id": "scanner-7ffa33751be3d771", "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-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-b74455a2f7a1b4ce", "name": "Legacy-named symbol `test_list_facts_returns_deep_copy` in tests/toolsets/test_memory.py:232", "shortDescription": {"text": "Legacy-named symbol `test_list_facts_returns_deep_copy` in tests/toolsets/test_memory.py:232"}, "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-09571257212743ed", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/base.py:96", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/base.py:96"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d031181911d4f41c", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/sql.py:133", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/sql.py:133"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0d29cf8a3bff39ed", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/filesystem.py:273", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/filesystem.py:273"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-016db2db0c3de5fb", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/memory.py:353", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/memory.py:353"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8753d7727d02bfc6", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/pandas.py:133", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/pandas.py:133"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-75501a287434adc6", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/rag.py:685", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/rag.py:685"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-05b406756005034d", "name": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/system.py:162", "shortDescription": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/system.py:162"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-33a6b62e30ce7ab4", "name": "Near-duplicate function bodies in 6 places", "shortDescription": {"text": "Near-duplicate function bodies in 6 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nexamples/pandas_example.py:main, examples/rag_example.py:main, examples/system_example.py:main, examples/filesystem_example.py:main\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:\npydantic_ai_toolbox/base.py:tool, pydantic_ai_toolbox/base.py:tool, pydantic_ai_toolbox/base.py:tool\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-0027e313ade46c8f", "name": "Near-duplicate function bodies in 7 places", "shortDescription": {"text": "Near-duplicate function bodies in 7 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\npydantic_ai_toolbox/base.py:main, pydantic_ai_toolbox/toolsets/sql.py:main, pydantic_ai_toolbox/toolsets/filesystem.py:main, pydantic_ai_toolbox/toolsets/memory.py:main\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-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:\npydantic_ai_toolbox/toolsets/rag.py:to_dict, pydantic_ai_toolbox/toolsets/rag.py:to_dict\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/22479"}, "properties": {"repository": "wachawo/pydantic-ai-toolbox", "repoUrl": "https://github.com/wachawo/pydantic-ai-toolbox", "branch": "main"}, "results": [{"ruleId": "scanner-d506411d6e235c22", "level": "note", "message": {"text": "Possibly dead Python function: stub_embedder"}, "properties": {"repobilityId": "5e1ec6c15130cf5e", "scanner": "scanner-primary", "fingerprint": "d506411d6e235c22", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/rag_example.py:49"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5cfbefb377b9a26f", "level": "note", "message": {"text": "Possibly dead Python function: normalize_matrix"}, "properties": {"repobilityId": "3740e7c3ce0a45f9", "scanner": "scanner-primary", "fingerprint": "5cfbefb377b9a26f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "pydantic_ai_toolbox/toolsets/rag.py:183"}, "region": {"startLine": 1}}}]}, {"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-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-a53bf972e19b52fd", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "26eca5024249c767", "scanner": "scanner-primary", "fingerprint": "a53bf972e19b52fd", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/publish.yml"}, "region": {"startLine": 33}}}]}, {"ruleId": "scanner-7ffa33751be3d771", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "491a3ad29cbaf189", "scanner": "scanner-primary", "fingerprint": "7ffa33751be3d771", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/publish.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "22ec3af9bc76279a", "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": "d83d18646c3f1a62", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-b74455a2f7a1b4ce", "level": "note", "message": {"text": "Legacy-named symbol `test_list_facts_returns_deep_copy` in tests/toolsets/test_memory.py:232"}, "properties": {"repobilityId": "58cb09ba8d90d617", "scanner": "scanner-primary", "fingerprint": "b74455a2f7a1b4ce", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-09571257212743ed", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/base.py:96"}, "properties": {"repobilityId": "53348c6ae5f537fb", "scanner": "scanner-primary", "fingerprint": "09571257212743ed", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-d031181911d4f41c", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/sql.py:133"}, "properties": {"repobilityId": "9bfc2878b07f596e", "scanner": "scanner-primary", "fingerprint": "d031181911d4f41c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-0d29cf8a3bff39ed", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/filesystem.py:273"}, "properties": {"repobilityId": "033b86154626d8b4", "scanner": "scanner-primary", "fingerprint": "0d29cf8a3bff39ed", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-016db2db0c3de5fb", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/memory.py:353"}, "properties": {"repobilityId": "46517a33de5f096b", "scanner": "scanner-primary", "fingerprint": "016db2db0c3de5fb", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-8753d7727d02bfc6", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/pandas.py:133"}, "properties": {"repobilityId": "a10ce8d07015ff36", "scanner": "scanner-primary", "fingerprint": "8753d7727d02bfc6", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-75501a287434adc6", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/rag.py:685"}, "properties": {"repobilityId": "90b9b5510247713f", "scanner": "scanner-primary", "fingerprint": "75501a287434adc6", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-05b406756005034d", "level": "note", "message": {"text": "Stub function `main` (body is just `pass`/`return`) \u2014 pydantic_ai_toolbox/toolsets/system.py:162"}, "properties": {"repobilityId": "eda53217679ce52c", "scanner": "scanner-primary", "fingerprint": "05b406756005034d", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-33a6b62e30ce7ab4", "level": "note", "message": {"text": "Near-duplicate function bodies in 6 places"}, "properties": {"repobilityId": "ff49bcbef11abdf5", "scanner": "scanner-primary", "fingerprint": "33a6b62e30ce7ab4", "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": "7893c675505ec9ba", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-0027e313ade46c8f", "level": "note", "message": {"text": "Near-duplicate function bodies in 7 places"}, "properties": {"repobilityId": "daf6fe0c47d1afa1", "scanner": "scanner-primary", "fingerprint": "0027e313ade46c8f", "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": "d4b1abf23467113d", "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": "85687cb0c75dff30", "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": "d02cc3a9d1445ec2", "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": "585430dc62c82d14", "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": "487095ad1ca1e8ff", "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": "cc363963c4f0cca7", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}