Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

Davi-Guedes-TRK/Scraper

https://github.com/Davi-Guedes-TRK/Scraper · scanned 2026-06-17 01:26 UTC (1 month, 2 weeks ago)

124 raw signals (0 security + 124 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ -24.3 (diff) · 107 actionable findings from 1 signal source. 17 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 52.4/100 with 100.0% coverage. It contains 1127 nodes across 6 cross-layer flows, written primarily in mixed languages. Engine surfaced 124 findings — concentrated in quality (51), api (40), frontend (26). Risk profile is high: 0 critical, 35 high, 24 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 81 of 107 actionable findings. 124 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph api Wiring conf 1.00 Dangling fetch: DELETE /api/relatorio (app/(app)/relatorio/relatorio-client.tsx:692)
`app/(app)/relatorio/relatorio-client.tsx:692` calls `DELETE /api/relatorio` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/relatorio` If this points at an external API, prefix it with `https://` so the matcher skip…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/analitico/funil-inquilinos?${p} (app/(app)/analitico/funil-inquilinos/funil-inquilinos-client.tsx:166)
`app/(app)/analitico/funil-inquilinos/funil-inquilinos-client.tsx:166` calls `GET /api/analitico/funil-inquilinos?${p}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/analitico/funil-inquilinos` If this points at an…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/empreendimentos (app/(app)/scrapers/scrapers-client.tsx:485)
`app/(app)/scrapers/scrapers-client.tsx:485` calls `GET /api/empreendimentos` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/empreendimentos` If this points at an external API, prefix it with `https://` so the match…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/empreendimentos?${params} (app/(app)/lancamentos/lancamentos-client.tsx:223)
`app/(app)/lancamentos/lancamentos-client.tsx:223` calls `GET /api/empreendimentos?${params}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/empreendimentos` If this points at an external API, prefix it with `https:…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/empreendimentos?stats=1 (components/topbar.tsx:55)
`components/topbar.tsx:55` calls `GET /api/empreendimentos?stats=1` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/empreendimentos` If this points at an external API, prefix it with `https://` so the matcher skips i…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/pipefy/funil?${p} (app/(app)/analitico/funil/funil-client.tsx:317)
`app/(app)/analitico/funil/funil-client.tsx:317` calls `GET /api/pipefy/funil?${p}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/pipefy/funil` If this points at an external API, prefix it with `https://` so the ma…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/pregao (app/(app)/pregao/pregao-client.tsx:35)
`app/(app)/pregao/pregao-client.tsx:35` calls `GET /api/pregao` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/pregao` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/relatorio (app/(app)/relatorio/relatorio-client.tsx:490)
`app/(app)/relatorio/relatorio-client.tsx:490` calls `GET /api/relatorio` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/relatorio` If this points at an external API, prefix it with `https://` so the matcher skips i…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/scrapers/logs?portal=${portal.key} (app/(app)/scrapers/scrapers-client.tsx:143)
`app/(app)/scrapers/scrapers-client.tsx:143` calls `GET /api/scrapers/logs?portal=${portal.key}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/scrapers/logs` If this points at an external API, prefix it with `https…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/scrapers/stats?portal=${portal.key} (app/(app)/scrapers/scrapers-client.tsx:130)
`app/(app)/scrapers/scrapers-client.tsx:130` calls `GET /api/scrapers/stats?portal=${portal.key}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/scrapers/stats` If this points at an external API, prefix it with `htt…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/triagem (app/(app)/triagem/triagem-client.tsx:803)
`app/(app)/triagem/triagem-client.tsx:803` calls `GET /api/triagem` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/triagem` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/triagem/detalhe?link=${encodeURIComponent(item.link)} (app/(app)/triagem/triagem-client.tsx:253)
`app/(app)/triagem/triagem-client.tsx:253` calls `GET /api/triagem/detalhe?link=${encodeURIComponent(item.link)}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/triagem/detalhe` If this points at an external API, pr…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/visitas (app/(app)/visitas/visitas-client.tsx:251)
`app/(app)/visitas/visitas-client.tsx:251` calls `GET /api/visitas` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/visitas` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET https://nominatim.openstreetmap.org/reverse?lat=${lat}&lon=${lng}&format=json (app/api/in-loco/geo/route.ts:51)
`app/api/in-loco/geo/route.ts:51` calls `GET https://nominatim.openstreetmap.org/reverse?lat=${lat}&lon=${lng}&format=json` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/https:/nominatim.openstreetmap.org/reverse` …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET https://nominatim.openstreetmap.org/reverse?lat=${lat}&lon=${lng}&format=json (app/api/resolve-maps/route.ts:28)
`app/api/resolve-maps/route.ts:28` calls `GET https://nominatim.openstreetmap.org/reverse?lat=${lat}&lon=${lng}&format=json` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/https:/nominatim.openstreetmap.org/reverse`…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/relatorio (app/(app)/relatorio/relatorio-client.tsx:520)
`app/(app)/relatorio/relatorio-client.tsx:520` calls `PATCH /api/relatorio` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/relatorio` If this points at an external API, prefix it with `https://` so the matcher skips…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/relatorio (app/(app)/relatorio/relatorio-client.tsx:600)
`app/(app)/relatorio/relatorio-client.tsx:600` calls `PATCH /api/relatorio` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/relatorio` If this points at an external API, prefix it with `https://` so the matcher skips…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/relatorio (app/(app)/relatorio/relatorio-client.tsx:625)
`app/(app)/relatorio/relatorio-client.tsx:625` calls `PATCH /api/relatorio` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/relatorio` If this points at an external API, prefix it with `https://` so the matcher skips…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/relatorio (app/(app)/relatorio/relatorio-client.tsx:641)
`app/(app)/relatorio/relatorio-client.tsx:641` calls `PATCH /api/relatorio` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/relatorio` If this points at an external API, prefix it with `https://` so the matcher skips…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/triagem (app/(app)/triagem/triagem-client.tsx:884)
`app/(app)/triagem/triagem-client.tsx:884` calls `PATCH /api/triagem` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/triagem` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/triagem (app/(app)/triagem/triagem-client.tsx:958)
`app/(app)/triagem/triagem-client.tsx:958` calls `PATCH /api/triagem` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/triagem` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/visitas (app/(app)/visitas/visitas-client.tsx:291)
`app/(app)/visitas/visitas-client.tsx:291` calls `PATCH /api/visitas` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/visitas` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/busca-pessoa (app/(app)/busca-pessoa/busca-client.tsx:135)
`app/(app)/busca-pessoa/busca-client.tsx:135` calls `POST /api/busca-pessoa` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/busca-pessoa` If this points at an external API, prefix it with `https://` so the matcher s…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/captacao/curadoria (app/(app)/captacao/captacao-client.tsx:144)
`app/(app)/captacao/captacao-client.tsx:144` calls `POST /api/captacao/curadoria` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/captacao/curadoria` If this points at an external API, prefix it with `https://` so th…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/cartorio/enviar-email (app/(app)/relatorio/relatorio-client.tsx:357)
`app/(app)/relatorio/relatorio-client.tsx:357` calls `POST /api/cartorio/enviar-email` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/cartorio/enviar-email` If this points at an external API, prefix it with `https:/…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/geoportal/candidatos (app/(app)/geoportal/geoportal-client.tsx:70)
`app/(app)/geoportal/geoportal-client.tsx:70` calls `POST /api/geoportal/candidatos` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/geoportal/candidatos` If this points at an external API, prefix it with `https://` …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/geoportal/candidatos (app/(app)/triagem/triagem-client.tsx:265)
`app/(app)/triagem/triagem-client.tsx:265` calls `POST /api/geoportal/candidatos` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/geoportal/candidatos` If this points at an external API, prefix it with `https://` so …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/in-loco/geo (app/(app)/in-loco/in-loco-client.tsx:183)
`app/(app)/in-loco/in-loco-client.tsx:183` calls `POST /api/in-loco/geo` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/in-loco/geo` If this points at an external API, prefix it with `https://` so the matcher skips …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/in-loco/geo (app/(app)/in-loco/revisar/revisar-client.tsx:122)
`app/(app)/in-loco/revisar/revisar-client.tsx:122` calls `POST /api/in-loco/geo` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/in-loco/geo` If this points at an external API, prefix it with `https://` so the matche…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/pipefy/card (app/(app)/triagem/triagem-client.tsx:910)
`app/(app)/triagem/triagem-client.tsx:910` calls `POST /api/pipefy/card` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/pipefy/card` If this points at an external API, prefix it with `https://` so the matcher skips …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/pipefy/preencher (app/(app)/relatorio/relatorio-client.tsx:665)
`app/(app)/relatorio/relatorio-client.tsx:665` calls `POST /api/pipefy/preencher` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/pipefy/preencher` If this points at an external API, prefix it with `https://` so the …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/resolve-maps (app/(app)/triagem/triagem-client.tsx:233)
`app/(app)/triagem/triagem-client.tsx:233` calls `POST /api/resolve-maps` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/resolve-maps` If this points at an external API, prefix it with `https://` so the matcher skip…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST https://api.pipefy.com/graphql (scripts/_discover_onus_pipe.mjs:12)
`scripts/_discover_onus_pipe.mjs:12` calls `POST https://api.pipefy.com/graphql` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/https:/api.pipefy.com/graphql` If this points at an external API, prefix it with `https…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST https://api.pipefy.com/graphql (scripts/_discover_oportunidades_fields.mjs:9)
`scripts/_discover_oportunidades_fields.mjs:9` calls `POST https://api.pipefy.com/graphql` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/https:/api.pipefy.com/graphql` If this points at an external API, prefix it w…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST https://api.pipefy.com/graphql (scripts/_register_pipefy_webhook.mjs:16)
`scripts/_register_pipefy_webhook.mjs:16` calls `POST https://api.pipefy.com/graphql` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/https:/api.pipefy.com/graphql` If this points at an external API, prefix it with `…
Dangling fetchFetch
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — app/(app)/analitico/funil/funil-client.tsx:317
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — app/(app)/triagem/triagem-client.tsx:265
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — app/(app)/visitas/visitas-client.tsx:321
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — app/api/geocodificar/route.ts:12
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — lib/cpf-lookup.ts:94
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — lib/pipefy-sync.ts:71
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — lib/pipefy-update.ts:12
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — lib/pipefy.ts:53
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — lib/wfs-idedf.ts:75
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — scripts/_discover_onus_pipe.mjs:12
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — scripts/_discover_oportunidades_fields.mjs:9
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — scripts/_register_pipefy_webhook.mjs:16
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — scripts/enriquecer_qualificacao.ts:51
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — server.js:186
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
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.
Repo hardeningGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
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.
Mock dataCritical flowGenerated repo pattern
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in app/api/pipefy/preencher/route.ts:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
app/api/pipefy/preencher/route.ts:2 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in app/api/scrapers/run/route.ts:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
app/api/scrapers/run/route.ts:2 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in server.js:4
Found a known-risky pattern (node_child_process). Review and replace if possible.
server.js:4 Node child process
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/pipefy_portal_fill.py:145
`requests.post(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/sync_corretor_captacoes.py:211
`requests.post(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 38 placeholder/mock markers across 16 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph network Security conf 1.00 Privileged port 14 in use
Port 14 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
.github/workflows/auto-cartorio-2oficio.yml Ports
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
2 test file(s) for 190 source file(s) (ratio 0.01). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Integrity conf 1.00 14 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `DW_DATABASE_URL`, `DW_TRK_URL`, `GCHAT_WEBHOOK_URL`, `GITHUB_OUTPUT`, `GIT_DIR`, `NEXT_PUBLIC_SITE_URL`, `NODE_ENV`, `PIPEFY_SESSION_B64` + 6 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 190 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — app/(app)/scrapers/scrapers-client.tsx:75
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — app/(app)/triagem/matricula-modal.tsx:115
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — app/(app)/triagem/triagem-client.tsx:174
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph quality Agent instructions conf 1.00 Multiple root agent instruction files without precedence
The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies.
Governance
low System graph quality Integrity conf 1.00 14 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scripts/paulo_octavio_sync.py:scrape, scripts/elar_sync.py:scrape This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
14 occurrences
repo-level (14 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: scripts/paulo_octavio_sync.py:upsert, scripts/greenhouse_sync.py:upsert, scripts/direcional_sync.py:upsert, scripts/riva_sync.py:upsert This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene).…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: scripts/paulo_octavio_sync.py:get, scripts/greenhouse_sync.py:get, scripts/direcional_sync.py:get, scripts/chaves_sync.py:get This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolida…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph software Dead code conf 1.00 Possibly dead Python function: pct
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/lotus_sync.py:45
low System graph software Dead code conf 1.00 Possibly dead Python function: rank
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/dedup_phash.py:186
low System graph software Dead code conf 1.00 Possibly dead Python function: tarefa
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/validar_links.py:145
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — app/api/pipefy/route.ts:89
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — scripts/enriquecer_qualificacao.ts:89
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — server.js:118
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/health
`server.js` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/scrapers/run
`server.js` declares `GET /api/scrapers/run` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/analisar-imagens
`server.js` declares `POST /api/analisar-imagens` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/extrair-pistas
`server.js` declares `POST /api/extrair-pistas` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: USE /fotos
`server.js` declares `USE /fotos` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: app/(app)/triagem/triagem-client.tsx (1228 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/3ec2abc9-dd0f-4d04-91af-ea20a9baf6f2/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/3ec2abc9-dd0f-4d04-91af-ea20a9baf6f2/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.