{"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-5d425459594dd8a1", "name": "Stray `console.log` in TS/JS \u2014 examples/attachment-smoke.ts:36", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 examples/attachment-smoke.ts:36"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "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-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-492056d14ecef321", "name": "Very large file: src/index.ts (2261 lines)", "shortDescription": {"text": "Very large file: src/index.ts (2261 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-064a89b07268cdbb", "name": "Very large file: test/client.test.ts (2507 lines)", "shortDescription": {"text": "Very large file: test/client.test.ts (2507 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 7 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-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2e245f22a3fea0f6", "name": "Commented-code block (5 lines) in examples/attachment-smoke.ts:7", "shortDescription": {"text": "Commented-code block (5 lines) in examples/attachment-smoke.ts:7"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-41ccb78d429ebf88", "name": "Commented-code block (7 lines) in src/index.ts:119", "shortDescription": {"text": "Commented-code block (7 lines) in src/index.ts:119"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-3f9d068254cd45a5", "name": "Commented-code block (5 lines) in src/types.ts:49", "shortDescription": {"text": "Commented-code block (5 lines) in src/types.ts:49"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-251ce7b41fc98c9e", "name": "Legacy-named symbol `tool_old` in test/client.test.ts:495", "shortDescription": {"text": "Legacy-named symbol `tool_old` in test/client.test.ts:495"}, "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}}]}}, "automationDetails": {"id": "repobility/24474"}, "properties": {"repository": "baobox-ai/baobox-sdk", "repoUrl": "https://github.com/baobox-ai/baobox-sdk", "branch": "main"}, "results": [{"ruleId": "scanner-5d425459594dd8a1", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 examples/attachment-smoke.ts:36"}, "properties": {"repobilityId": "3f30c478f8197ce3", "scanner": "scanner-primary", "fingerprint": "5d425459594dd8a1", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"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-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-492056d14ecef321", "level": "note", "message": {"text": "Very large file: src/index.ts (2261 lines)"}, "properties": {"repobilityId": "25727599e08a7f66", "scanner": "scanner-primary", "fingerprint": "492056d14ecef321", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-064a89b07268cdbb", "level": "note", "message": {"text": "Very large file: test/client.test.ts (2507 lines)"}, "properties": {"repobilityId": "478368b828439ada", "scanner": "scanner-primary", "fingerprint": "064a89b07268cdbb", "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": "ad26bb7113b043bd", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "e01c873020cfdd59", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-2e245f22a3fea0f6", "level": "none", "message": {"text": "Commented-code block (5 lines) in examples/attachment-smoke.ts:7"}, "properties": {"repobilityId": "0903b98a5b6b1a18", "scanner": "scanner-primary", "fingerprint": "2e245f22a3fea0f6", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-41ccb78d429ebf88", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/index.ts:119"}, "properties": {"repobilityId": "ae65c3e100252b3d", "scanner": "scanner-primary", "fingerprint": "41ccb78d429ebf88", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3f9d068254cd45a5", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/types.ts:49"}, "properties": {"repobilityId": "90da6ea7271d901c", "scanner": "scanner-primary", "fingerprint": "3f9d068254cd45a5", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-251ce7b41fc98c9e", "level": "note", "message": {"text": "Legacy-named symbol `tool_old` in test/client.test.ts:495"}, "properties": {"repobilityId": "cf6dbb892b3ddd86", "scanner": "scanner-primary", "fingerprint": "251ce7b41fc98c9e", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}]}]}