The official firmware for Meshtastic, an open-source, off-grid mesh communication system.
This report presents the forensic synthetic code analysis of meshtastic/firmware, a C++ project with 7,920 GitHub stars. SynthScan v2.0 examined 251,234 lines of code across 1707 source files, recording 1764 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 9.8 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1764 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | variants/rp2040/nibble_rp2040/variant.h | 1 | #define ARDUINO_ARCH_AVR | COMMENT |
| LOW | variants/rp2040/rp2040-lora/variant.h | 1 | // #define RADIOLIB_CUSTOM_ARDUINO 1 | COMMENT |
| LOW | variants/rp2040/rp2040-lora/variant.h | 21 | COMMENT | |
| LOW | variants/rp2040/rp2040-lora/variant.h | 41 | #define LORA_DIO0 RADIOLIB_NC // No GPIO connection | COMMENT |
| LOW | variants/rp2040/rpipico/variant.h | 1 | // #define RADIOLIB_CUSTOM_ARDUINO 1 | COMMENT |
| LOW | variants/rp2040/rpipico/variant.h | 21 | // ratio of voltage divider = 3.0 (R17=200k, R18=100k) | COMMENT |
| LOW | variants/rp2040/rpipico/variant.h | 41 | #define LORA_DIO3 RADIOLIB_NC | COMMENT |
| LOW | variants/rp2040/seeed_xiao_rp2040/variant.h | 1 | #define ARDUINO_ARCH_AVR | COMMENT |
| LOW | variants/rp2040/seeed_xiao_rp2040/variant.h | 21 | #define SX126X_DIO1 27 | COMMENT |
| LOW | variants/rp2040/ec_catsniffer/variant.h | 1 | // #define RADIOLIB_CUSTOM_ARDUINO 1 | COMMENT |
| LOW | variants/rp2040/ec_catsniffer/variant.h | 21 | #define LORA_SCK 18 | COMMENT |
| LOW | variants/rp2040/senselora_rp2040/pins_arduino.h | 1 | #pragma once | COMMENT |
| LOW | variants/rp2040/senselora_rp2040/pins_arduino.h | 21 | COMMENT | |
| LOW | variants/rp2040/senselora_rp2040/variant.h | 1 | #define ARDUINO_ARCH_AVR | COMMENT |
| LOW | variants/rp2040/senselora_rp2040/variant.h | 21 | #define LORA_MISO PIN_SPI0_MISO | COMMENT |
| LOW | variants/rp2040/rak11310/pins_arduino.h | 21 | static const uint8_t A1 = PIN_A1; | COMMENT |
| LOW | variants/rp2040/rak11310/pins_arduino.h | 41 | #define PIN_SPI1_SCK (10u) | COMMENT |
| LOW | variants/rp2040/rak11310/variant.h | 1 | // #define RADIOLIB_CUSTOM_ARDUINO 1 | COMMENT |
| LOW | variants/rp2040/rak11310/variant.h | 21 | #define BATTERY_SENSE_RESOLUTION_BITS ADC_RESOLUTION | COMMENT |
| LOW | variants/rp2040/rak11310/variant.h | 41 | #define LORA_DIO0 RADIOLIB_NC | COMMENT |
| LOW | variants/rp2040/rpipico-slowclock/variant.h | 1 | #define ARDUINO_ARCH_AVR | COMMENT |
| LOW | variants/rp2040/rpipico-slowclock/variant.h | 21 | #define USE_SH1106 1 | COMMENT |
| LOW | variants/rp2040/rpipico-slowclock/variant.h | 61 | COMMENT | |
| LOW | variants/rp2040/rpipico-slowclock/variant.h | 81 | #define SX126X_CS LORA_CS | COMMENT |
| LOW | variants/rp2040/feather_rp2040_rfm95/variant.h | 1 | // #define RADIOLIB_CUSTOM_ARDUINO 1 | COMMENT |
| LOW | variants/rp2040/feather_rp2040_rfm95/variant.h | 21 | // #define BUTTON_NEED_PULLUP | COMMENT |
| LOW | variants/rp2040/feather_rp2040_rfm95/variant.h | 41 | #define LORA_MISO 8 // 12 10P | COMMENT |
| LOW | variants/rp2040/feather_rp2040_rfm95/variant.h | 61 | #endif | COMMENT |
| LOW | variants/rp2040/challenger_2040_lora/pins_arduino.h | 1 | #pragma once | COMMENT |
| LOW | variants/rp2040/challenger_2040_lora/pins_arduino.h | 21 | COMMENT | |
| LOW | variants/rp2040/challenger_2040_lora/variant.h | 1 | // Define SS for compatibility with libraries expecting a default SPI chip select pin | COMMENT |
| LOW | variants/rp2040/challenger_2040_lora/variant.h | 21 | #define LORA_RESET 13 // Reset | COMMENT |
| LOW | variants/rp2040/rpipicow/variant.h | 1 | // #define RADIOLIB_CUSTOM_ARDUINO 1 | COMMENT |
| LOW | variants/rp2040/rpipicow/variant.h | 21 | COMMENT | |
| LOW | variants/rp2040/rpipicow/variant.h | 41 | #define LORA_DIO0 RADIOLIB_NC | COMMENT |
| LOW | variants/native/portduino-buildroot/variant.h | 1 | #define HAS_SCREEN 1 | COMMENT |
| LOW | variants/native/portduino/variant.h | 1 | #ifndef HAS_SCREEN | COMMENT |
| LOW | variants/esp32c3/heltec_esp32c3/variant.h | 1 | #define BUTTON_PIN 9 | COMMENT |
| LOW | variants/esp32c3/heltec_esp32c3/variant.h | 21 | #define LORA_DIO1 3 | COMMENT |
| LOW | variants/esp32c3/m5stack-stamp-c3/variant.h | 1 | #define I2C_SDA 1 | COMMENT |
| LOW | variants/esp32c3/m5stack-stamp-c3/variant.h | 21 | #define LORA_MISO 5 | COMMENT |
| LOW | variants/esp32c3/m5stack-stamp-c3/variant.h | 41 | // #define SX126X_CS LORA_CS | COMMENT |
| LOW | variants/esp32c3/m5stack-stamp-c3/variant.h | 61 | // #define SX128X_BUSY LORA_BUSY | COMMENT |
| LOW | variants/esp32c3/diy/esp32c3_super_mini/variant.h | 1 | #ifndef _VARIANT_ESP32C3_SUPER_MINI_ | COMMENT |
| LOW | variants/esp32c3/diy/esp32c3_super_mini/variant.h | 21 | #undef GPS_TX_PIN | COMMENT |
| LOW | variants/esp32c3/diy/esp32c3_super_mini/variant.h | 41 | #define LORA_MOSI (7) | COMMENT |
| LOW | variants/esp32c3/heltec_hru_3601/variant.h | 1 | #define BUTTON_PIN 9 | COMMENT |
| LOW | variants/esp32c3/heltec_hru_3601/variant.h | 21 | #define SX126X_RESET LORA_RESET | COMMENT |
| LOW | variants/esp32c3/ai-c3/variant.h | 1 | #define SDA 0 | COMMENT |
| LOW | variants/esp32c3/ai-c3/variant.h | 21 | #define USE_SX1262 | COMMENT |
| LOW | variants/esp32c3/hackerboxes_esp32c3_oled/variant.h | 1 | #define BUTTON_PIN 9 | COMMENT |
| LOW | variants/esp32c3/hackerboxes_esp32c3_oled/variant.h | 21 | #define LORA_SCK 4 | COMMENT |
| LOW | variants/nrf54l15/nrf54l15dk/variant.h | 41 | * P1.13 BTN0 - main user button | COMMENT |
| LOW | variants/nrf54l15/nrf54l15dk/variant.h | 61 | COMMENT | |
| LOW | variants/nrf54l15/nrf54l15dk/variant.h | 81 | // TwoWire layer (src/platform/nrf54l15/Wire.cpp) resolves the device at | COMMENT |
| LOW | variants/esp32/m5stack_core/variant.h | 1 | // #define BUTTON_NEED_PULLUP // if set we need to turn on the internal CPU pullup during sleep | COMMENT |
| LOW | variants/esp32/m5stack_core/variant.h | 21 | #define LORA_MISO 19 | COMMENT |
| LOW | variants/esp32/m5stack_core/variant.h | 41 | #define TFT_OFFSET_X 0 | COMMENT |
| LOW | variants/esp32/nano-g1-explorer/variant.h | 1 | // #define BUTTON_NEED_PULLUP // if set we need to turn on the internal CPU pullup during sleep | COMMENT |
| LOW | variants/esp32/nano-g1-explorer/variant.h | 21 | #define LORA_DIO3 // Not connected on PCB | COMMENT |
| 1320 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/lockdown_provision.py | 140 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/lockdown_provision.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/lockdown_provision.py | 179 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/lockdown_provision.py | 181 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/lockdown_provision.py | 253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/lockdown_provision.py | 255 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/lockdown_provision.py | 302 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/lockdown_provision.py | 304 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/lockdown_provision.py | 377 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/lockdown_provision.py | 379 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/lockdown_provision.py | 540 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/lockdown_provision.py | 542 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | variants/nrf54l15/nrf54l15dk/variant.h | 51 | // ── SX1262 / E22-900M30S - all P2, HP domain (3.0 V) ──────────────────────── | COMMENT |
| MEDIUM⚡ | variants/nrf54l15/nrf54l15dk/variant.h | 67 | // ── LEDs (active HIGH) ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | variants/nrf54l15/nrf54l15dk/variant.h | 72 | // ── Buttons (active LOW, internal pull-up) ─────────────────────────────────── | COMMENT |
| MEDIUM⚡ | variants/nrf54l15/nrf54l15dk/variant.h | 78 | // ── I2C bus (TWIM30, HP domain, 3.0 V) ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 4 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 6 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 10 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 12 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 18 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 20 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 29 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 31 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 38 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 40 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 59 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 61 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 69 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 71 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 150 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 152 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 157 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 159 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 104 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 106 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 117 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 119 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 136 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 138 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 171 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | variants/nrf52840/seeed_wio_tracker_L1/variant.h | 173 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 4 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 6 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 10 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 12 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 18 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 20 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 29 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 31 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 38 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 40 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 59 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 61 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 69 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 71 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 98 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 100 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 110 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM⚡ | variants/nrf52840/seeed_solar_node/variant.h | 112 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| 179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/graphics/niche/Fonts/FreeSans6pt_Win1253.h | 0 | 0x27 */ 0xe0, /* '(' 0x28 */ 0x5a, 0xaa, 0x94, /* ')' 0x29 */ 0x89, 0x12, 0x49, 0x29, 0x00, /* '*' 0x2a */ 0x5e, 0x80, / | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans6pt_Win1250.h | 0 | 0x27 */ 0xe0, /* '(' 0x28 */ 0x5a, 0xaa, 0x94, /* ')' 0x29 */ 0x89, 0x12, 0x49, 0x29, 0x00, /* '*' 0x2a */ 0x5e, 0x80, / | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans6pt_Win1251.h | 0 | 0x27 */ 0xe0, /* '(' 0x28 */ 0x5a, 0xaa, 0x94, /* ')' 0x29 */ 0x89, 0x12, 0x49, 0x29, 0x00, /* '*' 0x2a */ 0x5e, 0x80, / | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans6pt_Win1252.h | 0 | 0x27 */ 0xe0, /* '(' 0x28 */ 0x5a, 0xaa, 0x94, /* ')' 0x29 */ 0x89, 0x12, 0x49, 0x29, 0x00, /* '*' 0x2a */ 0x5e, 0x80, / | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans9pt_Win1250.h | 0 | 0x27 */ 0xfe, /* '(' 0x28 */ 0x13, 0x26, 0x6c, 0xcc, 0xcc, 0xc4, 0x66, 0x23, 0x10, /* ')' 0x29 */ 0x8c, 0x46, 0x63, 0x33 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans9pt_Win1253.h | 0 | 0x27 */ 0xfe, /* '(' 0x28 */ 0x13, 0x26, 0x6c, 0xcc, 0xcc, 0xc4, 0x66, 0x23, 0x10, /* ')' 0x29 */ 0x8c, 0x46, 0x63, 0x33 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans9pt_Win1252.h | 0 | 0x27 */ 0xfe, /* '(' 0x28 */ 0x13, 0x26, 0x6c, 0xcc, 0xcc, 0xc4, 0x66, 0x23, 0x10, /* ')' 0x29 */ 0x8c, 0x46, 0x63, 0x33 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans9pt_Win1251.h | 0 | 0x27 */ 0xfe, /* '(' 0x28 */ 0x13, 0x26, 0x6c, 0xcc, 0xcc, 0xc4, 0x66, 0x23, 0x10, /* ')' 0x29 */ 0x8c, 0x46, 0x63, 0x33 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans12pt_Win1253.h | 0 | 0x27 */ 0xff, 0xa0, /* '(' 0x28 */ 0x08, 0x8c, 0x46, 0x31, 0x98, 0xc6, 0x31, 0x8c, 0x63, 0x08, 0x63, 0x08, 0x61, 0x0c, 0 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans12pt_Win1250.h | 0 | 0x27 */ 0xff, 0xa0, /* '(' 0x28 */ 0x08, 0x8c, 0x46, 0x31, 0x98, 0xc6, 0x31, 0x8c, 0x63, 0x08, 0x63, 0x08, 0x61, 0x0c, 0 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans12pt_Win1251.h | 0 | 0x27 */ 0xff, 0xa0, /* '(' 0x28 */ 0x08, 0x8c, 0x46, 0x31, 0x98, 0xc6, 0x31, 0x8c, 0x63, 0x08, 0x63, 0x08, 0x61, 0x0c, 0 | STRING |
| HIGH | src/graphics/niche/Fonts/FreeSans12pt_Win1252.h | 0 | 0x27 */ 0xff, 0xa0, /* '(' 0x28 */ 0x08, 0x8c, 0x46, 0x31, 0x98, 0xc6, 0x31, 0x8c, 0x63, 0x08, 0x63, 0x08, 0x61, 0x0c, 0 | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/lockdown_provision.py | 295 | except Exception as exc: # noqa: BLE001 - best-effort logging only | CODE |
| MEDIUM | tools/lockdown_provision.py | 276 | def wrapped(fromRadioBytes): | CODE |
| MEDIUM | bin/generate_ci_matrix.py | 40 | print(f"Error: Could not determine platform for environment '{pio_env}'") | CODE |
| LOW | bin/test_size_scripts.py | 596 | except Exception as e: | CODE |
| LOW | bin/base64_to_hex.py | 8 | except Exception as e: | CODE |
| MEDIUM | bin/base64_to_hex.py | 4 | def base64_to_hex_string(b64_string): | CODE |
| MEDIUM | bin/size_report.py | 328 | print("Error: --enforce-budgets requires --budgets", file=sys.stderr) | CODE |
| MEDIUM | bin/size_report.py | 348 | print(f"Error: baseline must be LABEL:PATH, got '{b}'", file=sys.stderr) | CODE |
| LOW | bin/generate_release_notes.py | 288 | except Exception as e: | CODE |
| MEDIUM | bin/generate_release_notes.py | 305 | print("Error: Could not find last release tag", file=sys.stderr) | CODE |
| MEDIUM | bin/generate_release_notes.py | 316 | print(f"Error: Could not get PRs for range {last_tag}..{compare_ref}: {e}", file=sys.stderr) | CODE |
| LOW | bin/platformio-custom.py | 25 | except Exception: | CODE |
| LOW | bin/platformio-custom.py | 65 | except Exception as exc: | CODE |
| LOW | bin/platformio-custom.py | 180 | except Exception: | CODE |
| MEDIUM | bin/platformio-custom.py | 20 | def infer_architecture(board_cfg): | CODE |
| MEDIUM | bin/platformio-custom.py | 177 | def get_project_option(name): | CODE |
| LOW | extra_scripts/nrf52_warm_region.py | 35 | except Exception as exc: # tooling hiccup: warn loudly, don't wedge the build | CODE |
| LOW | extra_scripts/nrf52_lto.py | 82 | except Exception: | CODE |
| LOW | extra_scripts/nrf52_lto.py | 105 | except Exception: | CODE |
| LOW | extra_scripts/nrf52_lto.py | 121 | except Exception: | CODE |
| LOW | extra_scripts/nrf52_lto.py | 194 | except Exception as exc: # tooling hiccup: warn loudly, don't wedge the build | CODE |
| LOW | extra_scripts/nrf52_lto.py | 279 | except Exception as exc: # tooling hiccup (e.g. an nm that can't read slim LTO | CODE |
| MEDIUM | extra_scripts/nrf52_lto.py | 79 | def _is_board_variant(node, path): | CODE |
| MEDIUM | extra_scripts/nrf52_lto.py | 118 | def _no_lto(node): | CODE |
| LOW | .github/workflows/pr_tests.yml | 165 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/test_packet_history/test_main.cpp | 523 | // Step 1: We relay (directed to next_hop=0x55) | COMMENT |
| LOW⚡ | test/test_packet_history/test_main.cpp | 527 | // Step 2: Heard-back from 0xAA at hop_limit-1 → stores 0xAA in relayed_by | COMMENT |
| LOW⚡ | test/test_packet_history/test_main.cpp | 531 | // Step 3: Router removes us from the relayer list | COMMENT |
| LOW⚡ | test/test_packet_history/test_main.cpp | 534 | // Step 4: Sender falls back to flooding - same packet, NO_NEXT_HOP_PREFERENCE, from 0xAA | COMMENT |
| LOW⚡ | bin/eth-ota-upload.py | 109 | # Step 1: Authenticate | COMMENT |
| LOW⚡ | bin/eth-ota-upload.py | 114 | # Step 2: Send 12-byte MOTA header: magic(4) + size(4) + crc32(4) | COMMENT |
| LOW | src/mesh/NodeDB.cpp | 3569 | /// NOTE: This function might be called from an ISR | COMMENT |
| LOW⚡ | src/mesh/eth/ethOTA.cpp | 154 | // Step 1: Challenge-response authentication | COMMENT |
| LOW⚡ | src/mesh/eth/ethOTA.cpp | 159 | // Step 2: Read 12-byte header | COMMENT |
| LOW⚡ | src/graphics/TFTDisplay.cpp | 1285 | // Step 1: fill the whole row with the default colors. No per-pixel | COMMENT |
| LOW⚡ | src/graphics/TFTDisplay.cpp | 1292 | // Step 2: overprint each region overlapping this row, applied in | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1333 | // Step 1: Do a quick scan of 8 rows together. This allows fast-forwarding over unchanged screen areas. | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1353 | // Step 2: Scan this row for changed span (first and last changed pixel). | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1393 | // Step 3: Copy only the changed span into the pixel line buffer. | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1415 | // Step 4: Send the changed pixels on this line to the screen as a single block transfer. | COMMENT |
| LOW | src/modules/HopScalingModule.cpp | 385 | // Step 1: evict stale entries (not seen in any of the past 13 hours). | COMMENT |
| LOW | src/modules/HopScalingModule.cpp | 397 | // Step 2: if still too full, double the sampling denominator and remove non-matching entries. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/test_packet_history/test_main.cpp | 523 | // Step 1: We relay (directed to next_hop=0x55) | COMMENT |
| LOW⚡ | test/test_packet_history/test_main.cpp | 527 | // Step 2: Heard-back from 0xAA at hop_limit-1 → stores 0xAA in relayed_by | COMMENT |
| LOW⚡ | test/test_packet_history/test_main.cpp | 531 | // Step 3: Router removes us from the relayer list | COMMENT |
| LOW⚡ | test/test_packet_history/test_main.cpp | 534 | // Step 4: Sender falls back to flooding - same packet, NO_NEXT_HOP_PREFERENCE, from 0xAA | COMMENT |
| LOW⚡ | bin/eth-ota-upload.py | 109 | # Step 1: Authenticate | COMMENT |
| LOW⚡ | bin/eth-ota-upload.py | 114 | # Step 2: Send 12-byte MOTA header: magic(4) + size(4) + crc32(4) | COMMENT |
| LOW⚡ | src/mesh/eth/ethOTA.cpp | 154 | // Step 1: Challenge-response authentication | COMMENT |
| LOW⚡ | src/mesh/eth/ethOTA.cpp | 159 | // Step 2: Read 12-byte header | COMMENT |
| LOW⚡ | src/graphics/TFTDisplay.cpp | 1285 | // Step 1: fill the whole row with the default colors. No per-pixel | COMMENT |
| LOW⚡ | src/graphics/TFTDisplay.cpp | 1292 | // Step 2: overprint each region overlapping this row, applied in | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1333 | // Step 1: Do a quick scan of 8 rows together. This allows fast-forwarding over unchanged screen areas. | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1353 | // Step 2: Scan this row for changed span (first and last changed pixel). | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1393 | // Step 3: Copy only the changed span into the pixel line buffer. | COMMENT |
| LOW | src/graphics/TFTDisplay.cpp | 1415 | // Step 4: Send the changed pixels on this line to the screen as a single block transfer. | COMMENT |
| LOW | src/modules/HopScalingModule.cpp | 385 | // Step 1: evict stale entries (not seen in any of the past 13 hours). | COMMENT |
| LOW | src/modules/HopScalingModule.cpp | 397 | // Step 2: if still too full, double the sampling denominator and remove non-matching entries. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/lockdown_provision.py | 184 | def read_passphrase_from_file(path: str) -> bytes: | CODE |
| LOW⚡ | tools/lockdown_provision.py | 258 | def install_notification_printer(iface) -> None: | CODE |
| LOW | bin/test_size_scripts.py | 78 | def test_collect_sizes_ram_bytes(): | CODE |
| LOW | bin/test_size_scripts.py | 98 | def test_collect_sizes_non_int_ram_bytes_ignored(): | CODE |
| LOW | bin/test_size_scripts.py | 112 | def test_collect_sizes_fallback_bin(): | CODE |
| LOW | bin/test_size_scripts.py | 136 | def test_collect_sizes_skips_ota_littlefs(): | CODE |
| LOW | bin/test_size_scripts.py | 160 | def test_collect_sizes_ignores_non_mt_json(): | CODE |
| LOW | bin/test_size_scripts.py | 178 | def test_size_report_no_baseline(): | CODE |
| LOW | bin/test_size_scripts.py | 195 | def test_size_report_with_baseline(): | CODE |
| LOW | bin/test_size_scripts.py | 224 | def test_size_report_ram_columns(): | CODE |
| LOW | bin/test_size_scripts.py | 248 | def test_size_report_ram_na_for_legacy_baseline(): | CODE |
| LOW | bin/test_size_scripts.py | 269 | def test_size_report_ram_na_for_current_without_ram(): | CODE |
| LOW | bin/test_size_scripts.py | 286 | def test_size_report_multiple_baselines(): | CODE |
| LOW | bin/test_size_scripts.py | 308 | def test_size_report_new_target_no_baseline_entry(): | CODE |
| LOW | bin/test_size_scripts.py | 324 | def test_size_report_all_unchanged(): | CODE |
| LOW | bin/test_size_scripts.py | 338 | def test_budget_gate_under_budget(): | CODE |
| LOW | bin/test_size_scripts.py | 365 | def test_budget_gate_over_ram_budget(): | CODE |
| LOW | bin/test_size_scripts.py | 392 | def test_budget_gate_over_flash_budget(): | CODE |
| LOW | bin/test_size_scripts.py | 416 | def test_budget_gate_env_not_built_fails_closed(): | CODE |
| LOW | bin/test_size_scripts.py | 436 | def test_budget_report_env_not_built_shows_na(): | CODE |
| LOW | bin/test_size_scripts.py | 455 | def test_budget_gate_missing_ram_metric_fails_closed(): | CODE |
| LOW | bin/test_size_scripts.py | 475 | def test_budget_report_missing_ram_metric_shows_na(): | CODE |
| LOW | bin/test_size_scripts.py | 494 | def test_budget_gate_empty_sizes_fails_closed(): | CODE |
| LOW | bin/test_size_scripts.py | 514 | def test_budget_invalid_budget_rejected(): | CODE |
| LOW | bin/test_size_scripts.py | 532 | def test_budget_render_without_enforce(): | CODE |
| LOW | bin/test_size_scripts.py | 553 | def test_budget_enforce_requires_budgets(): | CODE |
| LOW | bin/test_size_scripts.py | 565 | def test_collect_sizes_bad_args(): | CODE |
| LOW | bin/test_size_scripts.py | 572 | def test_size_report_bad_baseline_format(): | CODE |
| LOW | extra_scripts/nrf52_warm_region.py | 28 | def _assert_warm_region_clear(source, target, env): | CODE |
| LOW | extra_scripts/nrf52_lto.py | 186 | def _assert_isr_handlers_survived(source, target, env): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/test_radio/test_main.cpp | 184 | // Custom CR lower than preset: preset wins (higher is more robust) | COMMENT |
| MEDIUM | .github/workflows/test_native.yml | 51 | # The Python harness sends exit_simulator and exits; the simulator is | COMMENT |
| MEDIUM | src/security/EncryptedStorage.cpp | 1188 | // triggers a block - so the policy is robust whether RTC is valid, never | COMMENT |
| MEDIUM | src/modules/OnScreenKeyboardModule.cpp | 188 | // Build lines and leverage NotificationRenderer inverted box drawing for consistent style | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/show-unmerged-prs.sh | 48 | # Check if gh CLI is available | COMMENT |
| LOW | bin/show-unmerged-prs.sh | 89 | # Check if filter matches | COMMENT |
| LOW | bin/base64_to_hex.py | 11 | # Check if the decoded result is exactly 32 bytes | COMMENT |
| LOW | bin/base64_to_hex.py | 23 | # Check if a Base64 string was provided in command line arguments | COMMENT |
| LOW | bin/eth-ota-upload.py | 47 | # Check if already GZIP compressed (magic bytes 1f 8b) | COMMENT |
| LOW | bin/kill-github-actions.sh | 27 | # Check if gh CLI is installed | COMMENT |
| LOW | bin/kill-github-actions.sh | 35 | # Check if authenticated | COMMENT |
| LOW | .github/workflows/build_firmware.yml | 73 | # Check if OTA file exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/analyze_map.py | 77 | CODE | |
| LOW | bin/uf2conv.py | 166 | CODE | |
| LOW | bin/uf2conv.py | 211 | CODE | |
| LOW | bin/uf2conv.py | 267 | CODE | |
| LOW | bin/size_report.py | 54 | CODE | |
| LOW | bin/size_report.py | 229 | CODE | |
| LOW | bin/collect_sizes.py | 22 | CODE | |
| LOW | bin/generate_release_notes.py | 295 | CODE | |
| LOW | extra_scripts/nrf54l15_linker.py | 28 | CODE | |
| LOW | extra_scripts/esp32_pre.py | 12 | CODE | |
| LOW | extra_scripts/nrf52_lto.py | 241 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/lockdown_provision.py | 63 | CODE | |
| LOW | bin/analyze_map.py | 11 | CODE | |
| LOW | bin/analyze_map.py | 17 | CODE | |
| LOW | bin/_rewrite_proto_namespace.py | 17 | CODE | |
| LOW | bin/platformio-custom.py | 4 | CODE | |
| LOW | bin/platformio-custom.py | 10 | CODE | |
| LOW | bin/gen-fake-nodedb-seed.py | 35 | CODE | |
| LOW | bin/gen-fake-nodedb-seed.py | 40 | CODE | |
| LOW | bin/seed-json-to-proto.py | 18 | CODE | |
| LOW | extra_scripts/esp32_extra.py | 16 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release_channels.yml | 82 | # Create a PR to bump version when a release is Published | COMMENT |
| MEDIUM | .github/workflows/package_obs.yml | 80 | # Create a temporary directory for osc checkout | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | extra_scripts/nrf54l15_linker.py | 33 | COMMAND = cmd.exe /C "cd /D DIR && arm-none-eabi-gcc.exe ... -o linker.cmd && cmake.exe -E cmake_transform_d | STRING |
| HIGH | extra_scripts/nrf54l15_linker.py | 35 | COMMAND = cd DIR && arm-none-eabi-gcc ... -o linker.cmd && cmake -E cmake_transform_depfile ... | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/main_matrix.yml | 393 | # RAM/flash guardrails: fails CI when an env listed in bin/ram_budgets.json | COMMENT |
| MEDIUM | src/graphics/niche/InkHUD/docs/README.md | 15 | - [Event-Driven Rendering](#event-driven-rendering) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/graphics/VirtualKeyboard.cpp | 287 | const int gapMidY = innerTop + (firstLineTop - innerTop) / 2 + 1; // shift down 1px as requested | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/show-unmerged-prs.sh | 6 | # Usage: | COMMENT |
| LOW | bin/run-tests.sh | 10 | # Usage: | COMMENT |
| LOW | bin/test-native-docker.sh | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/graphics/niche/InkHUD/InkHUD.cpp | 562 | // in order to fill them with a "placeholder" pattern. | COMMENT |
| LOW | src/graphics/niche/InkHUD/WindowManager.cpp | 533 | // in order to fill them with a "placeholder" pattern. | COMMENT |