{"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-902ff092396140ad", "name": "Insecure pattern 'direct_innerhtml_assignment' in app.js:787", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app.js:787"}, "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-9590357f08eecb85", "name": "Very large file: app.js (1581 lines)", "shortDescription": {"text": "Very large file: app.js (1581 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-cc62f3073a698bbe", "name": "Legacy-named symbol `fireops_scenarios_v1` in app.js:88", "shortDescription": {"text": "Legacy-named symbol `fireops_scenarios_v1` in app.js:88"}, "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/25028"}, "properties": {"repository": "cmoo92/fireops-trainer", "repoUrl": "https://github.com/cmoo92/fireops-trainer", "branch": "main"}, "results": [{"ruleId": "scanner-902ff092396140ad", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app.js:787"}, "properties": {"repobilityId": "b6b0c8b85ab66ded", "scanner": "scanner-primary", "fingerprint": "902ff092396140ad", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.js"}, "region": {"startLine": 787}}}]}, {"ruleId": "scanner-9590357f08eecb85", "level": "note", "message": {"text": "Very large file: app.js (1581 lines)"}, "properties": {"repobilityId": "aa2136e88ad2315e", "scanner": "scanner-primary", "fingerprint": "9590357f08eecb85", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-cc62f3073a698bbe", "level": "note", "message": {"text": "Legacy-named symbol `fireops_scenarios_v1` in app.js:88"}, "properties": {"repobilityId": "216dbdc4f5e01fd0", "scanner": "scanner-primary", "fingerprint": "cc62f3073a698bbe", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}]}]}