AI Slop Code RIsk Monitor

esp8266/Arduino

ESP8266 core for Arduino

4.2 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for esp8266/Arduino, a C++ project with 16,688 GitHub stars. SynthScan examined 193,854 lines of code across 779 source files, recording 777 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 4.2 (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.

4.2
Adjusted Signal
4.2
Raw Pattern Score
100%
Time Factor
2026-08-27
Last Push
16.7K
Stars
C++
Language
193.9K
Lines of Code
779
Files
777
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 16.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 725 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

Are imports declared and package/API names verified? 23 finding(s).

Agent Over-Engineering Ratio 2.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 40 finding(s).

PR Review Velocity Impact 19.7/100 · LOW

Which changes need focused human review? 777 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 12MEDIUM 7LOW 758

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 777 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.

Over-Commented Block692 hits · 668 pts
SeverityFileLineSnippetContext
LOWkeywords.txt1#######################################COMMENT
LOWtools/build.py1#!/usr/bin/env python3COMMENT
LOWtools/espota.py1#!/usr/bin/env python3COMMENT
LOWtools/boards.txt.py1#!/usr/bin/env python3COMMENT
LOWtools/boards.txt.py21# opts: specific entries dicts (overrides same entry in macros)COMMENT
LOWtools/elf2bin.py1#!/usr/bin/env python3COMMENT
LOWtools/sizes.py1#!/usr/bin/env python3COMMENT
LOWtools/mkbuildoptglobals.py1#!/usr/bin/env python3COMMENT
LOWtools/mkbuildoptglobals.py21# See the License for the specific language governing permissions andCOMMENT
LOWtools/mkbuildoptglobals.py101-fanalyzerCOMMENT
LOWtools/mkbuildoptglobals.py761 # 3. When the timestamp matches the build copy of globals.hCOMMENT
LOWtools/platformio-build.py1# Copyright (c) 2014-present PlatformIO <contact@platformio.org>COMMENT
LOWtools/makecorever.py1#!/usr/bin/env python3COMMENT
LOWtools/sdk/include/espconn.h41typedef void (* espconn_reconnect_callback)(void *arg, sint8 err);COMMENT
LOWtools/sdk/include/version.h1#ifndef ESP_SDK_VERSION_HCOMMENT
LOWtools/sdk/include/user_interface.h21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.COMMENT
LOWtools/sdk/include/user_interface.h41#endifCOMMENT
LOWtools/sdk/include/os_type.h21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.COMMENT
LOWtools/sdk/include/osapi.h21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.COMMENT
LOWtools/sdk/include/osapi.h41#define os_isr_attach ets_isr_attachCOMMENT
LOWtools/sdk/include/osapi.h61#define os_timer_arm(a, b, c) ets_timer_arm_new(a, b, c, 1)COMMENT
LOWtools/sdk/include/c_types.h81#define REG_CLR_BIT(_r, _b) (*(volatile uint32_t*)(_r) &= ~(_b))COMMENT
LOWtools/sdk/include/c_types.h101#ifndef __cplusplusCOMMENT
LOWtools/sdk/include/uart_register.h1//Generated at 2012-07-03 18:44:06COMMENT
LOWtools/sdk/include/uart_register.h21#define UART_RXFIFO_OVF_INT_RAW (BIT(4))COMMENT
LOWtools/sdk/include/uart_register.h41#define UART_CTS_CHG_INT_ENA (BIT(6))COMMENT
LOWtools/sdk/include/uart_register.h61#define UART_CLKDIV_CNT 0x000FFFFFCOMMENT
LOWtools/sdk/include/uart_register.h81#define UART_CONF0( i ) (REG_UART_BASE( i ) + 0x20)COMMENT
LOWtools/sdk/include/uart_register.h101COMMENT
LOWtools/sdk/include/uart_register.h121COMMENT
LOWtools/sdk/include/eagle_soc.h21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.COMMENT
LOWtools/sdk/include/eagle_soc.h41#define BIT19 0x00080000COMMENT
LOWtools/sdk/include/eagle_soc.h61//}}COMMENT
LOWtools/sdk/include/eagle_soc.h81//}}COMMENT
LOWtools/sdk/include/eagle_soc.h101#define GPIO_OUT_W1TS_ADDRESS 0x04COMMENT
LOWtools/sdk/include/eagle_soc.h121#define RTC_CALIB_VALUE_MASK 0xfffffCOMMENT
LOWtools/sdk/include/eagle_soc.h141#define GPIO_PIN_WAKEUP_ENABLE_LSB 10COMMENT
LOWtools/sdk/include/eagle_soc.h161#define SIGMA_AS_PIN_SOURCE (~GPIO_AS_PIN_SOURCE)COMMENT
LOWtools/sdk/include/eagle_soc.h181COMMENT
LOWtools/sdk/include/eagle_soc.h201//RTC reg {{COMMENT
LOWtools/sdk/include/eagle_soc.h221#define PERIPHS_IO_MUX_SLEEP_PULLUP BIT3COMMENT
LOWtools/sdk/include/eagle_soc.h241#define FUNC_GPIO13 3COMMENT
LOWtools/sdk/include/eagle_soc.h261#define FUNC_I2SO_DATA 1COMMENT
LOWtools/sdk/include/eagle_soc.h281#define FUNC_GPIO7 3COMMENT
LOWtools/sdk/include/eagle_soc.h301#define FUNC_SDDATA3 0COMMENT
LOWtools/sdk/include/eagle_soc.h321#define FUNC_U1TXD_BK 2COMMENT
LOWtools/sdk/include/ipv4_addr.h21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.COMMENT
LOWtools/sdk/include/spi_flash_geometry.h1#ifndef SPI_FLASH_GEOMETRY_HCOMMENT
LOWtools/sdk/include/slc_register.h1//Generated at 2012-10-23 19:55:03COMMENT
LOWtools/sdk/include/slc_register.h21#define SLC_RX_AUTO_WRBACK (BIT(6))COMMENT
LOWtools/sdk/include/slc_register.h41#define SLC_RX_UDF_INT_RAW (BIT(10))COMMENT
LOWtools/sdk/include/slc_register.h61#define SLC_TX_DONE_INT_ST (BIT(14))COMMENT
LOWtools/sdk/include/slc_register.h81#define SLC_TOHOST_INT_ENA (BIT(18))COMMENT
LOWtools/sdk/include/slc_register.h101#define SLC_FRHOST_BIT_INT_ENA_ALL 0xffCOMMENT
LOWtools/sdk/include/slc_register.h121#define SLC_FRHOST_BIT4_INT_CLR (BIT(4))COMMENT
LOWtools/sdk/include/slc_register.h141#define SLC_TXFIFO_POP (BIT(16))COMMENT
LOWtools/sdk/include/slc_register.h161#define SLC_INTVEC_TOHOST (REG_SLC_BASE + 0x2C)COMMENT
LOWtools/sdk/include/slc_register.h181#define SLC_TOKEN1_LOCAL_WDATA_S 0COMMENT
LOWtools/sdk/include/slc_register.h201#define SLC_TO_HOST_LAST_DESC SLC_RX_EOF_DES_ADDRCOMMENT
LOWtools/sdk/include/slc_register.h221#define SLC_INFOR_NO_REPLACE (BIT(9))COMMENT
632 more matches not shown…
Empty Error Handlers12 hits · 60 pts
SeverityFileLineSnippetContext
HIGHtools/signing.py83except Exception:CODE
HIGHtools/upload.py60except Exception:CODE
HIGHtools/cert.py107except:CODE
HIGHtools/cert.py111except:CODE
HIGHtools/mkdir.py17except FileExistsError:CODE
HIGHtools/mkbuildoptglobals.py643except:CODE
HIGHtools/mkbuildoptglobals.py651except:CODE
HIGHtools/makecorever.py50except IndexError:CODE
HIGHtools/makecorever.py52except FileNotFoundError:CODE
HIGHtools/makecorever.py93except ValueError:CODE
HIGHtests/device/test_BearSSL/make_data.py48except Exception:CODE
HIGH…6WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py48except Exception:CODE
Unused Imports23 hits · 23 pts
SeverityFileLineSnippetContext
LOWtools/build.py23CODE
LOWtools/build.py27CODE
LOWtools/espota.py31CODE
LOWtools/boards.txt.py35CODE
LOWtools/elf2bin.py21CODE
LOWtools/format_tzdata.py14CODE
LOWtools/makecorever.py25CODE
LOWtests/restyle.py5CODE
LOWtests/device/test_ClientContext/test_ClientContext.py4CODE
LOWtests/device/test_ClientContext/test_ClientContext.py9CODE
LOWtests/device/libraries/BSTest/runner.py11CODE
LOWtests/device/libraries/BSTest/runner.py13CODE
LOWtests/device/libraries/BSTest/runner.py20CODE
LOWtests/device/libraries/BSTest/runner.py20CODE
LOWtests/device/test_BearSSL/make_data.py10CODE
LOWtests/device/test_http_server/test_http_server.py4CODE
LOWtests/device/test_http_server/test_http_server.py5CODE
LOWtests/device/test_http_server/test_http_server.py6CODE
LOW…6WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py10CODE
LOWlibraries/ESP8266WiFi/examples/WiFiEcho/echo-client.py3CODE
LOWdoc/conf.py21CODE
LOWpackage/merge_packages.py7CODE
LOWpackage/drop_versions.py4CODE
Excessive Try-Catch Wrapping15 hits · 16 pts
SeverityFileLineSnippetContext
LOWtools/signing.py83 except Exception:CODE
LOWtools/signing.py100 except Exception as e:CODE
LOWtools/espota.py80 except Exception:CODE
LOWtools/espota.py107 except Exception:CODE
LOWtools/espota.py126 except Exception:CODE
LOWtools/espota.py150 except Exception:CODE
LOWtools/espota.py176 except Exception:CODE
LOWtools/espota.py210 except Exception:CODE
LOWtools/upload.py60 except Exception:CODE
LOWtools/upload.py118except Exception:CODE
MEDIUMtools/upload.py57def maybe_remove(path):CODE
LOWtests/device/test_ClientContext/test_ClientContext.py32 except Exception:CODE
LOWtests/device/test_BearSSL/make_data.py48except Exception:CODE
LOWtests/device/test_http_server/test_http_server.py19 except Exception as e:CODE
LOW…6WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py48except Exception:CODE
Deep Nesting14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtools/signing.py54CODE
LOWtools/decoder.py100CODE
LOWtools/espota.py72CODE
LOWtools/boards.txt.py1718CODE
LOWtools/elf2bin.py145CODE
LOWtools/sizes.py38CODE
LOWtools/cert.py21CODE
LOWtools/mkbuildoptglobals.py321CODE
LOWtools/mkbuildoptglobals.py432CODE
LOWtools/mkbuildoptglobals.py491CODE
LOWtests/restyle.py141CODE
LOWtests/device/libraries/BSTest/runner.py51CODE
LOWtests/device/libraries/BSTest/runner.py81CODE
LOWtests/device/libraries/BSTest/runner.py138CODE
Hyper-Verbose Identifiers11 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/mkbuildoptglobals.py321def extract_create_build_opt_file(globals_h_fqfn, file_name, build_opt_fqfn):CODE
LOWtools/format_tzdata.py55def tzdata_resource_from_name(name):CODE
LOWtools/platformio-build.py36def scons_patched_match_splitext(path, suffixes=None):CODE
LOW⚡tests/device/test_http_server/test_http_server.py43def teardown_http_post_params(e):CODE
LOW⚡tests/device/test_http_server/test_http_server.py47def setup_http_getpost_params(e):CODE
LOW⚡tests/device/test_http_server/test_http_server.py53def teardown_http_getpost_params(e):CODE
LOWlibraries/ESP8266WebServer/src/detail/RequestHandler.h11class RequestHandler {CODE
LOW…ries/ESP8266WebServer/src/detail/RequestHandlersImpl.h15class FunctionRequestHandler : public RequestHandler<ServerType> {CODE
LOW…ries/ESP8266WebServer/src/detail/RequestHandlersImpl.h88class StaticRequestHandler : public RequestHandler<ServerType> {CODE
LOW…ries/ESP8266WebServer/src/detail/RequestHandlersImpl.h119class StaticDirectoryRequestHandler : public StaticRequestHandler<ServerType> {CODE
LOW…ries/ESP8266WebServer/src/detail/RequestHandlersImpl.h223class StaticFileRequestHandlerCODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtools/espota.py73 # Create a TCP/IP socketCOMMENT
MEDIUM.github/workflows/tag-to-draft-release.yml39 # Create a draft release and upload the ZIP and JSON files.COMMENT
MEDIUMdoc/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdoc/reference_items.yml1# This file defines the order in which documents will appear in the menuCOMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMplatform.txt3# ------------------------------COMMENT
MEDIUMplatform.txt169# ------------------------------COMMENT
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/decoder.py58# instead, simply use an already short-format `info line`COMMENT
LOWtools/sdk/lwip2/include/lwip/sockets.h205#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlibraries/ESP8266mDNS/src/LEAmDNS.h238 // TODO: implement instancename different from hostnameCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackage/merge_packages.py3# Usage:COMMENT