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

Push this scan report to pallets/click

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

Async function without await — fire-and-forget Promise (AI mistake)

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
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… examples/validation/validation.py:12
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… src/click/_winconsole.py:209
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… examples/aliases/aliases.py:22
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … examples/termui/termui.py:100
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … examples/aliases/aliases.py:15
HIGH MINED108 `self._process_args_for_args` used but never assigned in __init__ src/click/parser.py:310
HIGH MINED108 `self._process_args_for_options` used but never assigned in __init__ src/click/parser.py:309
HIGH MINED108 `self.encoding` used but never assigned in __init__ src/click/_winconsole.py:224
HIGH MINED108 `self.name` used but never assigned in __init__ src/click/_winconsole.py:224
HIGH MINED108 `self.write` used but never assigned in __init__ src/click/_winconsole.py:215
HIGH MINED108 `self.flush` used but never assigned in __init__ src/click/_winconsole.py:208
HIGH MINED108 `self._get_error_message` used but never assigned in __init__ src/click/_winconsole.py:191
HIGH MINED108 `self.handle` used but never assigned in __init__ src/click/_winconsole.py:182
HIGH MINED108 `self.handle` used but never assigned in __init__ src/click/_winconsole.py:146
HIGH MINED108 `self.log` used but never assigned in __init__ examples/complex/complex/cli.py:24
HIGH MINED108 `self.fail` used but never assigned in __init__ examples/validation/validation.py:19
HIGH MINED108 `self.list_commands` used but never assigned in __init__ examples/aliases/aliases.py:62
HIGH MINED108 `self.list_commands` used but never assigned in __init__ tests/typing/typing_aliased_group.py:15
HIGH COMP001 [COMP001] High cognitive complexity: Function `_wrap_chunks` has cognitive complexity 53 … src/click/_textwrap.py:66
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… src/click/_winconsole.py:209
MED MINED111 Bare except continues silently src/click/core.py:2631
MED MINED111 Bare except continues silently src/click/_compat.py:137
MED MINED111 Bare except continues silently src/click/_compat.py:598
MED MINED111 Bare except continues silently src/click/_compat.py:533
MED MINED111 Bare except continues silently src/click/_compat.py:147
MED MINED111 Bare except continues silently src/click/_compat.py:134
MED MINED111 Bare except continues silently src/click/_compat.py:122
MED MINED111 Bare except continues silently src/click/_compat.py:580
MED MINED111 Bare except continues silently src/click/_compat.py:164
MED MINED111 Bare except continues silently src/click/_compat.py:155
MED MINED111 Bare except continues silently src/click/testing.py:669
MED MINED111 Bare except continues silently examples/imagepipe/imagepipe.py:117
MED MINED111 Bare except continues silently examples/imagepipe/imagepipe.py:97
MED COMP001 [COMP001] High cognitive complexity: Function `menu` has cognitive complexity 18 (SonarSo… examples/termui/termui.py:145
LOW COMP001 [COMP001] High cognitive complexity: Function `commit` has cognitive complexity 8 (SonarS… examples/repo/repo.py:126
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… examples/imagepipe/imagepipe.py:39
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… examples/completion/completion.py:9
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… examples/aliases/aliases.py:23
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… .devcontainer/on-create-command.sh:5
Reset to top 5 39 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

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

**Score: 93/100 (A-)**  ·  77 findings  ·  scanned 2026-05-19 23:33 UTC  ·  25,788 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 19 |
| MEDIUM | 15 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/06b7bfba-0fb7-413a-8216-cd07ee9c4a7f/)  ·  ![scorecard](https://repobility.com/scan/06b7bfba-0fb7-413a-8216-cd07ee9c4a7f/report.png?v=1779233621-s2)

### Top findings

1. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `examples/validation/validation.py:12` · A10:2021 SSRF
2. **HIGH** `MINED001` — Bare Except Pass
   `src/click/_winconsole.py:209` · CWE-755 · ✓ Repobility
3. **HIGH** `MINED001` — Bare Except Pass
   `examples/aliases/aliases.py:22` · CWE-755 · ✓ Repobility
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `examples/termui/termui.py:100`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `examples/aliases/aliases.py:15`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/06b7bfba-0fb7-413a-8216-cd07ee9c4a7f/_
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/click' 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
53/79 findings (67%) 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.