{"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-0ae197143271656e", "name": "Stray `console.log` in TS/JS \u2014 terraform-gcp/docker/app/main.ts:12", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 terraform-gcp/docker/app/main.ts:12"}, "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-689a0f00cd937d2a", "name": "Dockerfile runs as root: terraform-gcp/docker/app/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: terraform-gcp/docker/app/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-45395c5f9858ccfb", "name": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine"}, "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-443e8d17b569df18", "name": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine"}, "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-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-d93117af16bd06c6", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/checkout@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1ee8875a79911c6f", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "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-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. 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-b89c7d72f4fa3edc", "name": "Agent authority lacks a verifier contract: .claude/commands/kiro/validate-impl.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/kiro/validate-impl.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-bff7112a86f45579", "name": "Agent authority lacks a verifier contract: .claude/commands/kiro/spec-impl.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/kiro/spec-impl.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-5508c6cde95656d5", "name": "Dangling fetch: POST /api/live-token (apps/src/features/meeting/hooks/use-live-session.ts:96)", "shortDescription": {"text": "Dangling fetch: POST /api/live-token (apps/src/features/meeting/hooks/use-live-session.ts:96)"}, "fullDescription": {"text": "`apps/src/features/meeting/hooks/use-live-session.ts:96` calls `POST /api/live-token` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/live-token`\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-4756b4c4da7d2088", "name": "Unused endpoint: GET /api/health", "shortDescription": {"text": "Unused endpoint: GET /api/health"}, "fullDescription": {"text": "`terraform-gcp/docker/app/main.ts` declares `GET /api/health` 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/24944"}, "properties": {"repository": "chososu/chAIr", "repoUrl": "https://github.com/chososu/chAIr", "branch": "main"}, "results": [{"ruleId": "scanner-0ae197143271656e", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 terraform-gcp/docker/app/main.ts:12"}, "properties": {"repobilityId": "0000cc9b846823a8", "scanner": "scanner-primary", "fingerprint": "0ae197143271656e", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-689a0f00cd937d2a", "level": "warning", "message": {"text": "Dockerfile runs as root: terraform-gcp/docker/app/Dockerfile"}, "properties": {"repobilityId": "426aa447a55225e1", "scanner": "scanner-primary", "fingerprint": "689a0f00cd937d2a", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-45395c5f9858ccfb", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine"}, "properties": {"repobilityId": "44be0cf91d31f864", "scanner": "scanner-primary", "fingerprint": "45395c5f9858ccfb", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "terraform-gcp/docker/app/Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-443e8d17b569df18", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine"}, "properties": {"repobilityId": "a9c3b75fc586e487", "scanner": "scanner-primary", "fingerprint": "443e8d17b569df18", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/Dockerfile"}, "region": {"startLine": 5}}}]}, {"ruleId": "scanner-443e8d17b569df18", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine"}, "properties": {"repobilityId": "a8b58d592f8b6473", "scanner": "scanner-primary", "fingerprint": "443e8d17b569df18", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/Dockerfile"}, "region": {"startLine": 11}}}]}, {"ruleId": "scanner-443e8d17b569df18", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:24-alpine"}, "properties": {"repobilityId": "bac8a7c50067fcd1", "scanner": "scanner-primary", "fingerprint": "443e8d17b569df18", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/Dockerfile"}, "region": {"startLine": 18}}}]}, {"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-d93117af16bd06c6", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "854d59699a52ddcb", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 24}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "bb4ce7262653fb74", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 28}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "58eeb9466d8aabba", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 35}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "60e722f7d096fdb4", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 38}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "a69647da4cc375ac", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 45}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "854d59699a52ddcb", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 93}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "bb4ce7262653fb74", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 97}}}]}, {"ruleId": "scanner-d93117af16bd06c6", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "e6237e480bcbd561", "scanner": "scanner-primary", "fingerprint": "d93117af16bd06c6", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 113}}}]}, {"ruleId": "scanner-1ee8875a79911c6f", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "cadce79bfc6b8ed1", "scanner": "scanner-primary", "fingerprint": "1ee8875a79911c6f", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/cd_server.yaml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "f7fa62652e673d52", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "cb5c6c180335b6fd", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b89c7d72f4fa3edc", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/kiro/validate-impl.md"}, "properties": {"repobilityId": "e6b54776326c42b5", "scanner": "scanner-primary", "fingerprint": "b89c7d72f4fa3edc", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/kiro/validate-impl.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-bff7112a86f45579", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/kiro/spec-impl.md"}, "properties": {"repobilityId": "96fe207b7802719b", "scanner": "scanner-primary", "fingerprint": "bff7112a86f45579", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/kiro/spec-impl.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5508c6cde95656d5", "level": "error", "message": {"text": "Dangling fetch: POST /api/live-token (apps/src/features/meeting/hooks/use-live-session.ts:96)"}, "properties": {"repobilityId": "ccc31e5163fb5678", "scanner": "scanner-primary", "fingerprint": "5508c6cde95656d5", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-4756b4c4da7d2088", "level": "note", "message": {"text": "Unused endpoint: GET /api/health"}, "properties": {"repobilityId": "4d3ab7fcad340d1d", "scanner": "scanner-primary", "fingerprint": "4756b4c4da7d2088", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}