{"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-3c6be6e6e158fb41", "name": "Insecure pattern 'direct_innerhtml_assignment' in sentinel/web/app.py:233", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in sentinel/web/app.py:233"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "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-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/setup-python@v5 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": "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-9d4042d96a81a0c1", "name": "Legacy-named symbol `test_all_scanners_returns_copy` in tests/test_scanner_registry.py:23", "shortDescription": {"text": "Legacy-named symbol `test_all_scanners_returns_copy` in tests/test_scanner_registry.py:23"}, "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-63d5f1072a400f8f", "name": "Legacy-named symbol `disabled_old` in tests/test_adrecon_adapter.py:128", "shortDescription": {"text": "Legacy-named symbol `disabled_old` in tests/test_adrecon_adapter.py:128"}, "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-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:\nsentinel/adapters/secrets.py:scan, sentinel/adapters/loot.py:scan\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-1edbc510fc3490a8", "name": "FastAPI POST `run_scan` without auth dependency \u2014 sentinel/web/app.py:87", "shortDescription": {"text": "FastAPI POST `run_scan` without auth dependency \u2014 sentinel/web/app.py:87"}, "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/24446"}, "properties": {"repository": "B0bTheSkull/sentinel", "repoUrl": "https://github.com/B0bTheSkull/sentinel", "branch": "main"}, "results": [{"ruleId": "scanner-3c6be6e6e158fb41", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in sentinel/web/app.py:233"}, "properties": {"repobilityId": "cbeb87c6cd7c97f2", "scanner": "scanner-primary", "fingerprint": "3c6be6e6e158fb41", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sentinel/web/app.py"}, "region": {"startLine": 233}}}]}, {"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-27924aa79fa4a517", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "04f57d208548fcef", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 17}}}]}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "0dab953af9b25d2a", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-9d4042d96a81a0c1", "level": "note", "message": {"text": "Legacy-named symbol `test_all_scanners_returns_copy` in tests/test_scanner_registry.py:23"}, "properties": {"repobilityId": "b135ba169635bf20", "scanner": "scanner-primary", "fingerprint": "9d4042d96a81a0c1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-63d5f1072a400f8f", "level": "note", "message": {"text": "Legacy-named symbol `disabled_old` in tests/test_adrecon_adapter.py:128"}, "properties": {"repobilityId": "4b9ca2cc9fd31d52", "scanner": "scanner-primary", "fingerprint": "63d5f1072a400f8f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "f562b6955df12c6c", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-1edbc510fc3490a8", "level": "error", "message": {"text": "FastAPI POST `run_scan` without auth dependency \u2014 sentinel/web/app.py:87"}, "properties": {"repobilityId": "f647495c58f9a363", "scanner": "scanner-primary", "fingerprint": "1edbc510fc3490a8", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sentinel/web/app.py"}, "region": {"startLine": 87}}}]}]}]}