{"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-febb3f2f49be1323", "name": "Insecure pattern 'direct_innerhtml_assignment' in gallery.html:227", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in gallery.html:227"}, "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-0aa455bcf595bc49", "name": "Insecure pattern 'direct_innerhtml_assignment' in app.js:265", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app.js:265"}, "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-0e8b04788124a776", "name": "Commented-code block (5 lines) in app.js:10", "shortDescription": {"text": "Commented-code block (5 lines) in app.js:10"}, "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}}]}}, "automationDetails": {"id": "repobility/27707"}, "properties": {"repository": "MasonTung/masontung.github.io", "repoUrl": "https://github.com/MasonTung/masontung.github.io", "branch": "main"}, "results": [{"ruleId": "scanner-febb3f2f49be1323", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in gallery.html:227"}, "properties": {"repobilityId": "49d5f8794f02f51f", "scanner": "scanner-primary", "fingerprint": "febb3f2f49be1323", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gallery.html"}, "region": {"startLine": 227}}}]}, {"ruleId": "scanner-0aa455bcf595bc49", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app.js:265"}, "properties": {"repobilityId": "b6b0c8b85ab66ded", "scanner": "scanner-primary", "fingerprint": "0aa455bcf595bc49", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.js"}, "region": {"startLine": 265}}}]}, {"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-0e8b04788124a776", "level": "none", "message": {"text": "Commented-code block (5 lines) in app.js:10"}, "properties": {"repobilityId": "8e6e8dc5ccd1f5c6", "scanner": "scanner-primary", "fingerprint": "0e8b04788124a776", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}