{"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-4f73d6d87e9faa58", "name": "Stray `console.log` in TS/JS \u2014 server.js:84", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server.js:84"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4da4400b1661d1aa", "name": "Insecure pattern 'direct_innerhtml_assignment' in test_export.mjs:221", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in test_export.mjs:221"}, "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-25bf7f05020f7500", "name": "Insecure pattern 'direct_innerhtml_assignment' in test_latex_ipynb.mjs:98", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in test_latex_ipynb.mjs:98"}, "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-f3d40ebfff692c8c", "name": "Insecure pattern 'cors_wildcard' in server.js:50", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in server.js:50"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-bd5f446835c45b6b", "name": "Insecure pattern 'exec_used' in test_find.mjs:73", "shortDescription": {"text": "Insecure pattern 'exec_used' in test_find.mjs:73"}, "fullDescription": {"text": "Found a known-risky pattern (exec_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-118658c1d6cc4dd5", "name": "Insecure pattern 'exec_used' in test_find_simple.mjs:62", "shortDescription": {"text": "Insecure pattern 'exec_used' in test_find_simple.mjs:62"}, "fullDescription": {"text": "Found a known-risky pattern (exec_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 61 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9928947a6832f578", "name": "Legacy-named symbol `test_pkg_v2` in test_js_kernel.mjs:173", "shortDescription": {"text": "Legacy-named symbol `test_pkg_v2` in test_js_kernel.mjs:173"}, "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-c384b2df668759d4", "name": "`fetch()` without try/.catch or AbortSignal \u2014 test_browse_catalog.mjs:136", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test_browse_catalog.mjs:136"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-fd4d27f4f5b55e47", "name": "Legacy-named symbol `executePythonLegacy` in test_plotting.mjs:109", "shortDescription": {"text": "Legacy-named symbol `executePythonLegacy` in test_plotting.mjs:109"}, "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-beb201c2c029da32", "name": "Legacy-named symbol `test_pkg_v2` in test_pkg_v2.mjs:52", "shortDescription": {"text": "Legacy-named symbol `test_pkg_v2` in test_pkg_v2.mjs:52"}, "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/29207"}, "properties": {"repository": "s243a/SciREPL", "repoUrl": "https://github.com/s243a/SciREPL", "branch": "main"}, "results": [{"ruleId": "scanner-4f73d6d87e9faa58", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server.js:84"}, "properties": {"repobilityId": "a9deebb5fdc93edc", "scanner": "scanner-primary", "fingerprint": "4f73d6d87e9faa58", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-4da4400b1661d1aa", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in test_export.mjs:221"}, "properties": {"repobilityId": "b3a31594b281592a", "scanner": "scanner-primary", "fingerprint": "4da4400b1661d1aa", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "test_export.mjs"}, "region": {"startLine": 221}}}]}, {"ruleId": "scanner-25bf7f05020f7500", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in test_latex_ipynb.mjs:98"}, "properties": {"repobilityId": "ca174ff4b69a9a2a", "scanner": "scanner-primary", "fingerprint": "25bf7f05020f7500", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "test_latex_ipynb.mjs"}, "region": {"startLine": 98}}}]}, {"ruleId": "scanner-f3d40ebfff692c8c", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in server.js:50"}, "properties": {"repobilityId": "0d9bca6c0839725e", "scanner": "scanner-primary", "fingerprint": "f3d40ebfff692c8c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server.js"}, "region": {"startLine": 50}}}]}, {"ruleId": "scanner-bd5f446835c45b6b", "level": "error", "message": {"text": "Insecure pattern 'exec_used' in test_find.mjs:73"}, "properties": {"repobilityId": "83d939894e521fde", "scanner": "scanner-primary", "fingerprint": "bd5f446835c45b6b", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "exec_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "test_find.mjs"}, "region": {"startLine": 73}}}]}, {"ruleId": "scanner-118658c1d6cc4dd5", "level": "error", "message": {"text": "Insecure pattern 'exec_used' in test_find_simple.mjs:62"}, "properties": {"repobilityId": "ef632a0c38a0321a", "scanner": "scanner-primary", "fingerprint": "118658c1d6cc4dd5", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "exec_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "test_find_simple.mjs"}, "region": {"startLine": 62}}}]}, {"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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "c6e77b8278768afc", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-9928947a6832f578", "level": "note", "message": {"text": "Legacy-named symbol `test_pkg_v2` in test_js_kernel.mjs:173"}, "properties": {"repobilityId": "a6abfc8bae603969", "scanner": "scanner-primary", "fingerprint": "9928947a6832f578", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-c384b2df668759d4", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test_browse_catalog.mjs:136"}, "properties": {"repobilityId": "738b33a1edf1afba", "scanner": "scanner-primary", "fingerprint": "c384b2df668759d4", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-fd4d27f4f5b55e47", "level": "note", "message": {"text": "Legacy-named symbol `executePythonLegacy` in test_plotting.mjs:109"}, "properties": {"repobilityId": "5c87bc29fd4b50ac", "scanner": "scanner-primary", "fingerprint": "fd4d27f4f5b55e47", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-beb201c2c029da32", "level": "note", "message": {"text": "Legacy-named symbol `test_pkg_v2` in test_pkg_v2.mjs:52"}, "properties": {"repobilityId": "5de698b8e4d086dd", "scanner": "scanner-primary", "fingerprint": "beb201c2c029da32", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}]}]}