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.

radicalgeek/Democracy

https://github.com/radicalgeek/Democracy · scanned 2026-06-15 23:45 UTC (2 months, 4 weeks ago)

152 raw signals (0 security + 152 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 4 weeks ago · v1 · 148 actionable findings from 1 signal source. 4 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 64.8/100 with 100.0% coverage. It contains 1710 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 152 findings — concentrated in api (54), quality (43), security (27). Risk profile is high: 0 critical, 7 high, 42 medium. Recommended next step: open the api layer findings first — that's where the highest-impact wins live.

Showing 125 of 148 actionable findings. 152 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: GET /uk-constituency-map.svg (modern-democracy/src/components/ConstituencyMap.tsx:409)
`modern-democracy/src/components/ConstituencyMap.tsx:409` calls `GET /uk-constituency-map.svg` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/uk-constituency-map.svg` If this points at an external API, prefix it wit…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /uk-constituency-map.svg (modern-democracy/src/components/LandingArt.tsx:73)
`modern-democracy/src/components/LandingArt.tsx:73` calls `GET /uk-constituency-map.svg` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/uk-constituency-map.svg` If this points at an external API, prefix it with `htt…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /uk-constituency-map.svg (modern-democracy/src/components/LocalAreaMap.tsx:86)
`modern-democracy/src/components/LocalAreaMap.tsx:86` calls `GET /uk-constituency-map.svg` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/uk-constituency-map.svg` If this points at an external API, prefix it with `h…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET https://www.gov.uk/api/content/government/organisations/${govukSlug} (modern-democracy/server/src/services/departments.ts:194)
`modern-democracy/server/src/services/departments.ts:194` calls `GET https://www.gov.uk/api/content/government/organisations/${govukSlug}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/https:/www.gov.uk/api/content…
Dangling fetchFetch
high System graph security security conf 1.00 Insecure pattern 'new_function_used' in Democracy/Scripts/jquery-1.10.2.js:583
Found a known-risky pattern (new_function_used). Review and replace if possible.
Democracy/Scripts/jquery-1.10.2.js:583 New function used
high System graph security security conf 1.00 Insecure pattern 'new_function_used' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2-vsdoc.js:2316
Found a known-risky pattern (new_function_used). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2-vsdoc.js:2316 New function used
high System graph security security conf 1.00 Insecure pattern 'new_function_used' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js:583
Found a known-risky pattern (new_function_used). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js:583 New function used
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — modern-democracy/src/components/LandingArt.tsx:78
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 — modern-democracy/server/src/services/civic-data.ts:841
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 — modern-democracy/server/src/services/divisions.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 — modern-democracy/server/src/services/hansard.ts:84
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 — modern-democracy/server/src/services/interests.ts:35
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 — modern-democracy/server/src/services/members.ts:36
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 — modern-democracy/src/components/LandingArt.tsx:73
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 — modern-democracy/src/lib/api.ts:270
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 authority lacks a verifier contract: modern-democracy/.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.
modern-democracy/.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 tests. 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 Tests conf 1.00 CI is configured but no tests are detected
A CI pipeline exists, but the scan found no test files to gate. Opus labeled this generated-code pattern as config theater: release machinery exists, but it has little behavioral signal.
CI/CDConfig theaterRepo hardening
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: modern-democracy/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: modern-democracy/server/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/build-images.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/jquery-1.10.2.js:1509
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/jquery-1.10.2.js:1509 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/jquery-1.10.2.min.js:21
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/jquery-1.10.2.min.js:21 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/jquery-ui-1.11.4.js:1543
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/jquery-ui-1.11.4.js:1543 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/jquery-ui-1.11.4.min.js:6
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/jquery-ui-1.11.4.min.js:6 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/MarkdownDeepEditor.js:680
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/MarkdownDeepEditor.js:680 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/modernizr-2.6.2.js:851
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/modernizr-2.6.2.js:851 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/respond.js:33
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/respond.js:33 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in Democracy/Scripts/respond.min.js:17
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
Democracy/Scripts/respond.min.js:17 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in modern-democracy/src/components/ConstituencyMap.tsx:440
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
modern-democracy/src/components/ConstituencyMap.tsx:440 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in modern-democracy/src/components/LandingArt.tsx:80
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
modern-democracy/src/components/LandingArt.tsx:80 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in modern-democracy/src/components/LocalAreaMap.tsx:101
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
modern-democracy/src/components/LocalAreaMap.tsx:101 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2-vsdoc.js:1131
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2-vsdoc.js:1131 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js:1509
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js:1509 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.min.js:21
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.min.js:21 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/jQuery.UI.Combined.1.11.4/Content/Scripts/jquery-ui-1.11.4.js:1543
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/jQuery.UI.Combined.1.11.4/Content/Scripts/jquery-ui-1.11.4.js:1543 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/jQuery.UI.Combined.1.11.4/Content/Scripts/jquery-ui-1.11.4.min.js:6
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/jQuery.UI.Combined.1.11.4/Content/Scripts/jquery-ui-1.11.4.min.js:6 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/Modernizr.2.6.2/Content/Scripts/modernizr-2.6.2.js:851
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/Modernizr.2.6.2/Content/Scripts/modernizr-2.6.2.js:851 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/Respond.1.2.0/content/Scripts/respond.js:33
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/Respond.1.2.0/content/Scripts/respond.js:33 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in packages/Respond.1.2.0/content/Scripts/respond.min.js:17
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
packages/Respond.1.2.0/content/Scripts/respond.min.js:17 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_outerhtml_assignment' in Democracy/Scripts/jquery-1.10.2.js:6404
Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible.
Democracy/Scripts/jquery-1.10.2.js:6404 Direct outerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_outerhtml_assignment' in Democracy/Scripts/jquery-1.10.2.min.js:22
Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible.
Democracy/Scripts/jquery-1.10.2.min.js:22 Direct outerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_outerhtml_assignment' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js:6404
Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js:6404 Direct outerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_outerhtml_assignment' in packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.min.js:22
Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible.
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.min.js:22 Direct outerhtml assignment
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 207 placeholder/mock markers across 18 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
0 test file(s) for 125 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Maintenance conf 1.00 59 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 19 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 5 occurrences Docker base image is tag-pinned but not digest-pinned: node:22-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
2 files, 5 locations
modern-democracy/Dockerfile:1, 5, 13 (3 hits)
modern-democracy/server/Dockerfile:1, 9 (2 hits)
containersPinned dependencies
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — Democracy/Scripts/jquery.validate-vsdoc.js:625
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 — Democracy/Scripts/jquery.validate.js:584
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 — Democracy/Scripts/jquery.validate.min.js:16
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 — modern-democracy/server/src/seed-demo.ts:18
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 — modern-democracy/server/src/services/demo-community.ts:235
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 — modern-democracy/server/src/worker.ts:21
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 — packages/jQuery.Validation.1.11.1/Content/Scripts/jquery.validate-vsdoc.js:625
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 — packages/jQuery.Validation.1.11.1/Content/Scripts/jquery.validate.js:584
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 — packages/jQuery.Validation.1.11.1/Content/Scripts/jquery.validate.min.js:16
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/auth/me
`modern-democracy/server/src/routes.ts` declares `GET /api/auth/me` 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/bills
`modern-democracy/server/src/routes.ts` declares `GET /api/bills` 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/bills/:id
`modern-democracy/server/src/routes.ts` declares `GET /api/bills/: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/bills/:id/aggregates
`modern-democracy/server/src/routes.ts` declares `GET /api/bills/:id/aggregates` 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/bills/:id/debate
`modern-democracy/server/src/routes.ts` declares `GET /api/bills/:id/debate` 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/bills/stats
`modern-democracy/server/src/routes.ts` declares `GET /api/bills/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 /api/checkpoints
`modern-democracy/server/src/routes.ts` declares `GET /api/checkpoints` 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/civic/fiscal
`modern-democracy/server/src/routes.ts` declares `GET /api/civic/fiscal` 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/civic/local
`modern-democracy/server/src/routes.ts` declares `GET /api/civic/local` 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/civic/postcode/:postcode
`modern-democracy/server/src/routes.ts` declares `GET /api/civic/postcode/:postcode` 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: GET /api/civic/sources
`modern-democracy/server/src/routes.ts` declares `GET /api/civic/sources` 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/constituencies
`modern-democracy/server/src/routes.ts` declares `GET /api/constituencies` 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/constituencies/:id/elections
`modern-democracy/server/src/routes.ts` declares `GET /api/constituencies/:id/elections` 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 /api/constituencies/:id/profile
`modern-democracy/server/src/routes.ts` declares `GET /api/constituencies/:id/profile` 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: GET /api/departments
`modern-democracy/server/src/routes.ts` declares `GET /api/departments` 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/departments/:slug
`modern-democracy/server/src/routes.ts` declares `GET /api/departments/:slug` 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/health
`modern-democracy/server/src/routes.ts` 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/insights/ballots
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/ballots` 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/insights/leader-approval
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/leader-approval` 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: GET /api/insights/leans
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/leans` 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/insights/media
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/media` 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/insights/media-articles
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/media-articles` 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/insights/media-influence
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/media-influence` 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: GET /api/insights/media-metrics
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/media-metrics` 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: GET /api/insights/mrp
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/mrp` 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/insights/national-compass
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/national-compass` 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 consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/insights/party-popularity
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/party-popularity` 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 consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/insights/polling
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/polling` 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/insights/polling/trend
`modern-democracy/server/src/routes.ts` declares `GET /api/insights/polling/trend` 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: GET /api/map/bindings
`modern-democracy/server/src/routes.ts` declares `GET /api/map/bindings` 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/parties
`modern-democracy/server/src/routes.ts` declares `GET /api/parties` 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/parties/:id/coverage
`modern-democracy/server/src/routes.ts` declares `GET /api/parties/:id/coverage` 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/parties/:id/news
`modern-democracy/server/src/routes.ts` declares `GET /api/parties/:id/news` 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/petitions
`modern-democracy/server/src/routes.ts` declares `GET /api/petitions` 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/petitions/:id
`modern-democracy/server/src/routes.ts` declares `GET /api/petitions/: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/postcode/:postcode
`modern-democracy/server/src/routes.ts` declares `GET /api/postcode/:postcode` 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/receipts/:code/verify
`modern-democracy/server/src/routes.ts` declares `GET /api/receipts/:code/verify` 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: GET /api/representatives
`modern-democracy/server/src/routes.ts` declares `GET /api/representatives` 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/representatives/:id
`modern-democracy/server/src/routes.ts` declares `GET /api/representatives/: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/representatives/:id/interests
`modern-democracy/server/src/routes.ts` declares `GET /api/representatives/:id/interests` 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 c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/status
`modern-democracy/server/src/routes.ts` declares `GET /api/status` 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/admin/import/civic-data
`modern-democracy/server/src/routes.ts` declares `POST /api/admin/import/civic-data` 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 /api/auth/login
`modern-democracy/server/src/routes.ts` declares `POST /api/auth/login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/auth/register
`modern-democracy/server/src/routes.ts` declares `POST /api/auth/register` 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/auth/verify
`modern-democracy/server/src/routes.ts` declares `POST /api/auth/verify` 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/bills/:id/analyze
`modern-democracy/server/src/routes.ts` declares `POST /api/bills/:id/analyze` 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/bills/:id/ballots
`modern-democracy/server/src/routes.ts` declares `POST /api/bills/:id/ballots` 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/bills/:id/credential
`modern-democracy/server/src/routes.ts` declares `POST /api/bills/:id/credential` 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 /api/petitions/:id/debate
`modern-democracy/server/src/routes.ts` declares `POST /api/petitions/:id/debate` 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 /api/petitions/:id/vote
`modern-democracy/server/src/routes.ts` declares `POST /api/petitions/:id/vote` 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: Democracy/Scripts/bootstrap.js (2317 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: Democracy/Scripts/jquery-1.10.2.intellisense.js (2671 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: Democracy/Scripts/jquery-1.10.2.js (9803 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: Democracy/Scripts/jquery-ui-1.11.4.js (16616 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: Democracy/Scripts/jquery.fileupload.js (1467 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: Democracy/Scripts/MarkdownDeep.js (4381 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: Democracy/Scripts/modernizr-2.6.2.js (1416 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: packages/bootstrap.3.3.4/content/Scripts/bootstrap.js (2317 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2-vsdoc.js (6747 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js (9803 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: packages/jQuery.1.10.2/Tools/jquery-1.10.2.intellisense.js (2671 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: packages/jQuery.UI.Combined.1.11.4/Content/Scripts/jquery-ui-1.11.4.js (16616 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: packages/Modernizr.2.6.2/Content/Scripts/modernizr-2.6.2.js (1416 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/197686f5-c738-42d0-befa-0b3c7957b25d/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/197686f5-c738-42d0-befa-0b3c7957b25d/

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.