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.

pallets/flask

https://github.com/pallets/flask.git · scanned 2026-05-16 15:07 UTC (1 day, 6 hours ago) · 10 languages

74 findings (3 legacy + 71 scanner) 95th percentile · Python · small (2-20K LoC) Scanner says 68 (higher by 20)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

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

JSON
{# ── 2026-05-17 R27 #5: score breakdown panel ────────────────────── Surfaces the score_breakdown JSON that's been silently stored on Repository for months. Turns hidden math into a trust signal. #}
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Severity: Critical 0 High 3 Medium 6 Low 61 Source: Legacy 3 9-layer 71 Crowd 0 Layer: Quality 26 Security 7 Software 25 Frontend 1 Cicd 1 Api 14

Top 10 actions, ranked by impact × ease. Severity drives impact; tag-based fix-clarity drives ease.

#1
Flask mutation route `<anonymous>` without `@login_required` — src/flask/sansio/app.py:626
GapSeverity.HIGH Layer.SECURITY score 0.525
Why: high severity · OWASP-class risk
Fix: Add `@login_required` decorator above the route function in src/flask/sansio/app.py:626.
src/flask/sansio/app.py:626
#2
Insecure pattern 'exec_used' in src/flask/config.py:209
GapSeverity.HIGH Layer.SECURITY score 0.413
Why: high severity · OWASP-class risk
src/flask/config.py:209
#3
Insecure pattern 'eval_used' in src/flask/cli.py:1023
GapSeverity.HIGH Layer.SECURITY score 0.413
Why: high severity · OWASP-class risk
src/flask/cli.py:1023
#4
Django CBV `MethodView` lacks `LoginRequiredMixin` — src/flask/views.py:138
GapSeverity.MEDIUM Layer.SECURITY score 0.349
Why: medium severity
Fix: Add `@login_required` (function view) or `LoginRequiredMixin` (CBV) in src/flask/views.py:138.
src/flask/views.py:138
#5
No auth library detected
GapSeverity.MEDIUM Layer.SECURITY score 0.338
Why: medium severity
#6
GitHub Actions workflow grants broad write permissions
GapSeverity.MEDIUM Layer.CICD score 0.225
Why: medium severity
.github/workflows/publish.yaml
#7
Possibly dead Python function: github_link
GapSeverity.LOW Layer.SOFTWARE score 0.140
Why: low severity · clean removal is a safe PR
Fix: If genuinely unused, remove the function in docs/conf.py:72; if framework-registered, add a docstring.
docs/conf.py:72
#8
Possibly dead Python function: setup
GapSeverity.LOW Layer.SOFTWARE score 0.140
Why: low severity · clean removal is a safe PR
Fix: If genuinely unused, remove the function in docs/conf.py:100; if framework-registered, add a docstring.
docs/conf.py:100
#9
Possibly dead Python function: close_db
GapSeverity.LOW Layer.SOFTWARE score 0.140
Why: low severity · clean removal is a safe PR
Fix: If genuinely unused, remove the function in examples/tutorial/flaskr/db.py:23; if framework-registered, add a docstring.
examples/tutorial/flaskr/db.py:23
#10
Possibly dead Python function: login_required
GapSeverity.LOW Layer.SOFTWARE score 0.140
Why: low severity · clean removal is a safe PR
Fix: If genuinely unused, remove the function in examples/tutorial/flaskr/auth.py:19; if framework-registered, add a docstring.
examples/tutorial/flaskr/auth.py:19

Click "Find this gap" on any action above to jump to it on the Findings tab. Adjust the chip bar to filter by impact (severity), layer, or source.

{# ── 2026-05-17 Round 14: AI-agent bridge footer ────────────────────── Discoverability: the /agents/voting/ guide + MCP manifest exist but aren't linked from anywhere users actually land. Small, opt-in footer. #}
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/6d775c59-9374-4383-9b10-add804ee2792/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/6d775c59-9374-4383-9b10-add804ee2792/

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.