← Back to scan
File as GitHub Issue repo: pallets/flask

Push this scan report to pallets/flask

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Detected a Generic API Key, potentially exposing access to various services and sensitive

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/config.rst:587
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/config.rst:578
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/config.rst:560
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/config.rst:513
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/config.rst:41
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/tutorial/deploy.rst:73
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … examples/tutorial/flaskr/__init__.py:21
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… examples/javascript/js_example/views.py:14
HIGH MINED108 `self.from_pyfile` used but never assigned in __init__ src/flask/config.py:124
HIGH MINED108 `self.files` used but never assigned in __init__ src/flask/wrappers.py:206
HIGH MINED108 `self.mimetype` used but never assigned in __init__ src/flask/wrappers.py:205
HIGH MINED108 `self.blueprint` used but never assigned in __init__ src/flask/wrappers.py:190
HIGH MINED108 `self.endpoint` used but never assigned in __init__ src/flask/wrappers.py:173
HIGH MINED108 `self._copy_environ` used but never assigned in __init__ src/flask/testing.py:220
HIGH MINED108 `self._copy_environ` used but never assigned in __init__ src/flask/testing.py:225
HIGH MINED108 `self._copy_environ` used but never assigned in __init__ src/flask/testing.py:216
HIGH MINED108 `self._request_from_builder_args` used but never assigned in __init__ src/flask/testing.py:228
HIGH MINED108 `self._copy_environ` used but never assigned in __init__ src/flask/testing.py:196
HIGH MINED108 `self._update_cookies_from_response` used but never assigned in __init__ src/flask/testing.py:179
HIGH MINED108 `self._add_cookies_to_wsgi` used but never assigned in __init__ src/flask/testing.py:162
HIGH MINED108 `self._cookies` used but never assigned in __init__ src/flask/testing.py:155
HIGH MINED108 `self.run` used but never assigned in __init__ examples/celery/src/task_app/__init__.py:33
HIGH MINED106 Phantom test coverage: test_apps tests/conftest.py:72
HIGH PYSEC-2026-161 starlette: PYSEC-2026-161 uv.lock
HIGH GHSA-2g68-c3qc-8985 werkzeug: GHSA-2g68-c3qc-8985 examples/celery/requirements.txt
HIGH PYSEC-2023-221 werkzeug: PYSEC-2023-221 examples/celery/requirements.txt
HIGH MINED112 FastAPI POST /process has no auth examples/celery/src/task_app/views.py:36
HIGH MINED112 FastAPI POST /block has no auth examples/celery/src/task_app/views.py:30
HIGH MINED112 FastAPI POST /add has no auth examples/celery/src/task_app/views.py:22
MED MINED111 Bare except continues silently src/flask/cli.py:650
MED MINED111 Bare except continues silently src/flask/cli.py:956
MED MINED111 Bare except continues silently src/flask/app.py:1598
MED MINED111 Bare except continues silently src/flask/app.py:1017
MED COMP001 [COMP001] High cognitive complexity: Function `explain_template_loading_attempts` has cog… src/flask/debughelpers.py:124
MED COMP001 [COMP001] High cognitive complexity: Function `_dump_loader_info` has cognitive complexit… src/flask/debughelpers.py:107
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DEPCUR-PY Python package `werkzeug` is 1 major version(s) behind (2.3.3 -> 3.1.8) examples/celery/requirements.txt:57
MED DEPCUR-PY Python package `redis` is 4 major version(s) behind (4.5.4 -> 8.0.0) examples/celery/requirements.txt:46
MED DEPCUR-PY Python package `pytz` is 3 major version(s) behind (2023.3 -> 2026.2) examples/celery/requirements.txt:44
MED DEPCUR-PY Python package `markupsafe` is 1 major version(s) behind (2.1.2 -> 3.0.3) examples/celery/requirements.txt:38
MED DEPCUR-PY Python package `flask` is 1 major version(s) behind (2.3.2 -> 3.1.3) examples/celery/requirements.txt:30
MED DEPCUR-PY Python package `billiard` is 1 major version(s) behind (3.6.4.0 -> 4.2.4) examples/celery/requirements.txt:11
MED DEPCUR-PY Python package `async-timeout` is 1 major version(s) behind (4.0.2 -> 5.0.1) examples/celery/requirements.txt:9
MED GHSA-q34m-jh98-gwm2 werkzeug: GHSA-q34m-jh98-gwm2 examples/celery/requirements.txt
MED GHSA-hgf8-39gv-g3f2 werkzeug: GHSA-hgf8-39gv-g3f2 examples/celery/requirements.txt
MED GHSA-f9vj-2wh5-fj8j werkzeug: GHSA-f9vj-2wh5-fj8j examples/celery/requirements.txt
MED GHSA-87hc-h4r5-73f7 werkzeug: GHSA-87hc-h4r5-73f7 examples/celery/requirements.txt
MED GHSA-29vq-49wr-vm6x werkzeug: GHSA-29vq-49wr-vm6x examples/celery/requirements.txt
MED GHSA-q2x7-8rv6-6q7h jinja2: GHSA-q2x7-8rv6-6q7h examples/celery/requirements.txt
MED GHSA-h75v-3vvj-5mfj jinja2: GHSA-h75v-3vvj-5mfj examples/celery/requirements.txt
MED GHSA-h5c8-rqwp-cp95 jinja2: GHSA-h5c8-rqwp-cp95 examples/celery/requirements.txt
MED GHSA-gmj6-6f8f-6699 jinja2: GHSA-gmj6-6f8f-6699 examples/celery/requirements.txt
MED GHSA-cpwx-vrp4-4pq7 jinja2: GHSA-cpwx-vrp4-4pq7 examples/celery/requirements.txt
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 20.0% of discovered …
LOW COMP001 [COMP001] High cognitive complexity: Function `register` has cognitive complexity 10 (Son… examples/tutorial/flaskr/auth.py:47
LOW DEPCUR-PY Python package `wcwidth` is minor version(s) behind (0.2.6 -> 0.7.0) examples/celery/requirements.txt:55
LOW DEPCUR-PY Python package `vine` is minor version(s) behind (5.0.0 -> 5.1.0) examples/celery/requirements.txt:50
LOW DEPCUR-PY Python package `six` is minor version(s) behind (1.16.0 -> 1.17.0) examples/celery/requirements.txt:48
LOW DEPCUR-PY Python package `kombu` is minor version(s) behind (5.2.4 -> 5.6.2) examples/celery/requirements.txt:36
LOW DEPCUR-PY Python package `itsdangerous` is minor version(s) behind (2.1.2 -> 2.2.0) examples/celery/requirements.txt:32
LOW DEPCUR-PY Python package `click-repl` is minor version(s) behind (0.2.0 -> 0.3.0) examples/celery/requirements.txt:28
LOW DEPCUR-PY Python package `click` is minor version(s) behind (8.1.3 -> 8.4.1) examples/celery/requirements.txt:17
LOW DEPCUR-PY Python package `celery` is minor version(s) behind (5.2.7 -> 5.6.3) examples/celery/requirements.txt:15
LOW DEPCUR-PY Python package `blinker` is minor version(s) behind (1.6.2 -> 1.9.0) examples/celery/requirements.txt:13
LOW DEPCUR-PY Python package `amqp` is minor version(s) behind (5.1.1 -> 5.3.1) examples/celery/requirements.txt:7
LOW GHSA-68rp-wp8r-4726 flask: GHSA-68rp-wp8r-4726 examples/celery/requirements.txt
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src/flask/views.py:83
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src/flask/json/tag.py:75
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src/flask/json/provider.py:47
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… .devcontainer/on-create-command.sh:5
INFO DEPCUR-PY Python package `prompt-toolkit` is patch version(s) behind (3.0.38 -> 3.0.52) examples/celery/requirements.txt:42
INFO DEPCUR-PY Python package `jinja2` is patch version(s) behind (3.1.2 -> 3.1.6) examples/celery/requirements.txt:34
INFO DEPCUR-PY Python package `click-didyoumean` is patch version(s) behind (0.3.0 -> 0.3.1) examples/celery/requirements.txt:24
Reset to top 5 74 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `pallets/flask`

**Score: 72/100 (B+)**  ·  112 findings  ·  scanned 2026-06-04 21:59 UTC  ·  18,337 LOC

| Severity | Count |
|---|---|
| CRITICAL | 6 |
| HIGH | 23 |
| MEDIUM | 26 |
| LOW | 12 |

📊 [Full filterable report](https://repobility.com/scan/36f0902f-1f35-47f9-80e0-336870c8415f/)  ·  ![scorecard](https://repobility.com/scan/36f0902f-1f35-47f9-80e0-336870c8415f/report.png?v=1780610356-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/config.rst:587`
2. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/config.rst:578`
3. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/config.rst:560`
4. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/config.rst:513`
5. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/config.rst:41`

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/36f0902f-1f35-47f9-80e0-336870c8415f/_
Already filed
'pallets' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Megaproject â high spam risk
Could not determine 'pallets/flask' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
86/113 findings (76%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.