{"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-c3ca4ced08b4c91e", "name": "Insecure pattern 'direct_innerhtml_assignment' in dompurify.min.js:2", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in dompurify.min.js:2"}, "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-17fd71d78b0a329c", "name": "Insecure pattern 'document_write' in app.src.js:531", "shortDescription": {"text": "Insecure pattern 'document_write' in app.src.js:531"}, "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-61ced85d6a1c2096", "name": "Insecure pattern 'direct_innerhtml_assignment' in app.src.js:29", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app.src.js:29"}, "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-01352627d2b277f1", "name": "Insecure pattern 'insert_adjacent_html' in app.src.js:729", "shortDescription": {"text": "Insecure pattern 'insert_adjacent_html' in app.src.js:729"}, "fullDescription": {"text": "Found a known-risky pattern (insert_adjacent_html). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-fcbeac5e0cc73bda", "name": "Insecure pattern 'domparser_html_parse' in app.src.js:245", "shortDescription": {"text": "Insecure pattern 'domparser_html_parse' in app.src.js:245"}, "fullDescription": {"text": "Found a known-risky pattern (domparser_html_parse). 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-a5c783699905889e", "name": "Very large file: app.src.js (1159 lines)", "shortDescription": {"text": "Very large file: app.src.js (1159 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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 4 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/29455"}, "properties": {"repository": "shlomsh/open-teacher-assesment", "repoUrl": "https://github.com/shlomsh/open-teacher-assesment", "branch": "main"}, "results": [{"ruleId": "scanner-c3ca4ced08b4c91e", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in dompurify.min.js:2"}, "properties": {"repobilityId": "8cba3c7ba586bc63", "scanner": "scanner-primary", "fingerprint": "c3ca4ced08b4c91e", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "dompurify.min.js"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-17fd71d78b0a329c", "level": "note", "message": {"text": "Insecure pattern 'document_write' in app.src.js:531"}, "properties": {"repobilityId": "e9a980be238eef4a", "scanner": "scanner-primary", "fingerprint": "17fd71d78b0a329c", "layer": "security", "severity": "low", "confidence": 1.0, "tags": ["owasp", "document_write"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.src.js"}, "region": {"startLine": 531}}}]}, {"ruleId": "scanner-61ced85d6a1c2096", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app.src.js:29"}, "properties": {"repobilityId": "1dcb6cffadf17839", "scanner": "scanner-primary", "fingerprint": "61ced85d6a1c2096", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.src.js"}, "region": {"startLine": 29}}}]}, {"ruleId": "scanner-01352627d2b277f1", "level": "warning", "message": {"text": "Insecure pattern 'insert_adjacent_html' in app.src.js:729"}, "properties": {"repobilityId": "f129c9fff4b238e1", "scanner": "scanner-primary", "fingerprint": "01352627d2b277f1", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "insert_adjacent_html"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.src.js"}, "region": {"startLine": 729}}}]}, {"ruleId": "scanner-fcbeac5e0cc73bda", "level": "warning", "message": {"text": "Insecure pattern 'domparser_html_parse' in app.src.js:245"}, "properties": {"repobilityId": "f8921677215a81a9", "scanner": "scanner-primary", "fingerprint": "fcbeac5e0cc73bda", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "domparser_html_parse"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.src.js"}, "region": {"startLine": 245}}}]}, {"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-a5c783699905889e", "level": "note", "message": {"text": "Very large file: app.src.js (1159 lines)"}, "properties": {"repobilityId": "b77f01e435547a32", "scanner": "scanner-primary", "fingerprint": "a5c783699905889e", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "70050afbf75fad32", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "0640f6b7270936da", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}]}]}