{"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-e2b04492589af9f5", "name": "Possibly dead Python function: runner", "shortDescription": {"text": "Possibly dead Python function: runner"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ec447d5d224f7ce3", "name": "Stray `console.log` in TS/JS \u2014 server/index.ts:59", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/index.ts:59"}, "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-3c5a34147e8dde4c", "name": "Insecure pattern 'cors_wildcard' in server/app.ts:14", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in server/app.ts:14"}, "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-65455c5abe136d92", "name": "Insecure pattern 'node_child_process' in server/adapters/hermes-worker.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in server/adapters/hermes-worker.ts:1"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5476381efef87ccc", "name": "Very large file: server/workers/hermes_worker.py (1541 lines)", "shortDescription": {"text": "Very large file: server/workers/hermes_worker.py (1541 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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "4 tests / 25 src (ratio 0.16)."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2679282aa1c484b5", "name": "Agent authority lacks a verifier contract: AGENTS.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: AGENTS.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e725d2ab884fbd49", "name": "Multiple root agent instruction files without precedence", "shortDescription": {"text": "Multiple root agent instruction files without precedence"}, "fullDescription": {"text": "The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-94010ab8902793f0", "name": "Commented-code block (6 lines) in server/sse.ts:13", "shortDescription": {"text": "Commented-code block (6 lines) in server/sse.ts:13"}, "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}}, {"id": "scanner-6cdf252be8502deb", "name": "`fetch()` without try/.catch or AbortSignal \u2014 server/adapters/openclaw-adapter.ts:195", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 server/adapters/openclaw-adapter.ts:195"}, "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-625794e8019fb9df", "name": "Commented-code block (5 lines) in server/routes/responses.ts:24", "shortDescription": {"text": "Commented-code block (5 lines) in server/routes/responses.ts:24"}, "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}}, {"id": "scanner-9201f0067d891fe7", "name": "`fetch()` without try/.catch or AbortSignal \u2014 test/test-helpers.ts:112", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/test-helpers.ts:112"}, "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-622eae4b0583e401", "name": "Commented-code block (5 lines) in test/nonstream-heartbeat.integration.test.ts:5", "shortDescription": {"text": "Commented-code block (5 lines) in test/nonstream-heartbeat.integration.test.ts:5"}, "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}}, {"id": "scanner-7fed86e1f81f5200", "name": "`fetch()` without try/.catch or AbortSignal \u2014 test/gateway.integration.test.ts:61", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/gateway.integration.test.ts:61"}, "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-73fd1c471949c5b0", "name": "`fetch()` without try/.catch or AbortSignal \u2014 test/provider-failure.integration.test.ts:93", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/provider-failure.integration.test.ts:93"}, "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-2eafc3188c36bb02", "name": "3 env vars used in code but missing from .env.example", "shortDescription": {"text": "3 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `GATEWAY_NONSTREAM_HEARTBEAT_MS`, `NODE_ENV`, `OPENCLAW_BASE_URL`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/23940"}, "properties": {"repository": "agent37-platform/gateway", "repoUrl": "https://github.com/agent37-platform/gateway", "branch": "main"}, "results": [{"ruleId": "scanner-e2b04492589af9f5", "level": "note", "message": {"text": "Possibly dead Python function: runner"}, "properties": {"repobilityId": "b45a8bd7c8362977", "scanner": "scanner-primary", "fingerprint": "e2b04492589af9f5", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/workers/hermes_worker.py:1388"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ec447d5d224f7ce3", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/index.ts:59"}, "properties": {"repobilityId": "b4961a877930fd2f", "scanner": "scanner-primary", "fingerprint": "ec447d5d224f7ce3", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-3c5a34147e8dde4c", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in server/app.ts:14"}, "properties": {"repobilityId": "c78c4fd2c30cf7d9", "scanner": "scanner-primary", "fingerprint": "3c5a34147e8dde4c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/app.ts"}, "region": {"startLine": 14}}}]}, {"ruleId": "scanner-65455c5abe136d92", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in server/adapters/hermes-worker.ts:1"}, "properties": {"repobilityId": "286c481c18db61d1", "scanner": "scanner-primary", "fingerprint": "65455c5abe136d92", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/adapters/hermes-worker.ts"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-5476381efef87ccc", "level": "note", "message": {"text": "Very large file: server/workers/hermes_worker.py (1541 lines)"}, "properties": {"repobilityId": "22d0d3b955bbd20f", "scanner": "scanner-primary", "fingerprint": "5476381efef87ccc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "2336c501a66cb5e2", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2679282aa1c484b5", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: AGENTS.md"}, "properties": {"repobilityId": "27d579812e6be614", "scanner": "scanner-primary", "fingerprint": "2679282aa1c484b5", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "agents_md"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "AGENTS.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e725d2ab884fbd49", "level": "note", "message": {"text": "Multiple root agent instruction files without precedence"}, "properties": {"repobilityId": "1953db6c89508d22", "scanner": "scanner-primary", "fingerprint": "e725d2ab884fbd49", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["agent-instructions", "governance"]}}, {"ruleId": "scanner-94010ab8902793f0", "level": "none", "message": {"text": "Commented-code block (6 lines) in server/sse.ts:13"}, "properties": {"repobilityId": "f7e16ff367a65687", "scanner": "scanner-primary", "fingerprint": "94010ab8902793f0", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-6cdf252be8502deb", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 server/adapters/openclaw-adapter.ts:195"}, "properties": {"repobilityId": "a6826f46a0c39faf", "scanner": "scanner-primary", "fingerprint": "6cdf252be8502deb", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-625794e8019fb9df", "level": "none", "message": {"text": "Commented-code block (5 lines) in server/routes/responses.ts:24"}, "properties": {"repobilityId": "0729868ccd641800", "scanner": "scanner-primary", "fingerprint": "625794e8019fb9df", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9201f0067d891fe7", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/test-helpers.ts:112"}, "properties": {"repobilityId": "2cedb9ac11f36ac8", "scanner": "scanner-primary", "fingerprint": "9201f0067d891fe7", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-622eae4b0583e401", "level": "none", "message": {"text": "Commented-code block (5 lines) in test/nonstream-heartbeat.integration.test.ts:5"}, "properties": {"repobilityId": "3b3f5ef2e76359a4", "scanner": "scanner-primary", "fingerprint": "622eae4b0583e401", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-7fed86e1f81f5200", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/gateway.integration.test.ts:61"}, "properties": {"repobilityId": "51b3c66af4dbebab", "scanner": "scanner-primary", "fingerprint": "7fed86e1f81f5200", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-73fd1c471949c5b0", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/provider-failure.integration.test.ts:93"}, "properties": {"repobilityId": "58e86807e5a74819", "scanner": "scanner-primary", "fingerprint": "73fd1c471949c5b0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-2eafc3188c36bb02", "level": "none", "message": {"text": "3 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "bd934ba112b02ffa", "scanner": "scanner-primary", "fingerprint": "2eafc3188c36bb02", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}