{"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-564b45d270cf0238", "name": "Runtime dotenv file present in repo: .env.production", "shortDescription": {"text": "Runtime dotenv file present in repo: .env.production"}, "fullDescription": {"text": "`.env.production` looks like a runtime dotenv file. No high-confidence secret value was matched, but runtime dotenv files often drift into live credentials. Move real values to a secret manager and keep only `.env.example` style templates in source control."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-4e719cb9974916ac", "name": "Insecure pattern 'node_child_process' in scripts/release.mjs:11", "shortDescription": {"text": "Insecure pattern 'node_child_process' in scripts/release.mjs:11"}, "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-8dc3edb31fa5b419", "name": "Insecure pattern 'local_storage_auth_token' in src/contexts/AuthContext.js:26", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in src/contexts/AuthContext.js:26"}, "fullDescription": {"text": "Found a known-risky pattern (local_storage_auth_token). 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-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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "2 tests / 15 src (ratio 0.13)."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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-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-af464fd9c60fe612", "name": "Commented-code block (5 lines) in scripts/release.mjs:6", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/release.mjs:6"}, "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-8fc4c37ac35faab9", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/release.mjs:29", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/release.mjs:29"}, "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-0eaf1058df3e09a4", "name": "Dangling fetch: GET https://api.github.com${caminho} (scripts/release.mjs:29)", "shortDescription": {"text": "Dangling fetch: GET https://api.github.com${caminho} (scripts/release.mjs:29)"}, "fullDescription": {"text": "`scripts/release.mjs:29` calls `GET https://api.github.com${caminho}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/api.github.com/<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-855f93a30778d1e4", "name": "Dangling fetch: POST https://uploads.github.com/repos/${REPO}/releases/${release.id}/assets?name=${encodeURIComponent(no", "shortDescription": {"text": "Dangling fetch: POST https://uploads.github.com/repos/${REPO}/releases/${release.id}/assets?name=${encodeURIComponent(nomeAsset)} (scripts/release.mjs:65)"}, "fullDescription": {"text": "`scripts/release.mjs:65` calls `POST https://uploads.github.com/repos/${REPO}/releases/${release.id}/assets?name=${encodeURIComponent(nomeAsset)}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/uploads.github.com/repos/<p>/releases/<p>/assets`\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-e647d0426f31779b", "name": "Unused endpoint: POST /auth/entregador/login", "shortDescription": {"text": "Unused endpoint: POST /auth/entregador/login"}, "fullDescription": {"text": "`src/contexts/AuthContext.js` declares `POST /auth/entregador/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-dbee366e44621abb", "name": "Unused endpoint: GET /entregadores/minhas-entregas", "shortDescription": {"text": "Unused endpoint: GET /entregadores/minhas-entregas"}, "fullDescription": {"text": "`src/pages/Entregas.js` declares `GET /entregadores/minhas-entregas` 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-0d634fbf8d2a91af", "name": "Unused endpoint: PATCH /entregadores/meu-gps", "shortDescription": {"text": "Unused endpoint: PATCH /entregadores/meu-gps"}, "fullDescription": {"text": "`src/pages/Principal.js` declares `PATCH /entregadores/meu-gps` 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-463d927642926f25", "name": "Unused endpoint: GET /entregadores/meus-pedidos", "shortDescription": {"text": "Unused endpoint: GET /entregadores/meus-pedidos"}, "fullDescription": {"text": "`src/pages/Principal.js` declares `GET /entregadores/meus-pedidos` 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-40cc78963d355a1a", "name": "Unused endpoint: PATCH /entregadores/disponibilidade", "shortDescription": {"text": "Unused endpoint: PATCH /entregadores/disponibilidade"}, "fullDescription": {"text": "`src/pages/Principal.js` declares `PATCH /entregadores/disponibilidade` 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-0973633f4ced649b", "name": "Unused endpoint: POST /entregadores/iniciar-rota", "shortDescription": {"text": "Unused endpoint: POST /entregadores/iniciar-rota"}, "fullDescription": {"text": "`src/pages/Principal.js` declares `POST /entregadores/iniciar-rota` 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-21e3af55901cc5d3", "name": "Unused endpoint: POST /entregadores/trocar-senha", "shortDescription": {"text": "Unused endpoint: POST /entregadores/trocar-senha"}, "fullDescription": {"text": "`src/pages/TrocarSenha.js` declares `POST /entregadores/trocar-senha` 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-eb803a8dd10faf14", "name": "Unused endpoint: PATCH /entregadores/meu-fcm-token", "shortDescription": {"text": "Unused endpoint: PATCH /entregadores/meu-fcm-token"}, "fullDescription": {"text": "`src/services/pushNotifications.js` declares `PATCH /entregadores/meu-fcm-token` 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/21872"}, "properties": {"repository": "umpifelipeia/danzo-entregador", "repoUrl": "https://github.com/umpifelipeia/danzo-entregador", "branch": "main"}, "results": [{"ruleId": "scanner-564b45d270cf0238", "level": "error", "message": {"text": "Runtime dotenv file present in repo: .env.production"}, "properties": {"repobilityId": "da3016501941bee3", "scanner": "scanner-primary", "fingerprint": "564b45d270cf0238", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["secrets", "config", "env-file", "runtime-env"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".env.production"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4e719cb9974916ac", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in scripts/release.mjs:11"}, "properties": {"repobilityId": "b54b635c778fb88f", "scanner": "scanner-primary", "fingerprint": "4e719cb9974916ac", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/release.mjs"}, "region": {"startLine": 11}}}]}, {"ruleId": "scanner-8dc3edb31fa5b419", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in src/contexts/AuthContext.js:26"}, "properties": {"repobilityId": "af0b6a35f89392a1", "scanner": "scanner-primary", "fingerprint": "8dc3edb31fa5b419", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/contexts/AuthContext.js"}, "region": {"startLine": 26}}}]}, {"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-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-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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "f2bbaf96b25c09bd", "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": "413f35a43569e983", "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": "e7a4a230a52aa659", "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": "dbbcf330fd1b0809", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "e1011755ee049516", "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": "f38aef6b485b4398", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-af464fd9c60fe612", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/release.mjs:6"}, "properties": {"repobilityId": "a98cfb6a0e4aaa46", "scanner": "scanner-primary", "fingerprint": "af464fd9c60fe612", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8fc4c37ac35faab9", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/release.mjs:29"}, "properties": {"repobilityId": "481d906cffbd5b09", "scanner": "scanner-primary", "fingerprint": "8fc4c37ac35faab9", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-0eaf1058df3e09a4", "level": "error", "message": {"text": "Dangling fetch: GET https://api.github.com${caminho} (scripts/release.mjs:29)"}, "properties": {"repobilityId": "512ae66172f6fa7f", "scanner": "scanner-primary", "fingerprint": "0eaf1058df3e09a4", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-855f93a30778d1e4", "level": "error", "message": {"text": "Dangling fetch: POST https://uploads.github.com/repos/${REPO}/releases/${release.id}/assets?name=${encodeURIComponent(nomeAsset)} (scripts/release.mjs:65)"}, "properties": {"repobilityId": "bd2e8571d4c7b10c", "scanner": "scanner-primary", "fingerprint": "855f93a30778d1e4", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-e647d0426f31779b", "level": "note", "message": {"text": "Unused endpoint: POST /auth/entregador/login"}, "properties": {"repobilityId": "5fdf99452fc086de", "scanner": "scanner-primary", "fingerprint": "e647d0426f31779b", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-dbee366e44621abb", "level": "note", "message": {"text": "Unused endpoint: GET /entregadores/minhas-entregas"}, "properties": {"repobilityId": "c10ebb93f2300ae9", "scanner": "scanner-primary", "fingerprint": "dbee366e44621abb", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-0d634fbf8d2a91af", "level": "note", "message": {"text": "Unused endpoint: PATCH /entregadores/meu-gps"}, "properties": {"repobilityId": "51086b6b62ec71cf", "scanner": "scanner-primary", "fingerprint": "0d634fbf8d2a91af", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-463d927642926f25", "level": "note", "message": {"text": "Unused endpoint: GET /entregadores/meus-pedidos"}, "properties": {"repobilityId": "f40899f2fc64a858", "scanner": "scanner-primary", "fingerprint": "463d927642926f25", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-40cc78963d355a1a", "level": "note", "message": {"text": "Unused endpoint: PATCH /entregadores/disponibilidade"}, "properties": {"repobilityId": "c69826c661d38a04", "scanner": "scanner-primary", "fingerprint": "40cc78963d355a1a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-0973633f4ced649b", "level": "note", "message": {"text": "Unused endpoint: POST /entregadores/iniciar-rota"}, "properties": {"repobilityId": "b8d363d25b354b9b", "scanner": "scanner-primary", "fingerprint": "0973633f4ced649b", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-21e3af55901cc5d3", "level": "note", "message": {"text": "Unused endpoint: POST /entregadores/trocar-senha"}, "properties": {"repobilityId": "bfd8c1307f529213", "scanner": "scanner-primary", "fingerprint": "21e3af55901cc5d3", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-eb803a8dd10faf14", "level": "note", "message": {"text": "Unused endpoint: PATCH /entregadores/meu-fcm-token"}, "properties": {"repobilityId": "2eb5d43a46b3dae1", "scanner": "scanner-primary", "fingerprint": "eb803a8dd10faf14", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}