← Back to scan
File as GitHub Issue repo: nix-community/NUR

Push this scan report to nix-community/NUR

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

`self.repo` used but never assigned in __init__

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 MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… ci/nur/update.py:52
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… ci/nur/prefetch.py:110
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … ci/nur/index.py:78
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… ci/nur/error.py:1
HIGH MINED108 `self.repo` used but never assigned in __init__ ci/nur/prefetch.py:135
HIGH MINED108 `self.repo` used but never assigned in __init__ ci/nur/prefetch.py:134
HIGH MINED108 `self.repo` used but never assigned in __init__ ci/nur/prefetch.py:131
HIGH MINED108 `self.repo` used but never assigned in __init__ ci/nur/prefetch.py:126
HIGH CORE_NO_TESTS No test files found
MED COMP001 [COMP001] High cognitive complexity: Function `_find_root` has cognitive complexity 15 (S… ci/nur/path.py:12
LOW COMP001 [COMP001] High cognitive complexity: Function `resolve_source` has cognitive complexity 1… ci/nur/index.py:11
LOW COMP001 [COMP001] High cognitive complexity: Function `update_combined` has cognitive complexity … ci/nur/combine.py:120
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. ci/nur/error.py:1
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… ci/nur/error.py:2
Reset to top 5 14 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `nix-community/NUR`

**Score: 88/100 (C+)**  ·  14 findings  ·  scanned 2026-06-06 01:11 UTC  ·  980 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 9 |
| MEDIUM | 1 |
| LOW | 2 |

📊 [Full filterable report](https://repobility.com/scan/16bdfad9-4722-4992-ac5f-06c43c422493/)  ·  ![scorecard](https://repobility.com/scan/16bdfad9-4722-4992-ac5f-06c43c422493/report.png?v=1780708285-s2)

### Top findings

1. **HIGH** `MINED006` — Overcatch Baseexception
   `ci/nur/update.py:52` · CWE-705 · ✓ Repobility
2. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `ci/nur/prefetch.py:110` · A03:2021 Injection
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `ci/nur/index.py:78`
4. **HIGH** `MINED001` — Bare Except Pass
   `ci/nur/error.py:1` · CWE-755 · ✓ Repobility
5. **HIGH** `MINED108` — `self.repo` used but never assigned in __init__
   `ci/nur/prefetch.py:135` · ✓ Repobility

---

**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/16bdfad9-4722-4992-ac5f-06c43c422493/_
Megaproject â high spam risk
Could not determine 'nix-community/NUR' 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.

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.