← Back to scan
File as GitHub Issue repo: tock/tock

Push this scan report to tock/tock

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

Phantom test coverage: test_inserting

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 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… tools/debugging-and-development/svd2reg…:306
CRIT MINED107 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… tools/svd2regs/svd2regs.py:306
HIGH MINED108 [MINED108] `self.__evaluate_encoded` used but never assigned in __init__: Method `recv_ou… tools/debugging-and-development/check_p…:73
HIGH MINED106 [MINED106] Phantom test coverage: test_deleting_with: Test function `test_deleting_with` … tools/debugging-and-development/check_p…:523
HIGH MINED106 [MINED106] Phantom test coverage: test_inserting: Test function `test_inserting` runs cod… tools/debugging-and-development/check_p…:488
HIGH MINED106 [MINED106] Phantom test coverage: test_deleting_with: Test function `test_deleting_with` … tools/debugging-and-development/check_p…:349
HIGH MINED106 [MINED106] Phantom test coverage: test_command_history_edit: Test function `test_command_… tools/debugging-and-development/check_p…:483
HIGH MINED106 [MINED106] Phantom test coverage: test_newline_return: Test function `test_newline_return… tools/debugging-and-development/check_p…:435
HIGH MINED106 [MINED106] Phantom test coverage: test_cariage_return: Test function `test_cariage_return… tools/debugging-and-development/check_p…:387
HIGH MINED106 [MINED106] Phantom test coverage: test_deleting: Test function `test_deleting` runs code … tools/debugging-and-development/check_p…:344
HIGH MINED106 [MINED106] Phantom test coverage: test_inserting: Test function `test_inserting` runs cod… tools/debugging-and-development/check_p…:316
HIGH MINED106 [MINED106] Phantom test coverage: test_inserting_in_middle: Test function `test_inserting… tools/debugging-and-development/check_p…:294
HIGH MINED106 [MINED106] Phantom test coverage: test_inserting_at_start: Test function `test_inserting_… tools/debugging-and-development/check_p…:273
HIGH MINED106 [MINED106] Phantom test coverage: test_inserting_at_end: Test function `test_inserting_at… tools/debugging-and-development/check_p…:253
HIGH MINED106 [MINED106] Phantom test coverage: test_command_history_api: Test function `test_command_h… tools/debugging-and-development/check_p…:205
HIGH MINED106 [MINED106] Phantom test coverage: test_fill_command_history: Test function `test_fill_com… tools/debugging-and-development/check_p…:185
HIGH MINED106 [MINED106] Phantom test coverage: test_open_serial_port: Test function `test_open_serial_… tools/debugging-and-development/check_p…:166
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… tools/debugging-and-development/embedde…:188
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. tools/ci/netlify-build.sh:20
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … capsules/system/src/debug_writer/uart_d…:134
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … boards/components/src/thread_network.rs:269
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … boards/components/src/lpm013m126.rs:147
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … boards/build_scripts/src/default.rs:46
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… arch/cortex-m0p/src/lib.rs:41
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… arch/cortex-m/src/support.rs:48
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… arch/cortex-m/src/dma_fence.rs:80
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 40 (SonarSo… tools/ci/diff_memory_usage.py:11
HIGH COMP001 [COMP001] High cognitive complexity: Function `find_implemented_capsules` has cognitive c… tools/ci/check-capsule-readme.py:40
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/ci-nightly.yml:51
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci-nightly.yml:36
HIGH MINED115 [MINED115] Action `actions/labeler` pinned to mutable ref `@v4.3.0`: `uses: actions/label… .github/workflows/labeler.yml:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/mergequeue_docs.yml:31
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:206
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:188
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:158
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/ci.yml:138
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:64
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:53
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v3`: `uses: actions/setup-… .github/workflows/ci.yml:36
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:35
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v4`: `uses: actions/setu… .github/workflows/benchmarks.yml:29
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/benchmarks.yml:27
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v5`: `uses: actions/setu… .github/workflows/tockbot-nightly.yml:126
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/tockbot-nightly.yml:123
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v5`: `uses: actions/setu… .github/workflows/tockbot-nightly.yml:92
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/tockbot-nightly.yml:89
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/tockbot-nightly.yml:36
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/litex_sim.yml:100
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/litex_sim.yml:65
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/litex_sim.yml:42
HIGH MINED115 [MINED115] Action `tock/tock-hardware-ci/.github/workflows/treadmill-ci.yml` pinned to mu… .github/workflows/treadmill-ci.yml:133
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/treadmill-ci.yml:94
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/treadmill-ci.yml:86
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… boards/apollo3/ambiq/ambiq_bin2board.py:425
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/debugging-and-development/find_pa…:377
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/debugging-and-development/find_pa…:394
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … chips/rp2040/src/pio_gspi.rs:218
MED AGT015 Remote install command pipes network code directly to a shell tools/ci/netlify-build.sh:20
MED AGT015 Remote install command pipes network code directly to a shell doc/Getting_Started.md:38
MED AGT015 Remote install command pipes network code directly to a shell boards/microbit_v2/README.md:24
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. tools/debugging-and-development/embedde…:52
LOW COMP001 [COMP001] High cognitive complexity: Function `task_stale_pr_assign` has cognitive comple… tools/ci/tockbot/tockbot.py:83
LOW AIC003 Duplicated implementation block across source files boards/configurations/nrf52840dk/nrf528…:2
LOW AIC003 Duplicated implementation block across source files boards/configurations/nrf52840dk/nrf528…:74
LOW AIC003 Duplicated implementation block across source files boards/configurations/nrf52840dk/nrf528…:72
LOW AIC003 Duplicated implementation block across source files boards/configurations/microbit_v2/micro…:147
LOW AIC003 Duplicated implementation block across source files boards/configurations/microbit_v2/micro…:146
LOW AIC003 Duplicated implementation block across source files boards/components/src/udp_driver.rs:20
LOW AIC003 Duplicated implementation block across source files boards/clue_nrf52840/src/main.rs:608
LOW AIC003 Duplicated implementation block across source files boards/clue_nrf52840/src/main.rs:602
LOW AIC003 Duplicated implementation block across source files boards/clue_nrf52840/src/main.rs:165
LOW AIC003 Duplicated implementation block across source files boards/arty_e21/src/main.rs:220
LOW AIC003 Duplicated implementation block across source files boards/arty_e21/src/main.rs:63
LOW AIC003 Duplicated implementation block across source files boards/apollo3/redboard_artemis_nano/sr…:44
LOW AIC003 Duplicated implementation block across source files boards/apollo3/redboard_artemis_nano/sr…:10
LOW AIC003 Duplicated implementation block across source files boards/apollo3/redboard_artemis_nano/sr…:16
LOW AIC003 Duplicated implementation block across source files boards/apollo3/redboard_artemis_nano/sr…:1
LOW AIC003 Duplicated implementation block across source files boards/apollo3/redboard_artemis_atp/src…:84
LOW AIC003 Duplicated implementation block across source files boards/apollo3/redboard_artemis_atp/src…:1
LOW AIC003 Duplicated implementation block across source files arch/riscv/src/csr/mip.rs:4
LOW AIC003 Duplicated implementation block across source files arch/cortex-v7m/src/lib.rs:117
LOW AIC003 Duplicated implementation block across source files arch/cortex-v7m/src/lib.rs:82
LOW AIC003 Duplicated implementation block across source files arch/cortex-m7/src/lib.rs:30
LOW AIC003 Duplicated implementation block across source files arch/cortex-m7/src/lib.rs:21
LOW AIC003 Duplicated implementation block across source files arch/cortex-m4f/src/lib.rs:32
LOW AIC003 Duplicated implementation block across source files arch/cortex-m4f/src/lib.rs:23
LOW AIC003 Duplicated implementation block across source files arch/cortex-m4/src/lib.rs:31
LOW AIC003 Duplicated implementation block across source files arch/cortex-m4/src/lib.rs:22
LOW AIC003 Duplicated implementation block across source files arch/cortex-m33/src/mpu_v8m.rs:280
LOW AIC003 Duplicated implementation block across source files arch/cortex-m33/src/lib.rs:33
LOW AIC003 Duplicated implementation block across source files arch/cortex-m33/src/lib.rs:24
LOW AIC003 Duplicated implementation block across source files arch/cortex-m3/src/lib.rs:31
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. tools/ci/diff_memory_usage.py:78
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. chips/virtio/src/devices/virtio_input.rs:104
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. chips/litex/src/liteeth.rs:192
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. boards/build_scripts/src/default.rs:117
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… boards/components/src/bus.rs:144
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… boards/build_scripts/src/default.rs:25
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… arch/x86/src/interrupts/handlers.rs:16
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… arch/cortex-m/src/nvic.rs:123
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… arch/cortex-m/src/dma_fence.rs:41
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… arch/cortex-m/src/dcb.rs:96
Reset to top 5 102 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `tock/tock`

**Score: 83/100 (B-)**  ·  102 findings  ·  scanned 2026-06-06 00:51 UTC  ·  365,196 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 51 |
| MEDIUM | 8 |
| LOW | 31 |

📊 [Full filterable report](https://repobility.com/scan/c0959f70-06b2-4a06-a3db-a45c1498ba13/)  ·  ![scorecard](https://repobility.com/scan/c0959f70-06b2-4a06-a3db-a45c1498ba13/report.png?v=1780707090-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `enum` used but not imported
   `tools/debugging-and-development/svd2regs/svd2regs.py:306` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `enum` used but not imported
   `tools/svd2regs/svd2regs.py:306` · ✓ Repobility
3. **HIGH** `MINED108` — `self.__evaluate_encoded` used but never assigned in __init__
   `tools/debugging-and-development/check_process_console.py:73` · ✓ Repobility
4. **HIGH** `MINED106` — Phantom test coverage: test_deleting_with
   `tools/debugging-and-development/check_process_console.py:523` · ✓ Repobility
5. **HIGH** `MINED106` — Phantom test coverage: test_inserting
   `tools/debugging-and-development/check_process_console.py:488` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/c0959f70-06b2-4a06-a3db-a45c1498ba13/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 2 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'tock/tock' 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.