AI Slop Code Risk Monitor

stoatchat/stoatchat

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

The software powering Stoat

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for stoatchat/stoatchat, a Rust project with 3,433 GitHub stars. SynthScan examined 197,069 lines of code across 570 source files, recording 108 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.4K
Stars
Rust
Language
197.1K
Lines of Code
570
Files
108
Pattern Hits
2026-10-31
Scan Date
0.01
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 2.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 4.4/100 · LOW

Which changes need focused human review? 108 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 5HIGH 0MEDIUM 12LOW 91

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 108 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 Block81 hits · 81 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21# `target_family = "unix"` configuration, that only having windows targets inCOMMENT
LOWdeny.toml41#exclude = []COMMENT
LOWdeny.toml61COMMENT
LOWdeny.toml121 { allow = ["AGPL-3.0"], crate = "revolt-autumn" },COMMENT
LOWdeny.toml141]COMMENT
LOWdeny.toml161multiple-versions = "warn"COMMENT
LOWdeny.toml181 #{ crate = "ansi_term@0.11.0", reason = "you can specify a reason it is allowed" },COMMENT
LOWdeny.toml201# "rustls",COMMENT
LOWdeny.toml221# detection. Unlike skip, it also includes the entire tree of transitiveCOMMENT
LOWRevolt.toml1# ⚠️ This configuration is intended for development environment.COMMENT
LOWcrates/delta/src/routes/root.rs161/// # Server ConfigurationCOMMENT
LOWcrates/bonfire/src/events/state.rs21 add: Vec<String>,COMMENT
LOWcrates/core/database/src/lib.rs121 };COMMENT
LOWcrates/core/database/src/util/email.rs41 pub html: Option<String>,COMMENT
LOWcrates/core/database/src/models/bots/model.rs21 /// The permissions the bot will ask to have upon being invited to a server,COMMENT
LOWcrates/core/database/src/models/messages/model.rs21#[cfg(feature = "tasks")]COMMENT
LOWcrates/core/database/src/models/messages/model.rs41 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/core/database/src/models/messages/model.rs61 /// Array of message ids this message is replying toCOMMENT
LOWcrates/core/database/src/models/messages/model.rs121 /// Name and / or avatar override informationCOMMENT
LOWcrates/core/database/src/models/messages/model.rs141 pub reactions: Option<IndexSet<String>>,COMMENT
LOWcrates/core/database/src/models/server_members/model.rs21 /// Unique member idCOMMENT
LOWcrates/core/database/src/models/server_members/model.rs41 /// Timestamp this member is timed out untilCOMMENT
LOWcrates/core/database/src/models/accounts/model.rs101 /// MFA configurationCOMMENT
LOWcrates/core/database/src/models/users/model.rs21auto_derived_partial!(COMMENT
LOWcrates/core/database/src/models/users/model.rs41 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/core/database/src/models/users/model.rs121 /// User's active statusCOMMENT
LOWcrates/core/database/src/models/files/model.rs21 /// ID of user who uploaded this fileCOMMENT
LOWcrates/core/database/src/models/servers/model.rs21 /// User id of the ownerCOMMENT
LOWcrates/core/database/src/models/servers/model.rs81 /// Permissions available to this roleCOMMENT
LOWcrates/core/database/src/models/channels/model.rs61 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/core/database/src/models/channels/model.rs81 /// Id of the server this channel belongs toCOMMENT
LOWcrates/core/database/src/events/client.rs241 update: UserSettings,COMMENT
LOWcrates/core/result/src/lib.rs21#[cfg(feature = "axum")]COMMENT
LOWcrates/core/coalesced/src/lib.rs1//! # CoalescedCOMMENT
LOWcrates/core/coalesced/src/lib.rs21//! ## Example:COMMENT
LOWcrates/core/config/Revolt.toml161# Generate your own key using `openssl rand -base64 32`COMMENT
LOWcrates/core/config/Revolt.toml201[files.s3]COMMENT
LOWcrates/core/models/src/v0/servers.rs21 /// Name of the serverCOMMENT
LOWcrates/core/models/src/v0/servers.rs141 /// Unique ID for this categoryCOMMENT
LOWcrates/core/models/src/v0/servers.rs161 pub user_kicked: Option<String>,COMMENT
LOWcrates/core/models/src/v0/servers.rs181COMMENT
LOWcrates/core/models/src/v0/servers.rs241 /// Attachment Id for iconCOMMENT
LOWcrates/core/models/src/v0/servers.rs261 ///COMMENT
LOWcrates/core/models/src/v0/server_members.rs141 /// Member nicknameCOMMENT
LOWcrates/core/models/src/v0/bots.rs1use super::User;COMMENT
LOWcrates/core/models/src/v0/bots.rs141 feature = "validator",COMMENT
LOWcrates/core/models/src/v0/users.rs21COMMENT
LOWcrates/core/models/src/v0/users.rs141 Invisible,COMMENT
LOWcrates/core/models/src/v0/users.rs161 /// Text content on user's profileCOMMENT
LOWcrates/core/models/src/v0/users.rs201 SuspendedUntil = 1,COMMENT
LOWcrates/core/models/src/v0/users.rs241 pub status: Option<UserStatus>,COMMENT
LOWcrates/core/models/src/v0/channel_invites.rs21 max_uses: Option<u64>,COMMENT
LOWcrates/core/models/src/v0/channel_invites.rs61 pub enum InviteResponse {COMMENT
LOWcrates/core/models/src/v0/channel_invites.rs81 /// Name of server channelCOMMENT
LOWcrates/core/models/src/v0/files.rs21 /// Whether this file was reportedCOMMENT
LOWcrates/core/models/src/v0/audit_logs.rs141 /// Filter by the action typeCOMMENT
LOWcrates/core/models/src/v0/embeds.rs141 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/core/models/src/v0/embeds.rs161 /// Text EmbedCOMMENT
LOWcrates/core/models/src/v0/channels.rs41COMMENT
21 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALcrates/delta/src/routes/root.rs190 enabled: !config.api.security.captcha.hcaptcha_key.is_empty(),CODE
CRITICALcrates/delta/src/routes/root.rs191 key: config.api.security.captcha.hcaptcha_sitekey.clone(),CODE
CRITICALcrates/core/database/src/util/captcha.rs16 if !config.api.security.captcha.hcaptcha_key.is_empty() {CODE
CRITICALcrates/core/database/src/util/captcha.rs24 ("secret", config.api.security.captcha.hcaptcha_key.as_str()),CODE
CRITICALcrates/core/config/src/settings.rs450 if self.api.security.captcha.hcaptcha_key.is_empty() {CODE
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM.github/ISSUE_TEMPLATE/bug.yml9 # ── Thank you section ────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml17 # ── Pre-flight checks ────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml31 # ── Bug description ──────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml43 # ── Steps to reproduce ───────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml59 # ── Expected behavior ────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml69 # ── Client / platform ────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml84 # ── Client version ───────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml96 # ── OS / browser details ─────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml106 # ── Reproducibility ──────────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml121 # ── Screenshots or video ─────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml130 # ── Additional context ───────────────────────────────────────────────────────COMMENT
MEDIUM.github/ISSUE_TEMPLATE/bug.yml141 # ── Closing note ─────────────────────────────────────────────────────────────COMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/daemons/pushd/src/consumers/inbound/ack.rs39 // Step 1: fetch unreads and don't continue if there's no unreadsCOMMENT
LOWcrates/daemons/pushd/src/consumers/inbound/ack.rs60 // Step 2: find any apple sessions, since we don't need to calculate this for anything else.COMMENT
LOW⚡crates/daemons/pushd/src/consumers/inbound/ack.rs81 // Step 3: calculate the actual mention count, since we have to send it outCOMMENT
LOW⚡crates/daemons/pushd/src/consumers/inbound/ack.rs87 // Step 4: loop through each apple session and send the badge updateCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/daemons/pushd/src/consumers/inbound/ack.rs39 // Step 1: fetch unreads and don't continue if there's no unreadsCOMMENT
LOWcrates/daemons/pushd/src/consumers/inbound/ack.rs60 // Step 2: find any apple sessions, since we don't need to calculate this for anything else.COMMENT
LOW⚡crates/daemons/pushd/src/consumers/inbound/ack.rs81 // Step 3: calculate the actual mention count, since we have to send it outCOMMENT
LOW⚡crates/daemons/pushd/src/consumers/inbound/ack.rs87 // Step 4: loop through each apple session and send the badge updateCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcrates/core/database/src/lib.rs127/// ## Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/publish-debug-image.sh6# Check if an argument was providedCOMMENT