Control WS2812B and many more types of digital RGB LEDs with an ESP32 over WiFi!
This report summarizes scanner evidence for wled/WLED, a C++ project with 18,785 GitHub stars. SynthScan examined 119,841 lines of code across 447 source files, recording 412 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 4.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 374 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 44 finding(s).
Which changes need focused human review? 412 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 412 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # | COMMENT |
| LOW | requirements.txt | 21 | colorama==0.4.6 | COMMENT |
| LOW | platformio.ini | 61 | COMMENT | |
| LOW | platformio_override.sample.ini | 521 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | .coderabbit.yaml | 1 | # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | COMMENT |
| LOW | wled00/fcn_declare.h | 1 | #pragma once | COMMENT |
| LOW | wled00/fcn_declare.h | 521 | inline void d_free(void *ptr) { heap_caps_free(ptr); } | COMMENT |
| LOW | wled00/fcn_declare.h | 541 | #else | COMMENT |
| LOW | wled00/network.cpp | 381 | return status; // scan is still running or there was an error | COMMENT |
| LOW | wled00/network.cpp | 401 | #define ARDUINO_EVENT_WIFI_STA_DISCONNECTED SYSTEM_EVENT_STA_DISCONNECTED | COMMENT |
| LOW | wled00/FX_fcn.cpp | 501 | } | COMMENT |
| LOW | wled00/NodeStruct.h | 1 | #ifndef WLED_NODESTRUCT_H | COMMENT |
| LOW | wled00/NodeStruct.h | 21 | //#define NODE_TYPE_ID_ESP32S2 34 | COMMENT |
| LOW | wled00/wled_boards.h | 21 | WLED_HAVE_I2S1_LEDS (for bus_wrapper.h) | COMMENT |
| LOW | wled00/wled_boards.h | 41 | COMMENT | |
| LOW | wled00/wled_boards.h | 61 | #define WLED_HAVE_FAST_int_DIVIDE 1 // integer division is fast (no need to use bitshifts with rounding instead of int | COMMENT |
| LOW | wled00/wled_boards.h | 81 | #define WLED_HAS_PARALLEL_I2S 1 // esp32-S2 supports I2S parallel leds driver (NeoPixelBus) | COMMENT |
| LOW | wled00/wled_boards.h | 101 | #define WLED_HAVE_RTC_MEMORY_HEAP 1 // has byte-accessible fast RTC memory that can be used as heap | COMMENT |
| LOW | wled00/wled_boards.h | 121 | // has no FPU | COMMENT |
| LOW | wled00/wled_boards.h | 141 | COMMENT | |
| LOW | wled00/util.cpp | 1 | #include "wled.h" | COMMENT |
| LOW | wled00/util.cpp | 21 | #endif | COMMENT |
| LOW | wled00/util.cpp | 281 | // Use a recursive mutex type in case our task is the one holding the JSON buffer. | COMMENT |
| LOW | wled00/util.cpp | 781 | } | COMMENT |
| LOW | wled00/util.cpp | 1341 | #endif | COMMENT |
| LOW | wled00/bus_manager.h | 1 | #pragma once | COMMENT |
| LOW | wled00/bus_manager.h | 21 | #include "asyncDNS.h" | COMMENT |
| LOW | wled00/bus_manager.h | 41 | #define DEBUGOUT Serial | COMMENT |
| LOW | wled00/cfg.cpp | 1 | #include "wled.h" | COMMENT |
| LOW | wled00/wled_metadata.cpp | 1 | #include "ota_update.h" | COMMENT |
| LOW | wled00/pin_manager.h | 1 | #ifndef WLED_PIN_MANAGER_H | COMMENT |
| LOW | wled00/FX.h | 21 | #include "colors.h" | COMMENT |
| LOW | wled00/FX.h | 41 | #define DEFAULT_BRIGHTNESS (uint8_t)127 | COMMENT |
| LOW | wled00/FX.h | 61 | #define WLED_FPS 42 | COMMENT |
| LOW | wled00/FX.h | 81 | #endif | COMMENT |
| LOW | wled00/FX.h | 101 | /* How much data bytes each segment should max allocate to leave enough space for other segments, | COMMENT |
| LOW | wled00/FX.h | 121 | #define WHITE (uint32_t)0xFFFFFF | COMMENT |
| LOW | wled00/FX.h | 141 | #define REVERSE_Y_2D (uint16_t)0x0040 | COMMENT |
| LOW | wled00/FX.h | 161 | #define FX_MODE_FADE 12 | COMMENT |
| LOW | wled00/FX.h | 181 | #define FX_MODE_CHASE_FLASH_RANDOM 32 | COMMENT |
| LOW | wled00/FX.h | 201 | #define FX_MODE_RUNNING_DUAL 52 // candidate for removal (use Running) | COMMENT |
| LOW | wled00/FX.h | 221 | #define FX_MODE_NOISE16_3 72 | COMMENT |
| LOW | wled00/FX.h | 241 | #define FX_MODE_BOUNCINGBALLS 91 | COMMENT |
| LOW | wled00/FX.h | 261 | #define FX_MODE_CHUNCHUN 111 | COMMENT |
| LOW | wled00/FX.h | 281 | // WLED-SR effects (SR compatible IDs !!!) | COMMENT |
| LOW | wled00/FX.h | 301 | #define FX_MODE_PERLINMOVE 147 | COMMENT |
| LOW | wled00/FX.h | 321 | #define FX_MODE_2DWAVERLY 165 | COMMENT |
| LOW | wled00/FX.h | 341 | #define FX_MODE_ROCKTAVES 185 | COMMENT |
| LOW | wled00/FX.h | 361 | #define FX_MODE_PSDANCINGSHADOWS 204 | COMMENT |
| LOW | wled00/FX.h | 381 | COMMENT | |
| LOW | wled00/FX.h | 401 | #define TRANSITION_PUSH_UP 0x12 // 2D (& 0b00010000) | COMMENT |
| LOW | wled00/improv.cpp | 1 | #include "wled.h" | COMMENT |
| LOW | wled00/ir.cpp | 21 | static uint16_t irTimesRepeated = 0; | COMMENT |
| LOW | wled00/bus_wrapper.h | 1 | #pragma once | COMMENT |
| LOW | wled00/bus_wrapper.h | 21 | #define P_32_VS_CLK 18 | COMMENT |
| LOW | wled00/bus_wrapper.h | 41 | #define I_8266_U0_TM1_4 13 | COMMENT |
| LOW | wled00/bus_wrapper.h | 61 | #define I_8266_U0_FW6_5 29 | COMMENT |
| LOW | wled00/bus_wrapper.h | 81 | #define I_8266_U0_SM16825_5 45 | COMMENT |
| LOW | wled00/bus_wrapper.h | 101 | #define I_32_I2_TM2_3 18 | COMMENT |
| LOW | wled00/bus_wrapper.h | 121 | #define I_32_RN_SM16825_5 45 | COMMENT |
| 281 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | platformio.ini | 5 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 10 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 52 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 56 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 62 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 83 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 125 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 127 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 135 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio.ini | 141 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 157 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 163 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 506 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 508 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 632 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 634 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 1080 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio.ini | 1082 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 2 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 4 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 10 | #---------- | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 12 | #---------- | COMMENT |
| MEDIUM | platformio_override.sample.ini | 203 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio_override.sample.ini | 207 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio_override.sample.ini | 221 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio_override.sample.ini | 223 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio_override.sample.ini | 498 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | platformio_override.sample.ini | 501 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 521 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 524 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 527 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | platformio_override.sample.ini | 529 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | .coderabbit.yaml | 71 | # ── Security hardening — firmware (trust-boundary-aware) ──────────────── | COMMENT |
| MEDIUM | .coderabbit.yaml | 101 | # ── Security hardening — WebUI (always an ingress/output surface) ──────── | COMMENT |
| MEDIUM | .coderabbit.yaml | 189 | # ── Secrets / sensitive information scanning ──────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | usermods/AHT10_v2/AHT10_v2.cpp | 245 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of single | COMMENT |
| MEDIUM | …2_four_line_display_ALT/usermod_v2_four_line_display.h | 8 | #define FLD_ESP32_USE_THREADS // comment out to use 0.13.x behaviour without parallel update task - slower, but more | COMMENT |
| MEDIUM | …2_four_line_display_ALT/usermod_v2_four_line_display.h | 8 | #define FLD_ESP32_USE_THREADS // comment out to use 0.13.x behaviour without parallel update task - slower, but more | COMMENT |
| MEDIUM | usermods/BME280_v2/BME280_v2.cpp | 421 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of single | COMMENT |
| MEDIUM | usermods/EXAMPLE/usermod_v2_example.cpp | 257 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | usermods/audioreactive/audio_reactive.cpp | 1129 | // warning!! Absolutely experimental code. Audio on 8266 is still not working. Expects a million follow-on probl | COMMENT |
| MEDIUM | usermods/audioreactive/audio_source.h | 45 | // Uncomment the line below to utilize ADC1 _exclusively_ for I2S sound input. | COMMENT |
| MEDIUM | usermods/LD2410_v2/LD2410_v2.cpp | 171 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | usermods/Cronixie/Cronixie.cpp | 285 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | usermods/deep_sleep/deep_sleep.cpp | 268 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | usermods/mpu6050_imu/mpu6050_imu.cpp | 381 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | usermods/mpu6050_imu/usermod_gyro_surge.h | 151 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | …ermods/usermod_v2_word_clock/usermod_v2_word_clock.cpp | 456 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of singl | COMMENT |
| MEDIUM | …2_klipper_percentage/usermod_v2_klipper_percentage.cpp | 116 | // setting them inside readFromConfig() is slightly more robust, handling the rare but plausible use case of single | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | AGENTS.md | 334 | ### Attribution for AI-generated code | COMMENT |
| HIGH | wled00/ws.cpp | 72 | // publish state to MQTT as requested in wled#4643 even if only WS response selected | COMMENT |
| HIGH | wled00/udp.cpp | 796 | /*1*/ddpUdp.write(sequenceNumber++ & 0x0F); // sequence may be unnecessary unless we are sending twice (as reque | COMMENT |
| HIGH | wled00/wled_server.cpp | 466 | // publish state to MQTT as requested in wled#4643 even if only WS response selected | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pio-scripts/set_metadata.py | 35 | except subprocess.CalledProcessError: | CODE |
| HIGH | usermods/pixels_dice_tray/mqtt_client/mqtt_plotter.py | 64 | except KeyboardInterrupt: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cdata.js | 211 | function isAnyFileInFolderNewerThan(folderPath, time) { | CODE |
| LOW | tools/cdata-test.js | 115 | async function runAndCheckIfBuiltFilesExist() { | CODE |
| LOW | tools/cdata-test.js | 120 | async function checkIfFileWasNewlyCreated(file) { | CODE |
| LOW | wled00/data/index.js | 1669 | function setSelectedEffectPosition() { | CODE |
| LOW | wled00/data/pixelforge/omggif.js | 225 | function GifWriterOutputLZWCodeStream(buf, p, min_code_size, index_stream) { | CODE |
| LOW | wled00/data/pixelforge/omggif.js | 662 | function GifReaderLZWOutputIndexStream(code_stream, p, output, output_length) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | platformio.ini | 77 | # When building on core >= 2.5, you can add the build flag -DBEARSSL_SSL_BASIC in order to build BearSSL with a limite | COMMENT |
| LOW | wled00/util.cpp | 793 | #warning "BOARD_HAS_PSRAM defined, make sure to use -mfix-esp32-psram-cache-issue to prevent issues on rev.1 ESP32 b | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pio-scripts/load_usermods.py | 143 | CODE | |
| LOW | pio-scripts/validate_modules.py | 103 | CODE | |
| LOW | usermods/pixels_dice_tray/generate_roll_info.py | 123 | CODE | |
| LOW | usermods/JSON_IR_remote/ir_json_maker.py | 59 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pio-scripts/set_metadata.py | 44 | # Check if it's a GitHub URL | COMMENT |
| LOW | pio-scripts/build_ui.py | 5 | # Check if Node.js is installed and present in PATH if it failed, abort the build | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pio-scripts/dynarray.py | 69 | # TODO: consider using ESP-IDF linker fragment (https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pio-scripts/set_metadata.py | 75 | except Exception: | CODE |