← Back to scan
File as GitHub Issue repo: rust-lang/rustlings

Push this scan report to rust-lang/rustlings

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

Rust Unwrap In Prod

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 MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. exercises/18_iterators/iterators2.rs:10
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. exercises/18_iterators/iterators1.rs:16
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. exercises/17_tests/tests3.rs:32
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … exercises/11_hashmaps/hashmaps3.rs:25
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … exercises/11_hashmaps/hashmaps2.rs:56
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … exercises/06_move_semantics/move_semant…:8
HIGH MINED115 Action `rvben/rumdl` pinned to mutable ref `@v0` .github/workflows/rust.yml:56
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/rust.yml:55
HIGH MINED115 Action `swatinem/rust-cache` pinned to mutable ref `@v2` .github/workflows/rust.yml:49
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/rust.yml:48
HIGH MINED115 Action `swatinem/rust-cache` pinned to mutable ref `@v2` .github/workflows/rust.yml:40
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/rust.yml:39
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/rust.yml:30
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/rust.yml:24
HIGH MINED115 Action `actions/deploy-pages` pinned to mutable ref `@v5` .github/workflows/website.yml:50
HIGH MINED115 Action `actions/upload-pages-artifact` pinned to mutable ref `@v5` .github/workflows/website.yml:34
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/website.yml:24
HIGH MINED115 Action `rvben/rumdl` pinned to mutable ref `@v0` .github/workflows/website.yml:16
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/website.yml:15
LOW AIC003 Duplicated implementation block across source files solutions/18_iterators/iterators5.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/18_iterators/iterators3.rs:27
LOW AIC003 Duplicated implementation block across source files solutions/18_iterators/iterators2.rs:13
LOW AIC003 Duplicated implementation block across source files solutions/17_tests/tests3.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/15_traits/traits5.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/15_traits/traits4.rs:11
LOW AIC003 Duplicated implementation block across source files solutions/15_traits/traits3.rs:14
LOW AIC003 Duplicated implementation block across source files solutions/15_traits/traits1.rs:8
LOW AIC003 Duplicated implementation block across source files solutions/14_generics/generics2.rs:6
LOW AIC003 Duplicated implementation block across source files solutions/13_error_handling/errors6.rs:26
LOW AIC003 Duplicated implementation block across source files solutions/13_error_handling/errors5.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/13_error_handling/errors4.rs:14
LOW AIC003 Duplicated implementation block across source files solutions/13_error_handling/errors2.rs:10
LOW AIC003 Duplicated implementation block across source files solutions/13_error_handling/errors1.rs:7
LOW AIC003 Duplicated implementation block across source files solutions/11_hashmaps/hashmaps3.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/11_hashmaps/hashmaps2.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/11_hashmaps/hashmaps1.rs:7
LOW AIC003 Duplicated implementation block across source files solutions/10_modules/modules2.rs:4
LOW AIC003 Duplicated implementation block across source files solutions/09_strings/strings3.rs:9
LOW AIC003 Duplicated implementation block across source files solutions/08_enums/enums3.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/08_enums/enums2.rs:11
LOW AIC003 Duplicated implementation block across source files solutions/07_structs/structs3.rs:14
LOW AIC003 Duplicated implementation block across source files solutions/07_structs/structs2.rs:1
LOW AIC003 Duplicated implementation block across source files solutions/06_move_semantics/move_semant…:2
LOW AIC003 Duplicated implementation block across source files solutions/06_move_semantics/move_semant…:3
LOW AIC003 Duplicated implementation block across source files solutions/05_vecs/vecs2.rs:5
LOW AIC003 Duplicated implementation block across source files solutions/05_vecs/vecs1.rs:3
LOW AIC003 Duplicated implementation block across source files solutions/03_if/if3.rs:10
LOW AIC003 Duplicated implementation block across source files solutions/03_if/if2.rs:9
LOW AIC003 Duplicated implementation block across source files solutions/03_if/if1.rs:3
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. src/embedded.rs:157
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. rustlings-macros/src/lib.rs:27
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… exercises/11_hashmaps/hashmaps2.rs:92
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… exercises/10_modules/modules3.rs:11
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… exercises/04_primitive_types/primitive_…:9
Reset to top 5 54 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `rust-lang/rustlings`

**Score: 88/100 (B-)**  ·  54 findings  ·  scanned 2026-06-05 09:10 UTC  ·  11,700 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 19 |
| MEDIUM | 0 |
| LOW | 30 |

📊 [Full filterable report](https://repobility.com/scan/ffd4e990-d761-4de8-b2f8-4bc6ab97aee4/)  ·  ![scorecard](https://repobility.com/scan/ffd4e990-d761-4de8-b2f8-4bc6ab97aee4/report.png?v=1780650602-s2)

### Top findings

1. **HIGH** `MINED039` — Rust Todo Macro
   `exercises/18_iterators/iterators2.rs:10` · CWE-1188 · ✓ Repobility
2. **HIGH** `MINED039` — Rust Todo Macro
   `exercises/18_iterators/iterators1.rs:16` · CWE-1188 · ✓ Repobility
3. **HIGH** `MINED039` — Rust Todo Macro
   `exercises/17_tests/tests3.rs:32` · CWE-1188 · ✓ Repobility
4. **HIGH** `MINED003` — Rust Unwrap In Prod
   `exercises/11_hashmaps/hashmaps3.rs:25` · CWE-755 · ✓ Repobility
5. **HIGH** `MINED003` — Rust Unwrap In Prod
   `exercises/11_hashmaps/hashmaps2.rs:56` · CWE-755 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/ffd4e990-d761-4de8-b2f8-4bc6ab97aee4/_
Already filed
'rust-lang' 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 'rust-lang/rustlings' 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.