AI Slop Code Risk Monitor

zerotier/ZeroTierOne

SlopCodeMonitor badge for zerotier/ZeroTierOne Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A Smart Ethernet Switch for Earth

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zerotier/ZeroTierOne, a C++ project with 17,225 GitHub stars. SynthScan examined 371,032 lines of code across 1198 source files, recording 1417 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.4 (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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-09-03
Last Push
17.2K
Stars
C++
Language
371.0K
Lines of Code
1.2K
Files
1.4K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 13.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 2.6/100 · LOW

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

PR Review Velocity Impact 19.6/100 · LOW

Which changes need focused human review? 1417 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 0MEDIUM 99LOW 1318

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 1417 distinct pattern matches across 10 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 Block1291 hits · 996 pts
SeverityFileLineSnippetContext
LOWversion.h41#endifCOMMENT
LOWCMakeLists.txt41# ZT_BUILD_ARCHITECTURE (read by one.cpp via version.h).COMMENT
LOWselftest.cpp1/* This Source Code Form is subject to the terms of the Mozilla PublicCOMMENT
LOWselftest.cpp21#include "node/Packet.hpp"COMMENT
LOWselftest.cpp41#include <vector>COMMENT
LOWone.cpp21#include <time.h>COMMENT
LOWone.cpp41#include <dirent.h>COMMENT
LOWone.cpp61#include <linux/capability.h>COMMENT
LOWone.cpp81#include <algorithm>COMMENT
LOWone.cpp1721COMMENT
LOWnonfree/controller/BigTableStatusWriter.cpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/BigTableStatusWriter.cpp121 const uint64_t keyHash = hasher(row_key);COMMENT
LOWnonfree/controller/EmbeddedNetworkController.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/EmbeddedNetworkController.hpp21#include <atomic>COMMENT
LOWnonfree/controller/CtlUtil.hpp41// Prefix every controller log line with the controller (node) ID. A single atomic fprintf;COMMENT
LOWnonfree/controller/RedisListener.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/PubSubListener.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/PubSubWriter.cpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/CentralDB.cpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/CentralDB.cpp21#include "Redis.hpp"COMMENT
LOWnonfree/controller/DB.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/PostgreSQL.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/CentralDB.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/ConnectionPool.hpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/EmbeddedNetworkController.cpp1/* (c) ZeroTier, Inc.COMMENT
LOWnonfree/controller/EmbeddedNetworkController.cpp21#include <map>COMMENT
LOWnonfree/controller/CtlUtil.cpp21COMMENT
LOWnonfree/controller/PubSubListener.cpp1/* (c) ZeroTier, Inc.COMMENT
LOWinclude/ZeroTierDebug.h21#include <unistd.h>COMMENT
LOWinclude/ZeroTierDebug.h41#define ZT_RESET "\x1B[0m"COMMENT
LOWinclude/ZeroTierDebug.h61#ifdef __FreeBSD__COMMENT
LOWinclude/ZeroTierDebug.h81#endifCOMMENT
LOWinclude/ZeroTierOne.h21// clang-format offCOMMENT
LOWinclude/ZeroTierOne.h41#pragma comment(lib, "ZeroTierOne_x64d.lib")COMMENT
LOWinclude/ZeroTierOne.h281 * Packet characteristics flag: TCP SYN flagCOMMENT
LOWinclude/ZeroTierOne.h301#define ZT_REMOTE_TRACE_FIELD__LOCAL_PHYADDR "localPhyAddr"COMMENT
LOWinclude/ZeroTierOne.h321#define ZT_REMOTE_TRACE_FIELD__CREDENTIAL_TIMESTAMP "credTs"COMMENT
LOWinclude/ZeroTierOne.h341#define ZT_REMOTE_TRACE_EVENT__NETWORK_CONFIG_REQUEST_SENT 0x2005COMMENT
LOWext/arm32-neon-salsa2012-asm/salsa2012.h1#ifndef ZT_SALSA2012_ARM32NEON_ASMCOMMENT
LOWext/hiredis-0.14.1/win32.h1#ifndef _WIN32_HELPER_INCLUDECOMMENT
LOWext/hiredis-0.14.1/win32.h41#endifCOMMENT
LOWext/hiredis-0.14.1/sdsalloc.h41#define s_realloc reallocCOMMENT
LOWext/hiredis-0.14.1/net.c41#include <netinet/tcp.h>COMMENT
LOWext/hiredis-0.14.1/test.c1#include "fmacros.h"COMMENT
LOWext/hiredis-0.14.1/test.c741 }COMMENT
LOWext/hiredis-0.14.1/test.c761// __test_callback_flags <<= 8;COMMENT
LOWext/hiredis-0.14.1/test.c781// redisFree(c);COMMENT
LOWext/hiredis-0.14.1/test.c801//COMMENT
LOWext/hiredis-0.14.1/test.c821// redisCommandWithCallback(c,__test_reply_callback,(void*)3,"PING");COMMENT
LOWext/hiredis-0.14.1/fmacros.h1#ifndef __HIREDIS_FMACRO_HCOMMENT
LOWext/hiredis-0.14.1/read.h41 * error that occurred. REDIS_ERR_IO means there was an I/O error and youCOMMENT
LOWext/hiredis-0.14.1/include/hiredis/win32.h1#ifndef _WIN32_HELPER_INCLUDECOMMENT
LOWext/hiredis-0.14.1/include/hiredis/win32.h41#endifCOMMENT
LOWext/hiredis-0.14.1/include/hiredis/sdsalloc.h41#define s_realloc reallocCOMMENT
LOWext/hiredis-0.14.1/include/hiredis/fmacros.h1#ifndef __HIREDIS_FMACRO_HCOMMENT
LOWext/hiredis-0.14.1/include/hiredis/read.h41 * error that occurred. REDIS_ERR_IO means there was an I/O error and youCOMMENT
LOWext/inja/inja.hpp41#endifCOMMENT
LOWext/inja/inja.hpp61#include <sstream>COMMENT
LOWext/inja/inja.hpp81// #include "node.hpp"COMMENT
LOWext/inja/inja.hpp901#include <string>COMMENT
1231 more matches not shown…
Decorative Section Separators81 hits · 192 pts
SeverityFileLineSnippetContext
MEDIUM⚡CMakeLists.txt273# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt279# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt284# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt286# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt568# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt570# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt580# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt582# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt6# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt8# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt34# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt48# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt327# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt334# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt409# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt411# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt487# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt489# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt649# ---------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt651# ---------------------------------------------------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh169# ----------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh178# --------------------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh480# -------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh529# ---------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh575# ----------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh598# --------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh622# ------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh646# ------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh679# -------------------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh691# --------------------------------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh712# ----------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh731# --------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh740# ------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh776# -----------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh789# -----------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh801# -----------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh812# ---------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh838# ---------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh886# -------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh924# ------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1014# --------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1030# --------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1095# --------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1147# -------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1177# ---------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1207# -----------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1232# ------------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1261# ----------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1282# -------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1295# -----------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1308# ----------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1333# -----------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1350# ---------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1483# -----------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1495# ---------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1512# ------------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1523# ---------------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1646# ----------------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1663# ---------------------COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1697# --------------------------COMMENT
21 more matches not shown…
Self-Referential Comments11 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMext/libpqxx-7.7.3/tools/template2mak.py83 # This file is generated automatically by libpqxx's {script} script, andCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh1402# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh2594# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh2604# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh2627# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh2637# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh2662# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh2802# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh7570 # Create the object directory.COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh10249 # Create the old-style object.COMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh10269 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
AI Slop Vocabulary6 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh331# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh5319# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMext/libpqxx-7.7.3/config/ltmain.sh9271 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
MEDIUM…i-only/include/opentelemetry/trace/span_startoptions.h45 // more nuanced parent identification:COMMENT
MEDIUM…de/opentelemetry/nostd/internal/absl/base/attributes.h41// are not defined as such in any file). To utilize the followingCOMMENT
MEDIUM…clude/opentelemetry/nostd/internal/absl/base/options.h42// Diamond dependency problems can be avoided if all packages utilize the sameCOMMENT
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…rometheus-cpp-lite-1.0/core/include/prometheus/gauge.h113 /// Example usage:COMMENT
LOW…metheus-cpp-lite-1.0/core/include/prometheus/counter.h98 /// Example usage:COMMENT
LOW…ometheus-cpp-lite-1.0/core/include/prometheus/family.h329 /// Example usage:COMMENT
LOW…theus-cpp-lite-1.0/core/include/prometheus/histogram.h128 /// Example usage:COMMENT
LOW…metheus-cpp-lite-1.0/core/include/prometheus/summary.h128 /// Example usage:COMMENT
LOWscripts/bootstrap-deps.sh19# Usage:COMMENT
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWext/libpqxx-7.7.3/tools/template2mak.py19CODE
LOWext/libpqxx-7.7.3/tools/template2mak.py19CODE
LOWext/libpqxx-7.7.3/tools/template2mak.py19CODE
LOWext/libpqxx-7.7.3/tools/test_all.py12CODE
LOWext/libpqxx-7.7.3/tools/m4esc.py10CODE
LOWext/libpqxx-7.7.3/tools/m4esc.py10CODE
LOWext/libpqxx-7.7.3/tools/m4esc.py10CODE
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ubuntu22.04/amd64/include/sw/redis++/connection_pool.h145// NOTE: This class is similar to `SafeConnection`.COMMENT
LOW…ubuntu22.04/arm64/include/sw/redis++/connection_pool.h145// NOTE: This class is similar to `SafeConnection`.COMMENT
LOW…redis-plus-plus-1.3.3/src/sw/redis++/connection_pool.h145// NOTE: This class is similar to `SafeConnection`.COMMENT
LOW…edis-plus-plus-1.3.3/src/sw/redis++/async_connection.h361// NOTE: This class is similar to `SafeAsyncConnection`.COMMENT
Redundant / Tautological Comments7 hits · 6 pts
SeverityFileLineSnippetContext
LOWext/libpqxx-7.7.3/config/ltmain.sh623# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWext/libpqxx-7.7.3/config/ltmain.sh647# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWext/libpqxx-7.7.3/config/ltmain.sh813# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWext/libpqxx-7.7.3/config/ltmain.sh1031# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWext/libpqxx-7.7.3/config/ltmain.sh4003 # Check if any of the arguments is a wrapper script.COMMENT
LOWext/libpqxx-7.7.3/config/ltmain.sh9972 # Loop over the list of objects to be linked.COMMENT
LOWpkg/qnap/zerotier/qpkg.cfg46# Set value to 1 means to open the QPKG's Web UI inside QTS desktop instead of new window.COMMENT
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWext/libpqxx-7.7.3/tools/test_all.py261 except Exception as error:CODE
LOWext/libpqxx-7.7.3/tools/test_all.py416 except Exception as error:CODE
LOWext/libpqxx-7.7.3/tools/test_all.py437 except Exception as error:CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…lude/opentelemetry/semconv/incubating/aws_attributes.h24 href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrail</a> helpsCODE