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.

dubinc/dub

https://github.com/dubinc/dub · scanned 2026-05-16 12:50 UTC (1 day, 7 hours ago) · 10 languages

831 findings (12 legacy + 819 scanner) 2/10 scanners ran 16th percentile · Typescript · large (100-500K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 3 days, 1 hour ago · v1 · 823 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
{# ── 2026-05-17 R27 #5: score breakdown panel ────────────────────── Surfaces the score_breakdown JSON that's been silently stored on Repository for months. Turns hidden math into a trust signal. #}
Score breakdown â 2026-05-14-v3-backfill
Component Sub-score Weight Contribution
structure_score 60.0 0.15 9.00
security_score 100.0 0.25 25.00
testing_score 20.0 0.20 4.00
documentation_score 60.0 0.15 9.00
practices_score 65.0 0.15 9.75
code_quality 80.0 0.10 8.00
Overall 1.00 64.8
security_score may be inflated — optional scanners skipped due to repo size/fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all

Bug-class explainers. Each card groups findings of the same shape — these are the patterns most likely to ship to prod and reappear in future scans unless you systematically fix the cause, not just the instance.

Fragile runtime 158 findings
What it is: Code that runs but breaks under predictable input — division by zero, missing keys, unbounded loops, off-by-one slicing.
Why it matters: Reaches production undetected because happy-path tests pass. First user with a weird input crashes the request.
How AI causes it: AI loves writing the happy path; doesn't probe edge cases unless explicitly asked.
Fix approach: Add property-based tests. Wrap external inputs with explicit validators. Use the framework's typed deserializer (Pydantic, attrs).
12 matching findings on this repo
  • medium [ERR002] Empty Catch Block: Empty catch blocks hide errors. apps/web/ui/links/link-builder/use-metatags.ts:60
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/application-analytics…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/remove-oauth-a…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/remove-workspa…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/tag-link-modal…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/saml-modal.tsx…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/archive-domain…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/update-workspa…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/add-payment-me…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/update-partner…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/import-bitly-m…
  • medium `fetch()` without try/.catch or AbortSignal — apps/web/ui/modals/domain-auto-re…
View all fragile runtime findings →
Legacy markers 9 findings
What it is: TODO, FIXME, XXX, HACK comments. Often indicate a known-broken path the author meant to fix.
Why it matters: Each marker is an unfinished thought. Production code shouldn't ship with debt that's documented but not tracked.
How AI causes it: AI mirrors the style of the codebase, so existing TODOs propagate into new code.
Fix approach: Convert each into a ticket. Delete the comment when the ticket lands. Use a pre-commit hook to block new TODOs without an issue link.
9 matching findings on this repo
  • low Legacy-named symbol `IntegrationHarnessOld` in apps/web/tests/analytics/partner…
  • low Legacy-named symbol `LinkSchemaOld` in apps/web/tests/utils/schema.ts:1
  • low Legacy-named symbol `IntegrationHarnessOld` in apps/web/tests/utils/integration…
  • low Legacy-named symbol `IntegrationHarnessOld` in apps/web/tests/links/create-link…
  • low Legacy-named symbol `PageContentOld` in apps/web/ui/layout/settings-layout.tsx:3
  • low Legacy-named symbol `PageContentOld` in apps/web/ui/layout/page-content/page-co…
  • low Legacy-named symbol `fromLegacy` in apps/web/ui/partners/confirm-payouts-sheet.…
  • low Legacy-named symbol `prismaOld` in apps/web/scripts/misc/restore-program-enroll…
  • low Legacy-named symbol `PageContentOld` in apps/web/app/app.dub.co/(dashboard)/[sl…
View all legacy markers findings →
Commented-out code 19 findings
What it is: Lines of source that were intentionally disabled but never deleted.
Why it matters: Git already remembers history — commented code rots, becomes wrong, and adds noise to diffs.
How AI causes it: AI sometimes comments out broken code instead of fixing it. Reviewers approve out of inertia.
Fix approach: Delete. Trust `git log`. If you really need to remember, save it in a notes file under `docs/`.
12 matching findings on this repo
  • info Commented-code block (13 lines) in apps/web/tests/tracks/track-click.test.ts:170
  • info Commented-code block (5 lines) in apps/web/ui/modals/link-builder/index.tsx:287
  • info Commented-code block (10 lines) in apps/web/ui/partners/eligibility-requirement…
  • info Commented-code block (7 lines) in apps/web/ui/partners/program-eligibility-card…
  • info Commented-code block (7 lines) in apps/web/scripts/customers/annature/import-do…
  • info Commented-code block (5 lines) in apps/web/app/api/analytics/route.ts:111
  • info Commented-code block (5 lines) in apps/web/app/(ee)/api/cron/payouts/balance-av…
  • info Commented-code block (6 lines) in apps/web/app/(ee)/api/cron/cleanup/expired-to…
  • info Commented-code block (6 lines) in apps/web/app/(ee)/api/stripe/webhook/utils/up…
  • info Commented-code block (5 lines) in apps/web/app/(ee)/api/track/application/route…
  • info Commented-code block (5 lines) in apps/web/app/app.dub.co/(dashboard)/[slug]/(e…
  • info Commented-code block (5 lines) in apps/web/app/app.dub.co/(dashboard)/[slug]/(e…
View all commented-out code findings →
Config drift 18 findings
What it is: Settings duplicated across env files, Docker compose, K8s, and code defaults, all with slightly different values.
Why it matters: Production behaviour depends on whichever copy your loader reads first. Subtle bugs in staging that don't reproduce in dev.
How AI causes it: AI writes new config from memory rather than reading the existing source.
Fix approach: Pick one source of truth (env vars + a settings module). Have every other place import from there. Lint for duplicates in CI.
12 matching findings on this repo
  • low File has no detected symbols: prettier.config.js
  • low File has no detected symbols: apps/web/playwright.config.ts
  • low File has no detected symbols: apps/web/tailwind.config.ts
  • low File has no detected symbols: apps/web/next.config.js
  • low File has no detected symbols: apps/web/postcss.config.js
  • low File has no detected symbols: apps/web/vitest.config.ts
  • info `truncate` class without `title=` for hover reveal — apps/web/ui/partners/progr…
  • medium `dangerouslySetInnerHTML` used in a React component — apps/web/ui/domains/domai…
  • low Stray `console.log` in TS/JS — apps/web/lib/edge-config/is-blacklisted-domain.t…
  • low Stray `console.log` in TS/JS — packages/cli/src/commands/config.ts:19
  • info TODO/FIXME marker in shipping code — packages/tailwind-config/tailwind.config.t…
  • medium Insecure pattern 'dangerous_innerhtml' in apps/web/ui/domains/domain-configurat… apps/web/ui/domains/domain-configuration.tsx:129
View all config drift findings →
{# ── 2026-05-17 Round 14: AI-agent bridge footer ────────────────────── Discoverability: the /agents/voting/ guide + MCP manifest exist but aren't linked from anywhere users actually land. Small, opt-in footer. #}
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/e8971222-160d-42f1-967c-5e0c4aa69c35/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/e8971222-160d-42f1-967c-5e0c4aa69c35/

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.