AI Slop Code Risk Monitor

throneproj/Throne

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

Cross-platform GUI proxy utility (Empowered by sing-box)

1.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for throneproj/Throne, a C++ project with 7,661 GitHub stars. SynthScan examined 253,281 lines of code across 931 source files, recording 485 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.7
Adjusted Signal
1.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.7K
Stars
C++
Language
253.3K
Lines of Code
931
Files
485
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 7.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 9.4/100 · LOW

Which changes need focused human review? 485 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 2MEDIUM 2LOW 481

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 485 distinct pattern matches across 7 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 Block452 hits · 386 pts
SeverityFileLineSnippetContext
LOWdocker/compose.yaml1# Headless Throne; https://throneproj.github.io/headless/ has the full guide. Manage it with thronectl inside the contaiCOMMENT
LOWdocker/compose.yaml21 # and only one Tun-owning Throne may run on it.COMMENT
LOWcore/internal/winipcfg/winipcfg.go21//sys freeMibTable(memory unsafe.Pointer) = iphlpapi.FreeMibTableCOMMENT
LOWcore/internal/winipcfg/winipcfg.go81 return nil, errCOMMENT
LOWcore/internal/winipcfg/winipcfg.go161COMMENT
LOWinclude/ui/mainwindow.h1#pragma onceCOMMENT
LOWinclude/ui/mainwindow.h21#include <QPointer>COMMENT
LOWinclude/ui/utils/ProfilesTableFilterHeader.h1#pragma onceCOMMENT
LOWinclude/ui/utils/GuiUtils.hpp21COMMENT
LOWinclude/ui/utils/GuiUtils.hpp41COMMENT
LOWinclude/ui/setting/ThemeManager.hpp1#pragma onceCOMMENT
LOWinclude/ui/setting/RouteItem.h1#pragma onceCOMMENT
LOWinclude/ui/scanner/dialog_scan_instance.h1#pragma onceCOMMENT
LOWinclude/database/RoutesRepo.h1#pragma onceCOMMENT
LOWinclude/database/ProfilesRepo.h1#pragma onceCOMMENT
LOWinclude/database/SettingsRepo.h1#pragma onceCOMMENT
LOWinclude/database/GroupsRepo.h1#pragma onceCOMMENT
LOWinclude/database/IpListsRepo.h1#pragma onceCOMMENT
LOWinclude/database/Database.h1#pragma onceCOMMENT
LOWinclude/database/entities/Profile.h1#pragma onceCOMMENT
LOWinclude/database/entities/Profile.h21#include "include/configs/outbounds/trojan.h"COMMENT
LOWinclude/sys/ServiceManager.hpp1#pragma onceCOMMENT
LOWinclude/sys/HostPresence.hpp21 // (macOS); otherwise $XDG_RUNTIME_DIR/throne/headless.lock; otherwise none (logged). flock LOCK_EX|LOCK_NB on a CLOCOMMENT
LOWinclude/configs/sub/GroupUpdater.hpp1#pragma onceCOMMENT
LOWinclude/configs/common/Outbound.h1#pragma onceCOMMENT
LOWinclude/api/RPC.h1#pragma onceCOMMENT
LOWinclude/api/remote/Server.hpp1#pragma onceCOMMENT
LOWinclude/api/remote/Router.hpp1#pragma onceCOMMENT
LOWinclude/api/remote/Overlay.hpp1#pragma onceCOMMENT
LOWinclude/scanner/ScanWorker.h1#pragma onceCOMMENT
LOWinclude/engine/tests/TestRunner.h1#pragma onceCOMMENT
LOWinclude/engine/headless/Preflight.h1#pragma onceCOMMENT
LOWinclude/engine/services/StatsService.h1#pragma onceCOMMENT
LOWinclude/global/Logger.hpp81#define LOG_WARN(msg) ::Logging::Write(::Logging::Level::Warn, (msg), __FILE__, __LINE__)COMMENT
LOWinclude/global/Utils.hpp1// DO NOT INCLUDE THISCOMMENT
LOWscript/ci/e2e/macos_launchd.sh1#!/usr/bin/env bashCOMMENT
LOWscript/ci/e2e/lib.sh1# shellcheck shell=bashCOMMENT
LOWscript/ci/e2e/linux_scenarios.sh1#!/usr/bin/env bashCOMMENT
LOW3rdparty/WinCommander.cpp21****************************************************************************/COMMENT
LOW3rdparty/quirc/quirc.h81#define QUIRC_MAX_VERSION 40COMMENT
LOW3rdparty/quirc/quirc.h101#define QUIRC_ECI_ISO_8859_2 4COMMENT
LOW3rdparty/quirc/quirc_internal.h21#include <stdlib.h>COMMENT
LOW3rdparty/fkYAML/node.hpp1// _______ __ __ __ _____ __ __ __COMMENT
LOW3rdparty/fkYAML/node.hpp21COMMENT
LOW3rdparty/fkYAML/node.hpp41// SPDX-License-Identifier: MITCOMMENT
LOW3rdparty/fkYAML/node.hpp81COMMENT
LOW3rdparty/fkYAML/node.hpp101// See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ for more details.COMMENT
LOW3rdparty/fkYAML/node.hpp121#elif FK_YAML_CPLUSPLUS >= 201703LCOMMENT
LOW3rdparty/fkYAML/node.hpp141#define FK_YAML_DEPRECATED(msg)COMMENT
LOW3rdparty/fkYAML/node.hpp161COMMENT
LOW3rdparty/fkYAML/node.hpp181#define FK_YAML_HAS_FEATURE(feat) __has_feature(feat)COMMENT
LOW3rdparty/fkYAML/node.hpp201COMMENT
LOW3rdparty/fkYAML/node.hpp221#if defined(FK_YAML_HAS_CXX_20) && FK_YAML_HAS_CPP_ATTRIBUTE(likely) >= 201803LCOMMENT
LOW3rdparty/fkYAML/node.hpp241#endif /* FK_YAML_DETAIL_MACROS_DEFINE_MACROS_HPP */COMMENT
LOW3rdparty/fkYAML/node.hpp261#define FK_YAML_ASSERT(x)COMMENT
LOW3rdparty/fkYAML/node.hpp281COMMENT
LOW3rdparty/fkYAML/node.hpp301// | __| _ < \_ _/| ___ | _ | |___ version 0.5.0COMMENT
LOW3rdparty/fkYAML/node.hpp321// SPDX-FileCopyrightText: 2023-2026 Kensuke Fukutani <fktn.dev@gmail.com>COMMENT
LOW3rdparty/fkYAML/node.hpp341// This file is for supplementing future C++ STL implementations to utilize some useful featuresCOMMENT
LOW3rdparty/fkYAML/node.hpp361/// @tparam T The type defined only if Condition is true.COMMENT
392 more matches not shown…
Fake / Example Data21 hits · 29 pts
SeverityFileLineSnippetContext
LOW3rdparty/simple-protobuf/README.md89 .name = "John Doe",CODE
LOW⚡3rdparty/simple-protobuf/test/pb.cpp1992 .name = "John Doe",CODE
LOW⚡3rdparty/simple-protobuf/test/pb.cpp1996 .number = "555-4321",CODE
LOW⚡3rdparty/simple-protobuf/test/pb.cpp2002 R"({"name":"John Doe","id":123,"email":"QXUeh@example.com","phones":[{"number":"555-4321","type":"HOME"}]})"CODE
LOW⚡3rdparty/simple-protobuf/test/pb.cpp2002 R"({"name":"John Doe","id":123,"email":"QXUeh@example.com","phones":[{"number":"555-4321","type":"HOME"}]})"CODE
LOW3rdparty/simple-protobuf/test/gpb-compatibility.cpp1491 auto spb = PhoneBook::Person{.name = "John Doe",CODE
LOW3rdparty/simple-protobuf/test/gpb-compatibility.cpp1496 .number = "555-4321",CODE
LOW3rdparty/simple-protobuf/test/etl-compatibility.cpp533 auto spb = PhoneBook::Etl::Person{.name = "John Doe",CODE
LOW3rdparty/simple-protobuf/test/etl-compatibility.cpp538 .number = "555-4321",CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp388 R"({"name": "John Doe","id": 123,"email": "QXUeh@example.com", "phones": [ {"number": "555-4321","type":CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp388 R"({"name": "John Doe","id": 123,"email": "QXUeh@example.com", "phones": [ {"number": "555-4321","type":CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp389 R"({"name": "John Doe","id": 123,"email": "QXUeh@example.com", "phones": [ {"number": "555-4321","type":CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp389 R"({"name": "John Doe","id": 123,"email": "QXUeh@example.com", "phones": [ {"number": "555-4321","type":CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp390 R"({"name2": "Jack","name": "John Doe","id": 123,"email": "QXUeh@example.com", "phones": [ {"number": "5CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp390 R"({"name2": "Jack","name": "John Doe","id": 123,"email": "QXUeh@example.com", "phones": [ {"number": "5CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp395 CHECK(person.name == "John Doe");CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp399 CHECK(person.phones[0].number == "555-4321");CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp1159 .name = "John Doe",CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp1163 .number = "555-4321",CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp1167 R"({"name":"John Doe","id":123,"email":"QXUeh@example.com","phones":[{"number":"555-4321","type":"HOME"}CODE
LOW⚡3rdparty/simple-protobuf/test/json.cpp1167 R"({"name":"John Doe","id":123,"email":"QXUeh@example.com","phones":[{"number":"555-4321","type":"HOME"}CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscript/ci/smoke_fixtures.py199except KeyboardInterrupt:CODE
HIGHscript/ci/smoke_fixtures.py96except OSError:CODE
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscript/install_linux.py127CODE
LOWscript/install_linux.py212CODE
LOWscript/ci/smoke_fixtures.py78CODE
LOWscript/ci/smoke_fixtures.py106CODE
LOW3rdparty/simple-protobuf/scripts/benchmark-plotter.py12CODE
LOW3rdparty/simple-protobuf/scripts/benchmark-plotter.py41CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM3rdparty/fkYAML/node.hpp341// This file is for supplementing future C++ STL implementations to utilize some useful featuresCOMMENT
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
LOW3rdparty/simple-protobuf/scripts/benchmark-plotter.py67 except Exception as e:CODE
MEDIUM3rdparty/simple-protobuf/scripts/file-size-plotter.py33 print(f"Error: '{directory}' is not a valid directory.")CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW3rdparty/monocypher/monocypher.h255// Don't forget to add authentication.COMMENT