{"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-73e3bae5aedc2771", "name": "Insecure pattern 'cors_wildcard' in backend/supabase/functions/strava-auth/index.ts:20", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in backend/supabase/functions/strava-auth/index.ts:20"}, "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-5457518a02bc60b8", "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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 1 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "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-af81ab8e622ba41c", "name": "`fetch()` without try/.catch or AbortSignal \u2014 backend/supabase/functions/strava-auth/index.ts:67", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 backend/supabase/functions/strava-auth/index.ts:67"}, "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}}]}}, "automationDetails": {"id": "repobility/25168"}, "properties": {"repository": "CWBC779/soma_connect", "repoUrl": "https://github.com/CWBC779/soma_connect", "branch": "main"}, "results": [{"ruleId": "scanner-73e3bae5aedc2771", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in backend/supabase/functions/strava-auth/index.ts:20"}, "properties": {"repobilityId": "280d7fd27aece609", "scanner": "scanner-primary", "fingerprint": "73e3bae5aedc2771", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/supabase/functions/strava-auth/index.ts"}, "region": {"startLine": 20}}}]}, {"ruleId": "scanner-5457518a02bc60b8", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b42c3a01a189ad29", "scanner": "scanner-primary", "fingerprint": "5457518a02bc60b8", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/deploy-web.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "76be65112c80b247", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-af81ab8e622ba41c", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 backend/supabase/functions/strava-auth/index.ts:67"}, "properties": {"repobilityId": "fb4bf1449565dbfd", "scanner": "scanner-primary", "fingerprint": "af81ab8e622ba41c", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}