Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

wled/WLED
main @ 29390b8
28
Fixes
0
CVEs
HIGH
Peak severity
27.3%
Coverage
Highlights
Denial of Service: 14 prior fixes. Scrutinize any change in this area.
wled00/FX_fcn.cpp: most-fixed (3 issues). Treat as high-risk during review.
15 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: Multi-core race conditions occur when HTTP configuration requests modify the shared bus configurations array while the main loop asynchronously processes it. Attackers can exploit this timing window to cause device crashes.
Stack-based Buffer Overflow: The application historically relied on static buffers and unsafe formatted printing (such as sprintf_P and strcpy) for dynamic parameters like MQTT topics and local device strings, leading to memory corruption.
Auth Bypass: Privilege checks for OTA updates can be bypassed or result in race conditions if memory allocations and bootloader initialization proceed prior to completing PIN and authorization checks.