AI Slop Code Risk Monitor

coturn/coturn

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

coturn TURN server project

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for coturn/coturn, a C project with 14,532 GitHub stars. SynthScan examined 88,518 lines of code across 305 source files, recording 184 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.3 (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.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
14.5K
Stars
C
Language
88.5K
Lines of Code
305
Files
184
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 10.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 1.0/100 · LOW

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

PR Review Velocity Impact 10.8/100 · LOW

Which changes need focused human review? 184 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 1MEDIUM 7LOW 176

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 184 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 Block161 hits · 161 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1##COMMENT
LOWCMakeLists.txt21#COMMENT
LOWCLAUDE.md61```bashCOMMENT
LOWCLAUDE.md81 # DTLS) on the small port range opened byCOMMENT
LOWCLAUDE.md101 # UDP/TCP (+TLS/DTLS on Linux), assertingCOMMENT
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh1#!/usr/bin/env shCOMMENT
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh21#/COMMENT
LOWtests/test_sqlite_dbd.c21 */COMMENT
LOWexamples/run_tests_mobility_resume_flood.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_stateless_nonce.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_dtls_default.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_alpn.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_expiry.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_dscp.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_rfc5780.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests.sh41# default test run so every CI cycle exercises the recvmmsg drain path.COMMENT
LOWexamples/run_tests.sh81# raced in and hit "Connection refused".COMMENT
LOWexamples/run_tests.sh161# function lets us run each protocol once with the legacy single-threadedCOMMENT
LOWexamples/run_tests.sh201# session via pick_listener_base / pick_sender_id, and drive theCOMMENT
LOWexamples/run_tests_stateless_binding.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_ipv6_relay.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_ratelimit_401.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_mobile.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_mobility_quota.sh1#!/bin/bashCOMMENT
LOWexamples/run_tests_conf.sh41echo "allow-loopback-peers" >> $BINDIR/turnserver.confCOMMENT
LOWexamples/run_tests_oauth.sh1#!/bin/bashCOMMENT
LOWexamples/loadtest/401_response_flood.c21COMMENT
LOWexamples/scripts/stateless_binding_probe.py1#!/usr/bin/env python3COMMENT
LOWexamples/scripts/mobility_resume_flood.py1#!/usr/bin/env python3COMMENT
LOWexamples/scripts/stateless_nonce_forged_mi.py1#!/usr/bin/env python3COMMENT
LOWexamples/scripts/mobility_quota_flood.py1#!/usr/bin/env python3COMMENT
LOWexamples/scripts/loadbalance/slave_relay_2.sh1#!/bin/shCOMMENT
LOWexamples/scripts/loadbalance/tcp_c2c_tcp_relay.sh1#!/bin/shCOMMENT
LOWexamples/scripts/loadbalance/slave_relay_1.sh1#!/bin/shCOMMENT
LOWexamples/scripts/loadbalance/master_relay.sh1#!/bin/shCOMMENT
LOWexamples/scripts/loadbalance/udp_c2c.sh1#!/bin/shCOMMENT
LOW…scripts/longtermsecuredb/secure_relay_with_db_mongo.sh1#!/bin/shCOMMENT
LOW…pts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh1#!/bin/shCOMMENT
LOW…/scripts/longtermsecuredb/secure_relay_with_db_psql.sh1#!/bin/shCOMMENT
LOW…scripts/longtermsecuredb/secure_relay_with_db_redis.sh1#!/bin/shCOMMENT
LOW…scripts/longtermsecuredb/secure_relay_with_db_mysql.sh1#!/bin/shCOMMENT
LOW…cripts/longtermsecuredb/secure_relay_with_db_sqlite.sh1#!/bin/shCOMMENT
LOWexamples/scripts/basic/relay.sh1#!/bin/shCOMMENT
LOWexamples/scripts/basic/tcp_client.sh1#!/bin/shCOMMENT
LOWexamples/scripts/basic/tcp_client_c2c_tcp_relay.sh1#!/bin/shCOMMENT
LOWexamples/scripts/basic/udp_client.sh1#!/bin/shCOMMENT
LOWexamples/scripts/basic/udp_c2c_client.sh1#!/bin/shCOMMENT
LOW…s/scripts/restapi/secure_relay_secret_with_db_redis.sh1#!/bin/shCOMMENT
LOW…es/scripts/restapi/secure_relay_secret_with_db_psql.sh1#!/bin/shCOMMENT
LOW…s/scripts/restapi/secure_relay_secret_with_db_mysql.sh1#!/bin/shCOMMENT
LOW…mples/scripts/restapi/secure_udp_client_with_secret.sh1#!/bin/shCOMMENT
LOW…s/scripts/restapi/secure_relay_secret_with_db_mongo.sh1#!/bin/shCOMMENT
LOWexamples/scripts/restapi/secure_relay_secret.sh1#!/bin/shCOMMENT
LOW…/scripts/restapi/secure_relay_secret_with_db_sqlite.sh1#!/bin/shCOMMENT
LOWexamples/scripts/mobile/mobile_relay.sh1#!/bin/shCOMMENT
LOWexamples/scripts/mobile/mobile_dtls_client.sh1#!/bin/shCOMMENT
LOWexamples/scripts/mobile/mobile_udp_client.sh1#!/bin/shCOMMENT
LOW…ples/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh1#!/bin/shCOMMENT
LOWexamples/scripts/mobile/mobile_tcp_client.sh1#!/bin/shCOMMENT
LOW…mples/scripts/longtermsecure/secure_tls_client_cert.sh1#!/bin/shCOMMENT
101 more matches not shown…
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh35# ===========COMMENT
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh48# ==========================COMMENT
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh58# ====================COMMENT
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh77# ================================COMMENT
TODO Padding8 hits · 12 pts
SeverityFileLineSnippetContext
LOWsrc/apps/relay/mainrelay.c286// TODO: implement it!!!COMMENT
LOWsrc/apps/relay/mainrelay.c2263 // TODO: implement it!!!COMMENT
LOWsrc/apps/relay/mainrelay.c3329 // TODO: implement it!!!COMMENT
LOWsrc/apps/relay/mainrelay.c3854 // TODO: implement deamon!!! use windows serverCOMMENT
LOWsrc/apps/relay/mainrelay.c3935 // TODO: implement it!!! add windows serverCOMMENT
LOWsrc/apps/relay/ns_ioalib_engine_impl.c2603 // TODO: implement it!!!COMMENT
LOWsrc/apps/relay/turn_admin_server.c711 // TODO: implement it!!!COMMENT
LOWsrc/apps/relay/turn_admin_server.c2161 // TODO: implement it!!!COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/run_tests_ratelimit_401.sh16# negative: same harness but --unauthorized-ratelimit-rps=100000. SameCOMMENT
MEDIUMexamples/run_tests_mobile.sh19# loopback harness and would make this suite flaky. UDP and TCP drive theCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHexamples/scripts/stateless_binding_probe.py201except socket.timeout:CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh86 # Check if the input looks like an IPv4 address.COMMENT
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh99 # Check if the input looks like an IPv6 address.COMMENT
LOWexamples/run_tests_prom.sh355# Print the value of one allocation series, or nothing if it is absent.COMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/scripts/restapi/shared_secret_maintainer.pl69# Alternatively, you can use this link for compute-on-demand:COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_http_server.c26 str_buffer_append_html_escaped(sb, "alice-123@example.org");CODE
LOWtests/test_http_server.c28 TEST_ASSERT_EQUAL_STRING("alice-123@example.org", str_buffer_get_str(sb));CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/run_tests_oauth.py199 except Exception:CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/run_tests_oauth.py106CODE