AI Slop Code Risk Monitor

spinframework/spin

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

Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for spinframework/spin, a Rust project with 6,563 GitHub stars. SynthScan examined 104,219 lines of code across 849 source files, recording 170 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.8 (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.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
6.6K
Stars
Rust
Language
104.2K
Lines of Code
849
Files
170
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 8.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/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 8.2/100 · LOW

Which changes need focused human review? 170 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 4LOW 166

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 170 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 Block152 hits · 152 pts
SeverityFileLineSnippetContext
LOWcrates/variables-azure/src/lib.rs61 client_id: String,COMMENT
LOWcrates/variables-azure/src/lib.rs81 /// - `AZURE_CLIENT_CERTIFICATE_PASSWORD`: (optional) password for theCOMMENT
LOWcrates/factor-outbound-networking/src/lib.rs301 }COMMENT
LOWcrates/factor-outbound-networking/src/runtime_config.rs41 /// If `true`, the "standard" CA certs in theCOMMENT
LOW…/factor-outbound-networking/src/runtime_config/spin.rs21 /// The given `runtime_config_dir` will be used as the root to resolve anyCOMMENT
LOWcrates/componentize/src/abi_conformance/test_mysql.rs21 /// host-implemented `mysql::execute` function with the arguments \["127.0.0.1", "INSERT INTO foo (x) VALUESCOMMENT
LOWcrates/componentize/src/abi_conformance/test_redis.rs21COMMENT
LOWcrates/componentize/src/abi_conformance/test_redis.rs41 /// "127.0.0.1", "foo"\] as arguments. The module should call the host-implemented `redis::incr`COMMENT
LOWcrates/componentize/src/abi_conformance/test_redis.rs61 pub sadd: Result<(), String>,COMMENT
LOWcrates/componentize/src/abi_conformance/mod.rs1//! Spin ABI Conformance Test SuiteCOMMENT
LOWcrates/componentize/src/abi_conformance/mod.rs81 /// The invocation style to use when the host asks the guest to call a host-implemented functionCOMMENT
LOWcrates/componentize/src/abi_conformance/mod.rs101 pub inbound_http: Result<(), String>,COMMENT
LOWcrates/componentize/src/abi_conformance/mod.rs121 /// `http::send-request` function with a GET request for the URL "http://127.0.0.1/test" with no headers,COMMENT
LOWcrates/componentize/src/abi_conformance/mod.rs141 /// Results of the Spin key-value testsCOMMENT
LOWcrates/componentize/src/abi_conformance/test_wasi.rs21};COMMENT
LOWcrates/componentize/src/abi_conformance/test_wasi.rs41COMMENT
LOWcrates/componentize/src/abi_conformance/test_wasi.rs61 /// argument. The module should call the host-implemented `wasi_snapshot_preview1::fd_read` andCOMMENT
LOWcrates/trigger/src/loader.rs21 /// Updates the TriggerLoader to load AOT precompiled componentsCOMMENT
LOWcrates/trigger/src/cli.rs121COMMENT
LOWcrates/connection-semaphore/src/lib.rs41 }COMMENT
LOWcrates/connection-semaphore/src/lib.rs61 wait_timeout: Option<Duration>,COMMENT
LOWcrates/core/src/lib.rs101 // ever, need to be modified. As a result there aren't fine-grainedCOMMENT
LOWcrates/core/src/lib.rs121 //COMMENT
LOWcrates/core/src/lib.rs141 // This number accounts for internal data structures that Wasmtime allocates for each instance.COMMENT
LOWcrates/core/src/lib.rs201COMMENT
LOWcrates/core/src/lib.rs301 ///COMMENT
LOWcrates/capabilities/src/lib.rs1pub use collect::required_capabilities;COMMENT
LOWcrates/capabilities/src/deny.rs1use crate::{COMMENT
LOWcrates/factor-key-value/src/lib.rs141pub struct AppState {COMMENT
LOWcrates/factor-key-value/src/lib.rs181COMMENT
LOWcrates/factor-otel/src/lib.rs181 metric_exporter: Option<Arc<MetricExporter>>,COMMENT
LOWcrates/factor-otel/src/lib.rs241 /// | GET /... _________________________________|COMMENT
LOWcrates/locked-app/src/lib.rs21/// MetadataKey for extracting the application description.COMMENT
LOWcrates/locked-app/src/lib.rs41 /// An error indicating missing or unexpected metadata.COMMENT
LOWcrates/locked-app/src/locked.rs21pub const SERVICE_CHAINING_KEY: &str = "local_service_chaining";COMMENT
LOWcrates/locked-app/src/locked.rs41 /// in the app's `host_requirements` section.COMMENT
LOWcrates/locked-app/src/locked.rs261COMMENT
LOWcrates/locked-app/src/locked.rs321 pub content: ContentRef,COMMENT
LOWcrates/plugins/src/badger/mod.rs1mod store;COMMENT
LOWcrates/plugins/src/badger/mod.rs21// an upgrade is possible. In this case it returns BadgerChecker::Deferred from the task.COMMENT
LOWcrates/environments/src/environment.rs101 pub fn configuration_constraints(&self) -> &ConfigurationConstraints {COMMENT
LOWcrates/environments/src/environment/catalogue.rs101 }COMMENT
LOWcrates/environments/src/environment/definition.rs1//! Environment definition types and serialisation (TOML) formatsCOMMENT
LOWcrates/manifest/src/error.rs1//! Spin manifest errorsCOMMENT
LOWcrates/manifest/src/schema/v1.rs21 pub name: String,COMMENT
LOWcrates/manifest/src/schema/v1.rs41COMMENT
LOWcrates/manifest/src/schema/v1.rs61 /// `[component.trigger]`COMMENT
LOWcrates/manifest/src/schema/v1.rs81 /// `allowed_outbound_hosts` = ["redis://redis.com:6379"]`COMMENT
LOWcrates/manifest/src/schema/v2.rs21};COMMENT
LOWcrates/manifest/src/schema/v2.rs41 pub variables: Map<LowerSnakeId, Variable>,COMMENT
LOWcrates/manifest/src/schema/json_schema.rs21#[derive(JsonSchema)]COMMENT
LOWcrates/manifest/src/schema/json_schema.rs41 #[schemars(default, schema_with = "toml_table")]COMMENT
LOWcrates/manifest/src/schema/json_schema.rs61 Route(String),COMMENT
LOWcrates/manifest/src/schema/json_schema.rs81#[schemars(deny_unknown_fields)]COMMENT
LOWcrates/manifest/src/schema/json_schema.rs101 pub component: Option<ComponentSpec>,COMMENT
LOWcrates/manifest/src/schema/json_schema.rs121#[serde(untagged)]COMMENT
LOWcrates/manifest/src/schema/json_schema.rs141/// Each entry is in the form "(scheme)://(host)[:port]". Each elementCOMMENT
LOWcrates/manifest/src/schema/json_schema.rs161///COMMENT
LOWcrates/manifest/src/schema/common.rs21 /// Whether a value must be supplied at runtime. If not specified, required defaultsCOMMENT
LOWcrates/manifest/src/schema/common.rs41 /// Learn more: https://spinframework.dev/variables#adding-variables-to-your-applicationsCOMMENT
92 more matches not shown…
Redundant / Tautological Comments5 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/manual/pg-ssl-root-certs/local-db.sh18# Check if PostgreSQL is installedCOMMENT
LOWtests/manual/pg-ssl-root-certs/local-db.sh38# Check if PostgreSQL is already runningCOMMENT
LOW⚡tests/manual/pg-ssl-root-certs/local-db.sh50 # Check if server is readyCOMMENT
LOW⚡tests/manual/pg-ssl-root-certs/local-db.sh59# Check if database exists, create if notCOMMENT
LOW⚡tests/manual/pg-ssl-root-certs/local-db.sh68# Check if users table existsCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/manual/pg-ssl-root-certs/make-certs.sh1# Create a directory for certificatesCOMMENT
MEDIUM.github/workflows/rust-sdk-release.yml36 # Create the pull requestCOMMENT
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOWdocs/content/sips/024-spin-deps-cli-dx.md66### Step 1: Select the target componentCOMMENT
LOWdocs/content/sips/024-spin-deps-cli-dx.md81### Step 2: Select the interface to importCOMMENT
LOWdocs/content/sips/024-spin-deps-cli-dx.md103### Step 3: Select capability inheritanceCOMMENT
LOWdocs/content/sips/024-spin-deps-cli-dx.md119### Step 4: Write to manifest and regenerate WITCOMMENT
Fake / Example Data5 hits · 6 pts
SeverityFileLineSnippetContext
LOWcrates/componentize/tests/go-case/main.go35 fmt.Fprint(w, "dolor sit amet")CODE
LOWcrates/componentize/tests/rust-case-0.2/src/lib.rs43 body: Some("dolor sit amet".as_bytes().to_owned()),CODE
LOWcrates/componentize/tests/rust-case-0.8/src/lib.rs51 body: Some("dolor sit amet".as_bytes().to_owned()),CODE
LOW…/componentize/src/abi_conformance/test_inbound_http.rs58 let expected_body = "dolor sit amet";CODE
LOWcrates/componentize/src/abi_conformance/mod.rs100 /// includes a single header "lorem: ipsum" and a UTF-8 string body "dolor sit amet".COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/plugins/src/manifest.rs178/// `warn_unsupported_version`, which provides the full nuanced feedback.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocs/content/sips/003-trigger-executors.md50### Multi-trigger orchestrationCOMMENT