{"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-e214208c11e2e0d6", "name": "Stray `console.log` in TS/JS \u2014 scripts/attempt-smoke.ts:79", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 scripts/attempt-smoke.ts:79"}, "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-72de1d9e688965b7", "name": "Stray `console.log` in TS/JS \u2014 scripts/pg-boss-smoke.ts:26", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 scripts/pg-boss-smoke.ts:26"}, "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-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-9fff85edbbb8c52b", "name": "Docker base image is tag-pinned but not digest-pinned: oven/bun:1", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: oven/bun:1"}, "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-aa5acaa49eb8315b", "name": "Containers defined but no K8s/orchestration manifest found", "shortDescription": {"text": "Containers defined but no K8s/orchestration manifest found"}, "fullDescription": {"text": "Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-3e2e12b9fa0b28ae", "name": "Possible secret in scripts/attempt-smoke.ts", "shortDescription": {"text": "Possible secret in scripts/attempt-smoke.ts"}, "fullDescription": {"text": "Detected pattern matching openai_or_anthropic_key. Rotate the credential and move to a secret manager."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "critical", "confidence": 1.0}}, {"id": "scanner-874fb24e203bc9c8", "name": "Insecure pattern 'node_child_process' in src/codex/device-auth.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in src/codex/device-auth.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-b7bfff40b08d7f33", "name": "Insecure pattern 'node_child_process' in src/system/command.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in src/system/command.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-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-1da1da030949ec53", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/pg-boss-smoke.ts:14", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/pg-boss-smoke.ts:14"}, "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-612f0fb7761dfabb", "name": "`fetch()` without try/.catch or AbortSignal \u2014 web/src/api.ts:37", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web/src/api.ts:37"}, "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-1b5a76780c3df9aa", "name": "1 env vars used in code but missing from .env.example", "shortDescription": {"text": "1 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `CODEX_HOME`. 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-daf5ed8b735431b5", "name": "Dangling fetch: GET /jobs/${id} (web/src/api.ts:57)", "shortDescription": {"text": "Dangling fetch: GET /jobs/${id} (web/src/api.ts:57)"}, "fullDescription": {"text": "`web/src/api.ts:57` calls `GET /jobs/${id}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: helper:request\nNormalized path used for matching: `/jobs/<p>`\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-310662ddd4ce157b", "name": "Dangling fetch: PUT /api/standards/skills/${id} (web/src/api.ts:64)", "shortDescription": {"text": "Dangling fetch: PUT /api/standards/skills/${id} (web/src/api.ts:64)"}, "fullDescription": {"text": "`web/src/api.ts:64` calls `PUT /api/standards/skills/${id}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: helper:request\nNormalized path used for matching: `/standards/skills/<p>`\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-3065e5b88ac98acd", "name": "Dangling fetch: DELETE /api/standards/skills/${id} (web/src/api.ts:65)", "shortDescription": {"text": "Dangling fetch: DELETE /api/standards/skills/${id} (web/src/api.ts:65)"}, "fullDescription": {"text": "`web/src/api.ts:65` calls `DELETE /api/standards/skills/${id}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: helper:request\nNormalized path used for matching: `/standards/skills/<p>`\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-9c0110c284116c3a", "name": "Unused endpoint: POST /webhooks/github", "shortDescription": {"text": "Unused endpoint: POST /webhooks/github"}, "fullDescription": {"text": "`src/http/github-routes.ts` declares `POST /webhooks/github` 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-56c688b47fe920f6", "name": "Unused endpoint: GET /api/deliveries", "shortDescription": {"text": "Unused endpoint: GET /api/deliveries"}, "fullDescription": {"text": "`src/http/setup-routes.ts` declares `GET /api/deliveries` 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/21301"}, "properties": {"repository": "Timmyy3000/argus", "repoUrl": "https://github.com/Timmyy3000/argus", "branch": "main"}, "results": [{"ruleId": "scanner-e214208c11e2e0d6", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 scripts/attempt-smoke.ts:79"}, "properties": {"repobilityId": "64ec4f11093d06df", "scanner": "scanner-primary", "fingerprint": "e214208c11e2e0d6", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-72de1d9e688965b7", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 scripts/pg-boss-smoke.ts:26"}, "properties": {"repobilityId": "9b6385887fcf5eac", "scanner": "scanner-primary", "fingerprint": "72de1d9e688965b7", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"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-9fff85edbbb8c52b", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: oven/bun:1"}, "properties": {"repobilityId": "67cef6643b9db2fc", "scanner": "scanner-primary", "fingerprint": "9fff85edbbb8c52b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-aa5acaa49eb8315b", "level": "note", "message": {"text": "Containers defined but no K8s/orchestration manifest found"}, "properties": {"repobilityId": "b230ea9b68736081", "scanner": "scanner-primary", "fingerprint": "aa5acaa49eb8315b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["coverage", "deployment"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-3e2e12b9fa0b28ae", "level": "error", "message": {"text": "Possible secret in scripts/attempt-smoke.ts"}, "properties": {"repobilityId": "bfbd1a67ef3c9217", "scanner": "scanner-primary", "fingerprint": "3e2e12b9fa0b28ae", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/attempt-smoke.ts"}, "region": {"startLine": 55}}}]}, {"ruleId": "scanner-874fb24e203bc9c8", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in src/codex/device-auth.ts:1"}, "properties": {"repobilityId": "a3a670d97af2abdd", "scanner": "scanner-primary", "fingerprint": "874fb24e203bc9c8", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/codex/device-auth.ts"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b7bfff40b08d7f33", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in src/system/command.ts:1"}, "properties": {"repobilityId": "54b448daf82da41e", "scanner": "scanner-primary", "fingerprint": "b7bfff40b08d7f33", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/system/command.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-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "1ae1cb7982c970a5", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "7655f43bdc24fed7", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-1da1da030949ec53", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/pg-boss-smoke.ts:14"}, "properties": {"repobilityId": "ff756d4760b6e455", "scanner": "scanner-primary", "fingerprint": "1da1da030949ec53", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-612f0fb7761dfabb", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web/src/api.ts:37"}, "properties": {"repobilityId": "d7fda66d11c8a062", "scanner": "scanner-primary", "fingerprint": "612f0fb7761dfabb", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-1b5a76780c3df9aa", "level": "none", "message": {"text": "1 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d04379b337b44a15", "scanner": "scanner-primary", "fingerprint": "1b5a76780c3df9aa", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-daf5ed8b735431b5", "level": "error", "message": {"text": "Dangling fetch: GET /jobs/${id} (web/src/api.ts:57)"}, "properties": {"repobilityId": "9b2c39aa5c409162", "scanner": "scanner-primary", "fingerprint": "daf5ed8b735431b5", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "helper:request"]}}, {"ruleId": "scanner-310662ddd4ce157b", "level": "error", "message": {"text": "Dangling fetch: PUT /api/standards/skills/${id} (web/src/api.ts:64)"}, "properties": {"repobilityId": "6b19403726f5f73d", "scanner": "scanner-primary", "fingerprint": "310662ddd4ce157b", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "helper:request"]}}, {"ruleId": "scanner-3065e5b88ac98acd", "level": "error", "message": {"text": "Dangling fetch: DELETE /api/standards/skills/${id} (web/src/api.ts:65)"}, "properties": {"repobilityId": "955e84daa3b9240c", "scanner": "scanner-primary", "fingerprint": "3065e5b88ac98acd", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "helper:request"]}}, {"ruleId": "scanner-9c0110c284116c3a", "level": "note", "message": {"text": "Unused endpoint: POST /webhooks/github"}, "properties": {"repobilityId": "bbd82ddbe5c5f023", "scanner": "scanner-primary", "fingerprint": "9c0110c284116c3a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-56c688b47fe920f6", "level": "note", "message": {"text": "Unused endpoint: GET /api/deliveries"}, "properties": {"repobilityId": "d24e0408bcab3245", "scanner": "scanner-primary", "fingerprint": "56c688b47fe920f6", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}