AI Slop Code Risk Monitor

moonrepo/moon

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

A build system and monorepo management tool for the web ecosystem, written in Rust.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for moonrepo/moon, a Rust project with 4,173 GitHub stars. SynthScan examined 196,415 lines of code across 1491 source files, recording 145 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
4.2K
Stars
Rust
Language
196.4K
Lines of Code
1.5K
Files
145
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 4.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 5.0/100 · LOW

Which changes need focused human review? 145 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 4HIGH 0MEDIUM 11LOW 130

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 145 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 Block104 hits · 104 pts
SeverityFileLineSnippetContext
LOWCargo.toml141ignored = ["serde"]COMMENT
LOWcrates/cas/src/gc.rs101COMMENT
LOWcrates/cas/src/cas.rs81 Ok(true)COMMENT
LOWcrates/token/src/funcs.rs41// }COMMENT
LOWcrates/token/src/funcs.rs61// Value::try_from_serializable(&context)COMMENT
LOWcrates/daemon-proto/src/lib.rs1#![allow(clippy::disallowed_types)]COMMENT
LOWcrates/pdk-api/src/host.rs21 #[serde(default)]COMMENT
LOWcrates/pdk-api/src/host.rs41 /// the cache key/hash.COMMENT
LOWcrates/pdk-api/src/vcs.rs1//! Serializable interface for source-control provider plugins.COMMENT
LOWcrates/pdk-api/src/vcs.rs81 ///COMMENT
LOWcrates/pdk-api/src/vcs.rs181bitflags! {COMMENT
LOWcrates/pdk-api/src/toolchain/tier1.rs41 /// Will be used for task usage detection.COMMENT
LOWcrates/pdk-api/src/toolchain/tier2.rs21);COMMENT
LOWcrates/daemon-client/src/daemon_client.rs21/// plus the HTTP/2 handshake. Enforced locally with a timer around theCOMMENT
LOWcrates/cache-remote/src/grpc_tls.rs1use moon_config::{RemoteMtlsConfig, RemoteTlsConfig};COMMENT
LOWcrates/hash/src/content_hash.rs21 pub fn hash_file<T: AsRef<Path>>(path: T) -> miette::Result<Self> {COMMENT
LOWcrates/config/tests/extensions_config_test.rs21 // fn errors_invalid_locator() {COMMENT
LOWcrates/config/src/project_config.rs61COMMENT
LOWcrates/config/src/project_config.rs101config_struct!(COMMENT
LOWcrates/config/src/project_config.rs141 /// Defines ownership of source code within the current project, by mappingCOMMENT
LOWcrates/config/src/project_config.rs161 /// A map of identifiers to task objects. Tasks represent the work-unitCOMMENT
LOWcrates/config/src/workspace_config.rs121 pub schema: String,COMMENT
LOWcrates/config/src/workspace_config.rs141 #[serde(rename = "unstable_daemon")]COMMENT
LOWcrates/config/src/workspace_config.rs161 /// Supports a relative file path or a secure URL.COMMENT
LOWcrates/config/src/workspace_config.rs181 pub pipeline: PipelineConfig,COMMENT
LOWcrates/config/src/task_config.rs121 #[derive(Config)]COMMENT
LOWcrates/config/src/task_config.rs141 /// @since 2.6.0COMMENT
LOWcrates/config/src/task_config.rs181 pub enum TaskDependencyCacheStrategy {COMMENT
LOWcrates/config/src/task_config.rs221 /// otherwise `ignored`.COMMENT
LOWcrates/config/src/task_config.rs281 }COMMENT
LOWcrates/config/src/task_config.rs301 pub command: TaskArgs,COMMENT
LOWcrates/config/src/task_config.rs321 pub deps: Option<Vec<TaskDependency>>,COMMENT
LOWcrates/config/src/task_config.rs341 pub inputs: Option<Vec<Input>>,COMMENT
LOWcrates/config/src/inherited_tasks_config.rs141 /// Lower is inherited first, while higher is last.COMMENT
LOWcrates/config/src/inherited_tasks_config.rs281 /// Docs: https://moonrepo.dev/docs/config/tasksCOMMENT
LOWcrates/config/src/inherited_tasks_config.rs301COMMENT
LOWcrates/config/src/inherited_tasks_config.rs321 /// tasks and configuration. If not defined, will be inherited by all projects.COMMENT
LOWcrates/config/src/template_config.rs181config_enum!(COMMENT
LOWcrates/config/src/template_config.rs281 /// workspace root when leading with `/`, otherwise the working directory.COMMENT
LOWcrates/config/src/toolchains_config.rs41 /// Run the `InstallDependencies` actions for each running taskCOMMENT
LOWcrates/config/src/toolchains_config.rs81 #[derive(Config)]COMMENT
LOWcrates/config/src/task_options_config.rs321config_struct!(COMMENT
LOWcrates/config/src/task_options_config.rs341 /// used to invalidate local and remote caches.COMMENT
LOWcrates/config/src/task_options_config.rs361 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/config/src/task_options_config.rs381 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/config/src/task_options_config.rs421 /// The strategy to use when merging `tags` with an inherited task.COMMENT
LOWcrates/config/src/task_options_config.rs441 /// The style in which task output will be printed to the console.COMMENT
LOWcrates/config/src/task_options_config.rs461COMMENT
LOWcrates/config/src/workspace/notifier_config.rs41 /// When enabled, will bypass the daemon and send webhooks in theCOMMENT
LOWcrates/config/src/workspace/experiments_config.rs1use crate::config_struct;COMMENT
LOWcrates/config/src/workspace/codeowners_config.rs21 /// A map of global file paths and glob patterns to a list of owners.COMMENT
LOWcrates/config/src/workspace/hasher_config.rs41 /// when a hash is being generated. Patterns are workspace relative,COMMENT
LOWcrates/config/src/workspace/remote_config.rs81 /// When local, only download matching blobs and do not upload newCOMMENT
LOWcrates/config/src/workspace/remote_config.rs101 pub verify_integrity: bool,COMMENT
LOWcrates/config/src/workspace/remote_config.rs121COMMENT
LOWcrates/config/src/workspace/remote_config.rs161config_struct!(COMMENT
LOWcrates/config/src/workspace/remote_config.rs181 /// The remote host to connect and send requests to.COMMENT
LOWcrates/config/src/workspace/docker_config.rs21COMMENT
LOWcrates/config/src/workspace/docker_config.rs41 /// rendering the `Dockerfile`. Powered by Tera.COMMENT
LOWcrates/config/src/workspace/docker_config.rs61 pub install_toolchain_dependencies: bool,COMMENT
44 more matches not shown…
Structural Annotation Overuse25 hits · 40 pts
SeverityFileLineSnippetContext
LOW.agents/skills/improve-code-quality/SKILL.md27## Step 1: Validate and detect languageCOMMENT
LOW.agents/skills/improve-code-quality/SKILL.md40## Step 2: Manual analysisCOMMENT
LOW.agents/skills/improve-code-quality/SKILL.md90## Step 3: Run automated toolsCOMMENT
LOW.agents/skills/improve-code-quality/SKILL.md124## Step 4: Present the reportCOMMENT
LOW.agents/skills/improve-code-quality/SKILL.md197## Step 5: Apply fixes (after approval)COMMENT
LOW.agents/skills/improve-code-quality/SKILL.md216## Step 6: Validate best practicesCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md187### Step 1: Clarifying QuestionsCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md196### Step 2: BrainstormingCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md207### Step 3: CurationCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md223### Step 4: Gap CheckCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md228### Step 5: DraftingCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md249### Step 6: Iterative RefinementCOMMENT
LOW⚡.agents/skills/doc-coauthoring/SKILL.md305### Step 1: Predict Reader QuestionsCOMMENT
LOW⚡.agents/skills/doc-coauthoring/SKILL.md312### Step 2: Test with Sub-AgentCOMMENT
LOW⚡.agents/skills/doc-coauthoring/SKILL.md321### Step 3: Run Additional ChecksCOMMENT
LOW⚡.agents/skills/doc-coauthoring/SKILL.md329### Step 4: Report and FixCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md345### Step 1: Predict Reader QuestionsCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md352### Step 2: Setup TestingCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md369### Step 3: Additional ChecksCOMMENT
LOW.agents/skills/doc-coauthoring/SKILL.md377### Step 4: Iterate Based on ResultsCOMMENT
LOWskills/debug-task/SKILL.md42### Step 1: Inspect the resolved task configurationCOMMENT
LOWskills/debug-task/SKILL.md130### Step 2: Run with maximum verbosityCOMMENT
LOWskills/debug-task/SKILL.md163### Step 3: Inspect cache stateCOMMENT
LOWskills/debug-task/SKILL.md187### Step 4: Diagnose the problem typeCOMMENT
LOWskills/debug-task/SKILL.md226### Step 5: Validate the fixCOMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALcrates/app/src/commands/docker/scaffold.rs177 docker_config: self.session.workspace_config.docker.scaffold.clone(),CODE
CRITICALcrates/app/src/commands/docker/prune.rs137 let docker_config = self.session.workspace_config.docker.prune.clone();CODE
CRITICALcrates/process-augment/src/augmented_command.rs426 let proto_version = self.context.toolchains_config.proto.version.to_string();CODE
CRITICALcrates/action-graph/src/action_graph_builder.rs1496 ActionNode::setup_proto(self.app_context.toolchains_config.proto.version.clone())CODE
Modern AI Meta-Vocabulary8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMcrates/pdk-api/src/toolchain/tier1.rs132 /// Docker scaffold configuration. When scaffolding a project, thisCOMMENT
MEDIUMcrates/pdk-api/src/toolchain/tier1.rs159 /// List of virtual paths that were copied into the scaffold.COMMENT
MEDIUMcrates/config/src/template_config.rs280 /// A pre-populated destination to scaffold to, relative from theCOMMENT
MEDIUM…ipeline/tests/__fixtures__/pipeline/dep-types/moon.yml100 # orchestrate their dependencies, but it still ran, so the cleanup runsCOMMENT
MEDIUMcrates/project-constraints/tests/constraints_test.rs547 #[should_panic(expected = "Layering violation: Project foo with layer scaffolding")]COMMENT
MEDIUMcrates/project-constraints/tests/constraints_test.rs558 #[should_panic(expected = "Layering violation: Project foo with layer scaffolding")]COMMENT
MEDIUMcrates/project-constraints/tests/constraints_test.rs569 #[should_panic(expected = "Layering violation: Project foo with layer scaffolding")]COMMENT
MEDIUMcrates/project-constraints/tests/constraints_test.rs580 #[should_panic(expected = "Layering violation: Project foo with layer scaffolding")]COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcrates/cache/src/cache_engine.rs64# This file is a cache directory tag created by moon.COMMENT
MEDIUM.github/workflows/release.yml273 # Create a GitHub Release while uploading all files to itCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/action-pipeline/src/reports/estimate.rs60 // Comparisons don't utilize the same caching mechanisms that moon does,COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscenarios/interactive/input.py1CODE