{"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-3898196fc29dc80b", "name": "Possibly dead Python function: generate_launch_description", "shortDescription": {"text": "Possibly dead Python function: generate_launch_description"}, "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-dbd29dddbf8b90bc", "name": "Stray `console.log` in TS/JS \u2014 auth-server/src/index.ts:32", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 auth-server/src/index.ts:32"}, "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-7b9cbef445d6811f", "name": "Stray `console.log` in TS/JS \u2014 auth-server/src/app.ts:116", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 auth-server/src/app.ts:116"}, "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-e43725349c8e7af1", "name": "TODO/FIXME marker in shipping code \u2014 web-client/src/gamepad_profiles.ts:41", "shortDescription": {"text": "TODO/FIXME marker in shipping code \u2014 web-client/src/gamepad_profiles.ts:41"}, "fullDescription": {"text": "Track in /reviews or /issues, not as a code comment that rots.\n\nWhy: Drift control \u2014 shouldn't be the same as Quality TODO scanner.\nRule id: fq.todo-marker"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-218fbf8e64d4ca05", "name": "Stray `console.log` in TS/JS \u2014 web-client/src/gamepad_handler.ts:94", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 web-client/src/gamepad_handler.ts:94"}, "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-79d078bd5dac445e", "name": "React Flow <MiniMap> without dark background \u2014 web-client/src/views/MissionTablet.tsx:614", "shortDescription": {"text": "React Flow <MiniMap> without dark background \u2014 web-client/src/views/MissionTablet.tsx:614"}, "fullDescription": {"text": "A bare <MiniMap> renders with the vendor's white default in dark themes. Wrap the canvas in a class that overrides `.react-flow__minimap` background, or pass an explicit `style`/`maskColor`/`bgColor`.\n\nWhy: P1 in CHECKLIST.md \u2014 vendor defaults bleed light through.\nRule id: fq.minimap.no-bg"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1107b36038835de9", "name": "Stray `console.log` in TS/JS \u2014 web-client/src/views/MissionTablet.tsx:99", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 web-client/src/views/MissionTablet.tsx:99"}, "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-34b3647fc16cff7c", "name": "React Flow <MiniMap> without dark background \u2014 web-client/src/views/MissionControl.tsx:536", "shortDescription": {"text": "React Flow <MiniMap> without dark background \u2014 web-client/src/views/MissionControl.tsx:536"}, "fullDescription": {"text": "A bare <MiniMap> renders with the vendor's white default in dark themes. Wrap the canvas in a class that overrides `.react-flow__minimap` background, or pass an explicit `style`/`maskColor`/`bgColor`.\n\nWhy: P1 in CHECKLIST.md \u2014 vendor defaults bleed light through.\nRule id: fq.minimap.no-bg"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-375b0127e827ce15", "name": "React Flow <MiniMap> without dark background \u2014 web-client/test/shared.test.tsx:214", "shortDescription": {"text": "React Flow <MiniMap> without dark background \u2014 web-client/test/shared.test.tsx:214"}, "fullDescription": {"text": "A bare <MiniMap> renders with the vendor's white default in dark themes. Wrap the canvas in a class that overrides `.react-flow__minimap` background, or pass an explicit `style`/`maskColor`/`bgColor`.\n\nWhy: P1 in CHECKLIST.md \u2014 vendor defaults bleed light through.\nRule id: fq.minimap.no-bg"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0e204ea853dde348", "name": "Privileged port 123 in use", "shortDescription": {"text": "Privileged port 123 in use"}, "fullDescription": {"text": "Port 123 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer."}, "properties": {"scanner": "scanner-primary", "layer": "network", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-a8537d4b77df0664", "name": "Docker base image is tag-pinned but not digest-pinned: ros:humble", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: ros:humble"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-04ba62967e2d9a35", "name": "Insecure pattern 'direct_innerhtml_assignment' in auth-server/views/change-password.html:72", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in auth-server/views/change-password.html:72"}, "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-bfa656d98b0a86c3", "name": "Insecure pattern 'direct_innerhtml_assignment' in auth-server/views/login.html:69", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in auth-server/views/login.html:69"}, "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-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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 6 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-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: license, ci. 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}}, {"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 license, 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-5f1f837888a31447", "name": "Agent authority lacks a verifier contract: video-bridge/AGENTS.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: video-bridge/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-041f2fc81aedaece", "name": "Agent authority lacks a verifier contract: server/AGENTS.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: server/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-962286c25e1f7936", "name": "Agent authority lacks a verifier contract: auth-server/AGENTS.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: auth-server/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-c84c760b5db996df", "name": "Agent authority lacks a verifier contract: web-client/AGENTS.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: web-client/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-aa49985b3c0cf2eb", "name": "Commented-code block (5 lines) in auth-server/src/app.ts:146", "shortDescription": {"text": "Commented-code block (5 lines) in auth-server/src/app.ts:146"}, "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-93703352a0fbf09b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 web-client/src/whep_client.ts:105", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web-client/src/whep_client.ts:105"}, "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-d50452c0332d228b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 web-client/src/perf_beacon.ts:65", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web-client/src/perf_beacon.ts:65"}, "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-05bf1fca9a95b0fb", "name": "Commented-code block (6 lines) in web-client/src/views/MissionTablet.tsx:147", "shortDescription": {"text": "Commented-code block (6 lines) in web-client/src/views/MissionTablet.tsx:147"}, "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-81c2a92da1299338", "name": "Commented-code block (5 lines) in web-client/test/teleop_client_continuous_publish.test.ts:14", "shortDescription": {"text": "Commented-code block (5 lines) in web-client/test/teleop_client_continuous_publish.test.ts:14"}, "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-3abe3a0d644b02cc", "name": "Commented-code block (7 lines) in web-client/test/map_render.test.ts:23", "shortDescription": {"text": "Commented-code block (7 lines) in web-client/test/map_render.test.ts:23"}, "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-319e66a630e14977", "name": "2 env vars used in code but missing from .env.example", "shortDescription": {"text": "2 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `MEDIAMTX_RTMP`, `PROD`. 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}}, {"id": "scanner-24e7189828ea0e01", "name": "Dangling fetch: GET /auth/session-status (web-client/src/hooks/useSessionStatus.ts:53)", "shortDescription": {"text": "Dangling fetch: GET /auth/session-status (web-client/src/hooks/useSessionStatus.ts:53)"}, "fullDescription": {"text": "`web-client/src/hooks/useSessionStatus.ts:53` calls `GET /auth/session-status` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/auth/session-status`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-75a5d1c98d65e339", "name": "Dangling fetch: POST /auth/heartbeat (web-client/src/hooks/useSessionStatus.ts:73)", "shortDescription": {"text": "Dangling fetch: POST /auth/heartbeat (web-client/src/hooks/useSessionStatus.ts:73)"}, "fullDescription": {"text": "`web-client/src/hooks/useSessionStatus.ts:73` calls `POST /auth/heartbeat` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/auth/heartbeat`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-25d6c2b1f8015f6e", "name": "Unused endpoint: USE /auth-static", "shortDescription": {"text": "Unused endpoint: USE /auth-static"}, "fullDescription": {"text": "`auth-server/src/app.ts` declares `USE /auth-static` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b28d92215a503990", "name": "Unused endpoint: USE /auth", "shortDescription": {"text": "Unused endpoint: USE /auth"}, "fullDescription": {"text": "`auth-server/src/app.ts` declares `USE /auth` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-37f7016eb3b4aa91", "name": "Unused endpoint: USE /video", "shortDescription": {"text": "Unused endpoint: USE /video"}, "fullDescription": {"text": "`auth-server/src/app.ts` declares `USE /video` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5fb2cec08dda63a8", "name": "Unused endpoint: USE /mediamtx-api", "shortDescription": {"text": "Unused endpoint: USE /mediamtx-api"}, "fullDescription": {"text": "`auth-server/src/app.ts` declares `USE /mediamtx-api` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6a4dfcad3eb1618a", "name": "Unused endpoint: GET /login", "shortDescription": {"text": "Unused endpoint: GET /login"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `GET /login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-618721b912bad1c2", "name": "Unused endpoint: POST /login", "shortDescription": {"text": "Unused endpoint: POST /login"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `POST /login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-99fc36db98c134ce", "name": "Unused endpoint: POST /logout", "shortDescription": {"text": "Unused endpoint: POST /logout"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `POST /logout` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d0a6f261512203ff", "name": "Unused endpoint: GET /change-password", "shortDescription": {"text": "Unused endpoint: GET /change-password"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `GET /change-password` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4fe9bb486644f008", "name": "Unused endpoint: POST /change-password", "shortDescription": {"text": "Unused endpoint: POST /change-password"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `POST /change-password` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-fd1dc91abf32142d", "name": "Unused endpoint: GET /me", "shortDescription": {"text": "Unused endpoint: GET /me"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `GET /me` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-05250bf734a2a593", "name": "Unused endpoint: GET /session-status", "shortDescription": {"text": "Unused endpoint: GET /session-status"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `GET /session-status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5205d6c0bf0b6069", "name": "Unused endpoint: POST /heartbeat", "shortDescription": {"text": "Unused endpoint: POST /heartbeat"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `POST /heartbeat` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-08f5b541415347ce", "name": "Unused endpoint: POST /change-username", "shortDescription": {"text": "Unused endpoint: POST /change-username"}, "fullDescription": {"text": "`auth-server/src/routes/auth.ts` declares `POST /change-username` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/24937"}, "properties": {"repository": "chngyicheng/pocket-teleop", "repoUrl": "https://github.com/chngyicheng/pocket-teleop", "branch": "main"}, "results": [{"ruleId": "scanner-3898196fc29dc80b", "level": "note", "message": {"text": "Possibly dead Python function: generate_launch_description"}, "properties": {"repobilityId": "d9a90a15bddc43f1", "scanner": "scanner-primary", "fingerprint": "3898196fc29dc80b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/launch/teleop.launch.py:8"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-dbd29dddbf8b90bc", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 auth-server/src/index.ts:32"}, "properties": {"repobilityId": "994df08c21185ab0", "scanner": "scanner-primary", "fingerprint": "dbd29dddbf8b90bc", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-7b9cbef445d6811f", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 auth-server/src/app.ts:116"}, "properties": {"repobilityId": "5aac1fa22dfa6c55", "scanner": "scanner-primary", "fingerprint": "7b9cbef445d6811f", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-e43725349c8e7af1", "level": "none", "message": {"text": "TODO/FIXME marker in shipping code \u2014 web-client/src/gamepad_profiles.ts:41"}, "properties": {"repobilityId": "5c19e7714acffd05", "scanner": "scanner-primary", "fingerprint": "e43725349c8e7af1", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.todo-marker"]}}, {"ruleId": "scanner-218fbf8e64d4ca05", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 web-client/src/gamepad_handler.ts:94"}, "properties": {"repobilityId": "fb7d4efe9da79318", "scanner": "scanner-primary", "fingerprint": "218fbf8e64d4ca05", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-79d078bd5dac445e", "level": "note", "message": {"text": "React Flow <MiniMap> without dark background \u2014 web-client/src/views/MissionTablet.tsx:614"}, "properties": {"repobilityId": "4a68d6eb080f588f", "scanner": "scanner-primary", "fingerprint": "79d078bd5dac445e", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.minimap.no-bg"]}}, {"ruleId": "scanner-1107b36038835de9", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 web-client/src/views/MissionTablet.tsx:99"}, "properties": {"repobilityId": "67a04314200edc38", "scanner": "scanner-primary", "fingerprint": "1107b36038835de9", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-34b3647fc16cff7c", "level": "note", "message": {"text": "React Flow <MiniMap> without dark background \u2014 web-client/src/views/MissionControl.tsx:536"}, "properties": {"repobilityId": "0effadae0373ceee", "scanner": "scanner-primary", "fingerprint": "34b3647fc16cff7c", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.minimap.no-bg"]}}, {"ruleId": "scanner-375b0127e827ce15", "level": "note", "message": {"text": "React Flow <MiniMap> without dark background \u2014 web-client/test/shared.test.tsx:214"}, "properties": {"repobilityId": "d4f2f63075e334b4", "scanner": "scanner-primary", "fingerprint": "375b0127e827ce15", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.minimap.no-bg"]}}, {"ruleId": "scanner-0e204ea853dde348", "level": "warning", "message": {"text": "Privileged port 123 in use"}, "properties": {"repobilityId": "117e44ea15d0bedc", "scanner": "scanner-primary", "fingerprint": "0e204ea853dde348", "layer": "network", "severity": "medium", "confidence": 1.0, "tags": ["security", "ports"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "mediamtx.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-a8537d4b77df0664", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: ros:humble"}, "properties": {"repobilityId": "6fdbe0451747ccb3", "scanner": "scanner-primary", "fingerprint": "a8537d4b77df0664", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-a8537d4b77df0664", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: ros:humble"}, "properties": {"repobilityId": "905ad848c0cbaee8", "scanner": "scanner-primary", "fingerprint": "a8537d4b77df0664", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 17}}}]}, {"ruleId": "scanner-04ba62967e2d9a35", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in auth-server/views/change-password.html:72"}, "properties": {"repobilityId": "c520c98ba48ce22e", "scanner": "scanner-primary", "fingerprint": "04ba62967e2d9a35", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "auth-server/views/change-password.html"}, "region": {"startLine": 72}}}]}, {"ruleId": "scanner-bfa656d98b0a86c3", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in auth-server/views/login.html:69"}, "properties": {"repobilityId": "75b2f26912e2cfb9", "scanner": "scanner-primary", "fingerprint": "bfa656d98b0a86c3", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "auth-server/views/login.html"}, "region": {"startLine": 69}}}]}, {"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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "cd13fdbcc1b5c4dd", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "ffd01113205a2c5b", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "32982a94e4f9e3a2", "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": "c65393bc444dd94b", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "8b3ae98112cff28b", "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-5f1f837888a31447", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: video-bridge/AGENTS.md"}, "properties": {"repobilityId": "336fc8286a95f229", "scanner": "scanner-primary", "fingerprint": "5f1f837888a31447", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "agents_md"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "video-bridge/AGENTS.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-041f2fc81aedaece", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: server/AGENTS.md"}, "properties": {"repobilityId": "e7a124649faf317f", "scanner": "scanner-primary", "fingerprint": "041f2fc81aedaece", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "agents_md"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/AGENTS.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-962286c25e1f7936", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: auth-server/AGENTS.md"}, "properties": {"repobilityId": "d139f1bb74a7c5ec", "scanner": "scanner-primary", "fingerprint": "962286c25e1f7936", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "agents_md"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "auth-server/AGENTS.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c84c760b5db996df", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: web-client/AGENTS.md"}, "properties": {"repobilityId": "7e90935898bb1ea1", "scanner": "scanner-primary", "fingerprint": "c84c760b5db996df", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "agents_md"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "web-client/AGENTS.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-aa49985b3c0cf2eb", "level": "none", "message": {"text": "Commented-code block (5 lines) in auth-server/src/app.ts:146"}, "properties": {"repobilityId": "76b9a42c061c9859", "scanner": "scanner-primary", "fingerprint": "aa49985b3c0cf2eb", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-93703352a0fbf09b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web-client/src/whep_client.ts:105"}, "properties": {"repobilityId": "f63ea1d4acf18585", "scanner": "scanner-primary", "fingerprint": "93703352a0fbf09b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-d50452c0332d228b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web-client/src/perf_beacon.ts:65"}, "properties": {"repobilityId": "1f0067f8f58d0dc3", "scanner": "scanner-primary", "fingerprint": "d50452c0332d228b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-05bf1fca9a95b0fb", "level": "none", "message": {"text": "Commented-code block (6 lines) in web-client/src/views/MissionTablet.tsx:147"}, "properties": {"repobilityId": "eb0bb8b4eb15ccb2", "scanner": "scanner-primary", "fingerprint": "05bf1fca9a95b0fb", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-81c2a92da1299338", "level": "none", "message": {"text": "Commented-code block (5 lines) in web-client/test/teleop_client_continuous_publish.test.ts:14"}, "properties": {"repobilityId": "aaa83a79f489b9f9", "scanner": "scanner-primary", "fingerprint": "81c2a92da1299338", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3abe3a0d644b02cc", "level": "none", "message": {"text": "Commented-code block (7 lines) in web-client/test/map_render.test.ts:23"}, "properties": {"repobilityId": "5831ac3cde6b7652", "scanner": "scanner-primary", "fingerprint": "3abe3a0d644b02cc", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-319e66a630e14977", "level": "none", "message": {"text": "2 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d838d1fc5d8231c9", "scanner": "scanner-primary", "fingerprint": "319e66a630e14977", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-24e7189828ea0e01", "level": "error", "message": {"text": "Dangling fetch: GET /auth/session-status (web-client/src/hooks/useSessionStatus.ts:53)"}, "properties": {"repobilityId": "4d7d75c5f5df73f4", "scanner": "scanner-primary", "fingerprint": "24e7189828ea0e01", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-75a5d1c98d65e339", "level": "error", "message": {"text": "Dangling fetch: POST /auth/heartbeat (web-client/src/hooks/useSessionStatus.ts:73)"}, "properties": {"repobilityId": "3926029a48e3341f", "scanner": "scanner-primary", "fingerprint": "75a5d1c98d65e339", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-25d6c2b1f8015f6e", "level": "note", "message": {"text": "Unused endpoint: USE /auth-static"}, "properties": {"repobilityId": "332959646e773aa8", "scanner": "scanner-primary", "fingerprint": "25d6c2b1f8015f6e", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b28d92215a503990", "level": "note", "message": {"text": "Unused endpoint: USE /auth"}, "properties": {"repobilityId": "42011d40a6616224", "scanner": "scanner-primary", "fingerprint": "b28d92215a503990", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-37f7016eb3b4aa91", "level": "note", "message": {"text": "Unused endpoint: USE /video"}, "properties": {"repobilityId": "f2260892a3a98a0a", "scanner": "scanner-primary", "fingerprint": "37f7016eb3b4aa91", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5fb2cec08dda63a8", "level": "note", "message": {"text": "Unused endpoint: USE /mediamtx-api"}, "properties": {"repobilityId": "2a72fb4bfab2b9cc", "scanner": "scanner-primary", "fingerprint": "5fb2cec08dda63a8", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-6a4dfcad3eb1618a", "level": "note", "message": {"text": "Unused endpoint: GET /login"}, "properties": {"repobilityId": "44cf6d9434932366", "scanner": "scanner-primary", "fingerprint": "6a4dfcad3eb1618a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-618721b912bad1c2", "level": "note", "message": {"text": "Unused endpoint: POST /login"}, "properties": {"repobilityId": "fb60fb8611a78cdd", "scanner": "scanner-primary", "fingerprint": "618721b912bad1c2", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-99fc36db98c134ce", "level": "note", "message": {"text": "Unused endpoint: POST /logout"}, "properties": {"repobilityId": "14053d511fba56f4", "scanner": "scanner-primary", "fingerprint": "99fc36db98c134ce", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-d0a6f261512203ff", "level": "note", "message": {"text": "Unused endpoint: GET /change-password"}, "properties": {"repobilityId": "deda5b31bab5a927", "scanner": "scanner-primary", "fingerprint": "d0a6f261512203ff", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-4fe9bb486644f008", "level": "note", "message": {"text": "Unused endpoint: POST /change-password"}, "properties": {"repobilityId": "70bc6972387c83f7", "scanner": "scanner-primary", "fingerprint": "4fe9bb486644f008", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-fd1dc91abf32142d", "level": "note", "message": {"text": "Unused endpoint: GET /me"}, "properties": {"repobilityId": "35e9ee109211737c", "scanner": "scanner-primary", "fingerprint": "fd1dc91abf32142d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-05250bf734a2a593", "level": "note", "message": {"text": "Unused endpoint: GET /session-status"}, "properties": {"repobilityId": "feba1a13b9b122ae", "scanner": "scanner-primary", "fingerprint": "05250bf734a2a593", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5205d6c0bf0b6069", "level": "note", "message": {"text": "Unused endpoint: POST /heartbeat"}, "properties": {"repobilityId": "16712ad359cac06f", "scanner": "scanner-primary", "fingerprint": "5205d6c0bf0b6069", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-08f5b541415347ce", "level": "note", "message": {"text": "Unused endpoint: POST /change-username"}, "properties": {"repobilityId": "7cc65dc2080cdf76", "scanner": "scanner-primary", "fingerprint": "08f5b541415347ce", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}