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.

cosmofolio23/cosmfolio

https://github.com/cosmofolio23/cosmfolio · scanned 2026-06-17 01:51 UTC (1 month, 1 week ago)

199 raw signals (0 security + 199 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ -22.0 (diff) · 183 actionable findings from 1 signal source. 16 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 54.7/100 with 100.0% coverage. It contains 2691 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 199 findings — concentrated in api (51), quality (44), frontend (39). Risk profile is high: 2 critical, 24 high, 36 medium. Recommended next step: open the api layer findings first — that's where the highest-impact wins live.

Showing 162 of 183 actionable findings. 199 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.

critical System graph security Secrets conf 1.00 Possible secret in netlify.toml
Detected pattern matching generic_api_key. Rotate the credential and move to a secret manager.
netlify.toml:11
critical System graph security Secrets conf 1.00 Runtime dotenv file present in repo: backend/.env.production
`backend/.env.production` looks like a runtime dotenv file. It contains secret-looking assignments for SECRET_KEY, SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, REPLICATE_API_TOKEN. Move real values to a secret manager and keep only `.env.example` style templates in source control.
backend/.env.production ConfigEnv fileRuntime env
high System graph security Agent instructions conf 1.00 Agent instruction/config may expose a secret: .claude/settings.local.json
Agent-facing files are routinely pasted into LLM/tool contexts. Move literal tokens, keys, and passwords into a secret manager or document them as placeholders only.
.claude/settings.local.json:76 SecretsClaude instruction
high System graph quality Integrity conf 1.00 Blocking `requests.post(...)` inside `async def register` — backend/routes/auth.py:125
Sync I/O inside an async function blocks the event loop. While `requests.post(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_t…
backend/routes/auth.py:125 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.post(...)` inside `async def signin` — backend/routes/auth.py:209
Sync I/O inside an async function blocks the event loop. While `requests.post(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_t…
backend/routes/auth.py:209 Sync io in asyncPerformance
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/portfolios/${portfolioId}/download (frontend/src/components/ShareModal/ShareModal.tsx:141)
`frontend/src/components/ShareModal/ShareModal.tsx:141` calls `POST /api/portfolios/${portfolioId}/download` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/portfolios/<p>/download` If this points at an external API,…
Dangling fetchFetch
high System graph security auth conf 1.00 FastAPI DELETE `delete_portfolio` without auth dependency — frontend/src/lib/backend/portfolio_api.py:52
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
frontend/src/lib/backend/portfolio_api.py:52 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_project` without auth dependency — backend/routes/projects.py:68
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/projects.py:68 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_portfolio` without auth dependency — frontend/src/lib/backend/portfolio_api.py:45
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
frontend/src/lib/backend/portfolio_api.py:45 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `add_feedback` without auth dependency — backend/routes/sheets.py:445
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/sheets.py:445 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `analyze_project_assets` without auth dependency — backend/routes/projects.py:78
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/projects.py:78 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `batch_create_pages` without auth dependency — frontend/src/lib/backend/portfolio_api.py:74
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
frontend/src/lib/backend/portfolio_api.py:74 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `check_storage_health` without auth dependency — backend/routes/documents.py:64
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/documents.py:64 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_page` without auth dependency — frontend/src/lib/backend/portfolio_api.py:60
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
frontend/src/lib/backend/portfolio_api.py:60 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_portfolio` without auth dependency — frontend/src/lib/backend/portfolio_api.py:32
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
frontend/src/lib/backend/portfolio_api.py:32 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_project` without auth dependency — backend/routes/projects.py:23
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/projects.py:23 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `export_document_as_pdf` without auth dependency — backend/routes/documents.py:85
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/documents.py:85 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `log_download` without auth dependency — backend/routes/portfolios.py:737
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/portfolios.py:737 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `log_share` without auth dependency — backend/routes/portfolios.py:720
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/portfolios.py:720 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `log_view` without auth dependency — backend/routes/portfolios.py:703
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/portfolios.py:703 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `publish_project` without auth dependency — backend/routes/projects.py:108
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/projects.py:108 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `signin` without auth dependency — backend/routes/auth.py:189
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/auth.py:189 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `unpublish_project` without auth dependency — backend/routes/projects.py:142
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/projects.py:142 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `verify_token` without auth dependency — backend/routes/auth.py:278
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/auth.py:278 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `save_document` without auth dependency — backend/routes/documents.py:32
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/documents.py:32 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_project` without auth dependency — backend/routes/projects.py:55
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/routes/projects.py:55 securityAuth fastapi unauth mutation
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/app/dashboard/tools/concept-diagram/page.tsx:679
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/app/dashboard/tools/cv/page.tsx:375
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/app/dashboard/tools/entourage/page.tsx:286
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/app/dashboard/tools/scale-north/page.tsx:141
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/app/dashboard/tools/site-analysis/page.tsx:325
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/components/SheetEditor/SheetEditor.tsx:720
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/components/sheetSet/SheetSetEntouragePanel.tsx:126
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/components/siteAnalysis/MapAnnotator.tsx:349
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — frontend/src/app/dashboard/portfolio-book/[id]/page.tsx: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 — frontend/src/app/dashboard/project/[id]/generate/page.tsx:97
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 — frontend/src/app/dashboard/project/[id]/portfolio/[portfolioId]/page.tsx:134
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 — frontend/src/app/dashboard/templates/[id]/editor/page.tsx:202
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 — frontend/src/app/dashboard/templates/page.tsx:793
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 — frontend/src/components/portfolio-wizard/PortfolioWizard.tsx: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 — frontend/src/components/PortfolioPreview/PortfolioPreview.tsx:126
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 — frontend/src/lib/firebase.ts:44
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 — frontend/src/lib/presentationExport.ts:242
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 authority lacks a verifier contract: .claude/launch.json
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.
.claude/launch.json VerificationClaude instruction
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 hardware Security conf 1.00 Dockerfile runs as root: backend/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in backend/main.py:32
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
backend/main.py:32 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in backend/middleware/cache_headers.py:153
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
backend/middleware/cache_headers.py:153 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/app/dashboard/tools/concept-diagram/page.tsx:679
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/app/dashboard/tools/concept-diagram/page.tsx:679 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/app/dashboard/tools/cv/page.tsx:375
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/app/dashboard/tools/cv/page.tsx:375 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/app/dashboard/tools/entourage/page.tsx:286
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/app/dashboard/tools/entourage/page.tsx:286 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/app/dashboard/tools/scale-north/page.tsx:141
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/app/dashboard/tools/scale-north/page.tsx:141 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/app/dashboard/tools/site-analysis/page.tsx:325
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/app/dashboard/tools/site-analysis/page.tsx:325 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/components/SheetEditor/SheetEditor.tsx:720
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/components/SheetEditor/SheetEditor.tsx:720 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/components/sheetSet/SheetSetEntouragePanel.tsx:126
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/components/sheetSet/SheetSetEntouragePanel.tsx:126 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/components/siteAnalysis/MapAnnotator.tsx:349
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/components/siteAnalysis/MapAnnotator.tsx:349 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/lib/api.ts:34
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/lib/api.ts:34 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/store/auth.ts:37
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/store/auth.ts:37 Local storage auth token
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 175 placeholder/mock markers across 51 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 quality Tests conf 1.00 Very low test-to-source ratio
7 test file(s) for 229 source file(s) (ratio 0.03). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Integrity conf 1.00 12 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `DEFAULT_ENTITLEMENTS_GRANT_ALL`, `ENABLE_VISION_TAGGING`, `FIREBASE_SERVICE_ACCOUNT_KEY`, `NEXT_PUBLIC_FIREBASE_API_KEY`, `NEXT_PUBLIC_FIREBASE_APP_ID`, `NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN`, `NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID`, `NEXT_PUBLIC_F…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 245 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 hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.11-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:2 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.11-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
backend/Dockerfile:1 containersPinned dependencies
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — frontend/src/app/dashboard/tools/cv/page.tsx:310
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 — frontend/src/components/AssetManager/AssetManager.tsx:367
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 — frontend/src/components/AssetManager/AssetVersionHistory.tsx:93
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 — frontend/src/components/Modal.tsx:60
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 — frontend/src/components/siteAnalysis/MapAnnotator.tsx:192
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 — frontend/src/components/ThemeManager/ThemeManager.tsx:376
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 security security conf 1.00 Insecure pattern 'document_write' in frontend/src/app/dashboard/project/[id]/sheet/editor/page.tsx:42
Found a known-risky pattern (document_write). Review and replace if possible.
frontend/src/app/dashboard/project/[id]/sheet/editor/page.tsx:42 Document write
low System graph security security conf 1.00 Insecure pattern 'document_write' in frontend/src/app/dashboard/project/[id]/sheet/page.tsx:343
Found a known-risky pattern (document_write). Review and replace if possible.
frontend/src/app/dashboard/project/[id]/sheet/page.tsx:343 Document write
low System graph security security conf 1.00 Insecure pattern 'document_write' in frontend/src/app/dashboard/tools/cv/page.tsx:220
Found a known-risky pattern (document_write). Review and replace if possible.
frontend/src/app/dashboard/tools/cv/page.tsx:220 Document write
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: backend/middleware/security.py:dispatch, backend/middleware/security.py:dispatch 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 3 places
Functions with the same first-5-line body hash: backend/routes/design_system.py:analyze_design_system, backend/routes/design_system.py:export_as_css, backend/routes/design_system.py:export_as_json This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-c…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: backend/routes/sheets.py:generate_title, backend/routes/sheets.py:generate_description, backend/routes/sheets.py:generate_narrative, backend/routes/sheets.py:generate_jury_script This is *the* AI-coder failure mode (4× more duplication in vibe-coded …
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: backend/error_handlers.py:validation_exception_handler, backend/error_handlers.py:auth_exception_handler, backend/error_handlers.py:authz_exception_handler, backend/error_handlers.py:notfound_exception_handler This is *the* AI-coder failure mode (4× …
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 quality Integrity conf 1.00 Old/deprecated-named symbol `list_objects_v2` in backend/services/storage.py:467
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: check_budget
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/middleware/rate_limit.py:349
low System graph software Dead code conf 1.00 Possibly dead Python function: check_suspicious
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/middleware/security.py:345
low System graph software Dead code conf 1.00 Possibly dead Python function: cleanup_expired_sessions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/upload.py:312
low System graph software Dead code conf 1.00 Possibly dead Python function: complete_resumable_upload
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/upload.py:261
low System graph software Dead code conf 1.00 Possibly dead Python function: create_default_compatibility_mappings
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/scripts/import_templates.py:209
low System graph software Dead code conf 1.00 Possibly dead Python function: create_upload_session
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/upload.py:220
low System graph software Dead code conf 1.00 Possibly dead Python function: decorator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/middleware/rate_limit.py:243
low System graph software Dead code conf 1.00 Possibly dead Python function: init_supabase
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/database.py:170
low System graph software Dead code conf 1.00 Possibly dead Python function: mark_suspicious
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/middleware/security.py:349
low System graph software Dead code conf 1.00 Possibly dead Python function: project_asymmetric
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:185
low System graph software Dead code conf 1.00 Possibly dead Python function: project_blueprint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:311
low System graph software Dead code conf 1.00 Possibly dead Python function: project_fullbleed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:240
low System graph software Dead code conf 1.00 Possibly dead Python function: project_gallery_wall
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:282
low System graph software Dead code conf 1.00 Possibly dead Python function: project_grid_3col
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:137
low System graph software Dead code conf 1.00 Possibly dead Python function: project_hero_image
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:117
low System graph software Dead code conf 1.00 Possibly dead Python function: project_masonry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:223
low System graph software Dead code conf 1.00 Possibly dead Python function: project_plan_section
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:154
low System graph software Dead code conf 1.00 Possibly dead Python function: project_story_timeline
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:352
low System graph software Dead code conf 1.00 Possibly dead Python function: project_two_col_text
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/portfolio_renderer.py:256
low System graph software Dead code conf 1.00 Possibly dead Python function: rate_limit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/middleware/rate_limit.py:233
low System graph software Dead code conf 1.00 Possibly dead Python function: setup_error_handlers
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/error_handlers.py:145
low System graph software Dead code conf 1.00 Possibly dead Python function: upload_chunk
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/upload.py:241
low System graph software Dead code conf 1.00 Possibly dead Python function: verify_checksum
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/services/upload.py:383
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — frontend/src/app/dashboard/project/[id]/portfolio/[portfolioId]/page.tsx:549
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 — frontend/src/app/dashboard/templates/[id]/editor/page.tsx:930
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 — frontend/src/lib/firebase.ts:165
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/import-direct.js:14
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/import-templates.js:25
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/setup-tables.js:17
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: DELETE /api/projects/{project_id}
`backend/routes/projects.py` declares `DELETE /api/projects/{project_id}` 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: DELETE /api/projects/{project_id}/sheet-sets/{set_id}
`backend/routes/sheet_sets.py` declares `DELETE /api/projects/{project_id}/sheet-sets/{set_id}` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{portfolio_id}
`backend/routes/portfolios_v2.py` declares `DELETE /{portfolio_id}` 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 /
`backend/main.py` declares `GET /` 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 /ai-tones
`backend/routes/ai_generation.py` declares `GET /ai-tones` 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/projects
`backend/routes/projects.py` declares `GET /api/projects` 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/projects/{project_id}
`backend/routes/projects.py` declares `GET /api/projects/{project_id}` 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/projects/{project_id}/document
`backend/routes/documents.py` declares `GET /api/projects/{project_id}/document` 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 i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/projects/{project_id}/sheet-sets
`backend/routes/sheet_sets.py` declares `GET /api/projects/{project_id}/sheet-sets` 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 consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/projects/{project_id}/sheet-sets/{set_id}
`backend/routes/sheet_sets.py` declares `GET /api/projects/{project_id}/sheet-sets/{set_id}` 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 wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/sheet-sets
`backend/routes/sheet_sets.py` declares `GET /api/sheet-sets` 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 /compatibility/{portfolio_id}
`backend/routes/templates.py` declares `GET /compatibility/{portfolio_id}` 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 /docs
`backend/main.py` declares `GET /docs` 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 /portfolios
`backend/routes/templates.py` declares `GET /portfolios` 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 /portfolios/categories
`backend/routes/templates.py` declares `GET /portfolios/categories` 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 /portfolios/{template_id}
`backend/routes/templates.py` declares `GET /portfolios/{template_id}` 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 /sheets
`backend/routes/templates.py` declares `GET /sheets` 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 /sheets/formats
`backend/routes/templates.py` declares `GET /sheets/formats` 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 /sheets/types
`backend/routes/templates.py` declares `GET /sheets/types` 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 /sheets/{template_id}
`backend/routes/templates.py` declares `GET /sheets/{template_id}` 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 /stats
`backend/routes/templates.py` declares `GET /stats` 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 /{portfolio_id}
`backend/routes/portfolios_v2.py` declares `GET /{portfolio_id}` 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 /{portfolio_id}/assets/{asset_id}/versions
`backend/routes/versioning.py` declares `GET /{portfolio_id}/assets/{asset_id}/versions` 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 co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{portfolio_id}/assets/{asset_id}/versions/{version_a}/compare/{version_b}
`backend/routes/versioning.py` declares `GET /{portfolio_id}/assets/{asset_id}/versions/{version_a}/compare/{version_b}` 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 — conside…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{portfolio_id}/assets/{asset_id}/versions/{version_num}
`backend/routes/versioning.py` declares `GET /{portfolio_id}/assets/{asset_id}/versions/{version_num}` 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 docu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{portfolio_id}/public
`backend/routes/portfolios_v2.py` declares `GET /{portfolio_id}/public` 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 /{portfolio_id}/settings
`backend/routes/portfolios_v2.py` declares `GET /{portfolio_id}/settings` 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 /{portfolio_id}/versions/statistics
`backend/routes/versioning.py` declares `GET /{portfolio_id}/versions/statistics` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /
`backend/routes/portfolios_v2.py` declares `POST /` 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/projects
`backend/routes/projects.py` declares `POST /api/projects` 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/projects/{project_id}/analyze-assets
`backend/routes/projects.py` declares `POST /api/projects/{project_id}/analyze-assets` 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 cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/projects/{project_id}/document/export-pdf
`backend/routes/documents.py` declares `POST /api/projects/{project_id}/document/export-pdf` 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 wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/projects/{project_id}/document/health
`backend/routes/documents.py` declares `POST /api/projects/{project_id}/document/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 co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/projects/{project_id}/sheet-sets
`backend/routes/sheet_sets.py` declares `POST /api/projects/{project_id}/sheet-sets` 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 consum…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /portfolios/{template_id}/apply/{portfolio_id}
`backend/routes/templates.py` declares `POST /portfolios/{template_id}/apply/{portfolio_id}` 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 wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/analyze-content
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/analyze-content` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/assets/{asset_id}/generate-caption
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/assets/{asset_id}/generate-caption` 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 docume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/assets/{asset_id}/versions/cleanup
`backend/routes/versioning.py` declares `POST /{portfolio_id}/assets/{asset_id}/versions/cleanup` 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 documenti…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/assets/{asset_id}/versions/{version_num}/restore
`backend/routes/versioning.py` declares `POST /{portfolio_id}/assets/{asset_id}/versions/{version_num}/restore` 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 removin…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/generate-bio
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/generate-bio` 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 /{portfolio_id}/generate-taglines
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/generate-taglines` 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 consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/improve-text
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/improve-text` 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 /{portfolio_id}/projects/{project_id}/generate-concept
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/projects/{project_id}/generate-concept` 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 do…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/projects/{project_id}/generate-description
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/projects/{project_id}/generate-description` 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 o…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{portfolio_id}/projects/{project_id}/suggest-titles
`backend/routes/ai_generation.py` declares `POST /{portfolio_id}/projects/{project_id}/suggest-titles` 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 docu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /api/projects/{project_id}
`backend/routes/projects.py` declares `PUT /api/projects/{project_id}` 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: PUT /api/projects/{project_id}/document
`backend/routes/documents.py` declares `PUT /api/projects/{project_id}/document` 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 i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /api/projects/{project_id}/sheet-sets/{set_id}
`backend/routes/sheet_sets.py` declares `PUT /api/projects/{project_id}/sheet-sets/{set_id}` 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 wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /{portfolio_id}
`backend/routes/portfolios_v2.py` declares `PUT /{portfolio_id}` 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: PUT /{portfolio_id}/settings
`backend/routes/portfolios_v2.py` declares `PUT /{portfolio_id}/settings` 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: backend/services/portfolio_renderer.py (933 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: frontend/src/app/dashboard/templates/[id]/editor/page.tsx (1215 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/f1c1d473-b54a-4191-bbf5-573660244d5c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f1c1d473-b54a-4191-bbf5-573660244d5c/

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.