← Back to scan
File as GitHub Issue repo: donnemartin/system-design-primer

Push this scan report to donnemartin/system-design-primer

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.mapper` 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
CRIT MINED107 Missing import: `queue` used but not imported solutions/system_design/social_graph/so…:17
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… solutions/system_design/pastebin/pasteb…:8
HIGH MINED108 `self.manual_overrides` used but never assigned in __init__ solutions/system_design/mint/mint_snipp…:31
HIGH MINED108 `self.reducer` used but never assigned in __init__ solutions/system_design/mint/mint_mapre…:52
HIGH MINED108 `self.mapper` used but never assigned in __init__ solutions/system_design/mint/mint_mapre…:51
HIGH MINED108 `self.mr` used but never assigned in __init__ solutions/system_design/mint/mint_mapre…:51
HIGH MINED108 `self.handle_budget_notifications` used but never assigned in __init__ solutions/system_design/mint/mint_mapre…:45
HIGH MINED108 `self.current_year_month` used but never assigned in __init__ solutions/system_design/mint/mint_mapre…:35
HIGH MINED108 `self.extract_year_month` used but never assigned in __init__ solutions/system_design/mint/mint_mapre…:34
HIGH MINED108 `self._find_available_spot` used but never assigned in __init__ solutions/object_oriented_design/parkin…:87
HIGH MINED108 `self._dispatch_call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:104
HIGH MINED108 `self._dispatch_call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:102
HIGH MINED108 `self._dispatch_call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:100
HIGH MINED108 `self._escalate_call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:60
HIGH MINED108 `self.call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:59
HIGH MINED108 `self._escalate_call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:50
HIGH MINED108 `self.call` used but never assigned in __init__ solutions/object_oriented_design/call_c…:49
HIGH MINED108 `self.possible_scores` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:86
HIGH MINED108 `self._value` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:56
HIGH MINED108 `self._value` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:51
HIGH MINED108 `self.is_face_card` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:48
HIGH MINED108 `self.is_ace` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:46
HIGH MINED108 `self._value` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:42
HIGH MINED108 `self._value` used but never assigned in __init__ solutions/object_oriented_design/deck_o…:38
HIGH MINED108 `self._hash_function` used but never assigned in __init__ solutions/object_oriented_design/hash_t…:33
HIGH MINED108 `self._hash_function` used but never assigned in __init__ solutions/object_oriented_design/hash_t…:26
HIGH MINED108 `self._hash_function` used but never assigned in __init__ solutions/object_oriented_design/hash_t…:18
HIGH CORE_NO_TESTS No test files found
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… solutions/object_oriented_design/call_c…:68
MED CORE_NO_CI No CI/CD configuration found
LOW COMP001 [COMP001] High cognitive complexity: Function `bfs` has cognitive complexity 9 (SonarSour… solutions/system_design/social_graph/so…:13
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… solutions/object_oriented_design/lru_ca…:15
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… solutions/object_oriented_design/deck_o…:24
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… solutions/object_oriented_design/call_c…:34
Reset to top 5 34 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `donnemartin/system-design-primer`

**Score: 82/100 (C+)**  ·  34 findings  ·  scanned 2026-05-24 01:22 UTC  ·  1,062 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 27 |
| MEDIUM | 2 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/9642fd45-eaae-4159-ae42-d3a6e365cee6/)  ·  ![scorecard](https://repobility.com/scan/9642fd45-eaae-4159-ae42-d3a6e365cee6/report.png?v=1779585747-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `queue` used but not imported
   `solutions/system_design/social_graph/social_graph_snippets.py:17` · ✓ Repobility
2. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `solutions/system_design/pastebin/pastebin.py:8` · A10:2021 SSRF
3. **HIGH** `MINED108` — `self.manual_overrides` used but never assigned in __init__
   `solutions/system_design/mint/mint_snippets.py:31` · ✓ Repobility
4. **HIGH** `MINED108` — `self.reducer` used but never assigned in __init__
   `solutions/system_design/mint/mint_mapreduce.py:52` · ✓ Repobility
5. **HIGH** `MINED108` — `self.mapper` used but never assigned in __init__
   `solutions/system_design/mint/mint_mapreduce.py:51` · ✓ 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/9642fd45-eaae-4159-ae42-d3a6e365cee6/_
Premium account
This scan was submitted by a Enterprise-tier account. Premium accounts have full outreach control â Repobility doesn't pre-fill the 'file as GitHub issue' button for paid users. You can still file the issue manually using the markdown body above (Copy markdown), or contact us if you'd like batch-filing enabled for your account.
Megaproject â high spam risk
Could not determine 'donnemartin/system-design-primer' 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.