{"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-d318241d95b56b40", "name": "Possible secret in index.html", "shortDescription": {"text": "Possible secret in index.html"}, "fullDescription": {"text": "Detected pattern matching generic_api_key. Rotate the credential and move to a secret manager."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "critical", "confidence": 1.0}}, {"id": "scanner-631cb59893714e56", "name": "Insecure pattern 'document_write' in index.html:1491", "shortDescription": {"text": "Insecure pattern 'document_write' in index.html:1491"}, "fullDescription": {"text": "Found a known-risky pattern (document_write). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e3555c30eff8486c", "name": "Insecure pattern 'direct_innerhtml_assignment' in index.html:529", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in index.html:529"}, "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}}]}}, "automationDetails": {"id": "repobility/28674"}, "properties": {"repository": "pingking0220/award-seating", "repoUrl": "https://github.com/pingking0220/award-seating", "branch": "main"}, "results": [{"ruleId": "scanner-d318241d95b56b40", "level": "error", "message": {"text": "Possible secret in index.html"}, "properties": {"repobilityId": "9ac6c36e9484259a", "scanner": "scanner-primary", "fingerprint": "d318241d95b56b40", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index.html"}, "region": {"startLine": 361}}}]}, {"ruleId": "scanner-631cb59893714e56", "level": "note", "message": {"text": "Insecure pattern 'document_write' in index.html:1491"}, "properties": {"repobilityId": "2884396940812c43", "scanner": "scanner-primary", "fingerprint": "631cb59893714e56", "layer": "security", "severity": "low", "confidence": 1.0, "tags": ["owasp", "document_write"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index.html"}, "region": {"startLine": 1491}}}]}, {"ruleId": "scanner-e3555c30eff8486c", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in index.html:529"}, "properties": {"repobilityId": "f91708437a3a5445", "scanner": "scanner-primary", "fingerprint": "e3555c30eff8486c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "index.html"}, "region": {"startLine": 529}}}]}]}]}