AI Slop Code Risk Monitor

wasmerio/wasmer

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

🚀 Fast and lightweight sandboxes for your apps and AI agents

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for wasmerio/wasmer, a Rust project with 21,212 GitHub stars. SynthScan examined 398,195 lines of code across 1993 source files, recording 1007 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
21.2K
Stars
Rust
Language
398.2K
Lines of Code
2.0K
Files
1.0K
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 12.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 12.2/100 · LOW

Which changes need focused human review? 1007 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 9LOW 996

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 1007 distinct pattern matches across 15 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 Block971 hits · 964 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.toml81 "RUSTSEC-2024-0449", # unmaintained 'unsafe-libyaml' - TODO: removeCOMMENT
LOWdeny.toml141license-files = [{ path = "LICENSE", hash = 0x79b6d01b }]COMMENT
LOWdeny.toml161COMMENT
LOWdeny.toml181# Lint level for when a crate version requirement is `*`COMMENT
LOWdeny.toml201]COMMENT
LOWdeny.toml221# "__rustls",COMMENT
LOWdeny.toml241# dependencies starting at the specified crate, up to a certain depth, which isCOMMENT
LOW.config/nextest.toml1[profile.ci]COMMENT
LOWtests/c-wasi-tests/sock_send_to.c1#include <assert.h>COMMENT
LOWtests/integration/cli/tests/snapshot.rs961// Connects to 8.8.8.8:53 over TCP to verify TCP clients workCOMMENT
LOW…libExample/DylibExample/DylibExample-Bridging-Header.h1#include "wasm.h"COMMENT
LOW…sts/integration/ios/DylibExample/DylibExample/calc.cpp1//COMMENT
LOWtests/integration/ios/DylibExample/DylibExample/calc.h1//COMMENT
LOWtests/lib/wast/src/wast.rs401 // Ok(s) => ret.push_str(s),COMMENT
LOWtests/compilers/traps.rs361COMMENT
LOWtests/compilers/issues.rs461// TODO: the tests fails on RISC-V as the `j` instruction can reach only +- 1MiB offset.COMMENT
LOWexamples/platform_ios_headless.rs1//! Defining an engine in Wasmer is one of the fundamental steps.COMMENT
LOWexamples/features.rs1//! WebAssembly is a living standard. Wasmer integrates someCOMMENT
LOWexamples/imports_exports.rs1//! A Wasm module can import and export entities, like functions, memories, globals and tables.COMMENT
LOWexamples/imports_exports.rs61 println!("Creating the imported global...");COMMENT
LOWexamples/wasi_pipes.rs1//! Piping to and from a WASI compiled WebAssembly module with Wasmer.COMMENT
LOWexamples/compiler_cranelift.rs1//! A Wasm module can be compiled with multiple compilers.COMMENT
LOWexamples/metering.rs1//! Wasmer will let you easily run Wasm module in a Rust host.COMMENT
LOWexamples/metering.rs61 // Now let's create our metering middleware.COMMENT
LOWexamples/wasi_manual_setup.rs1//! Running a WASI compiled WebAssembly module with Wasmer.COMMENT
LOWexamples/hello_world.rs1//! This is a simple example introducing the core concepts of the Wasmer API.COMMENT
LOWexamples/imports_function_env_global.rs1//! A Wasm module can import entities, like functions, memories,COMMENT
LOWexamples/imports_function_env_global.rs61 // We create some shared data here, `Arc` is required because we mayCOMMENT
LOWexamples/memory.rs1//! With Wasmer you'll be able to interact with guest module memory.COMMENT
LOWexamples/memory.rs101COMMENT
LOWexamples/exports_function.rs1//! A Wasm module can export entities, like functions, memories,COMMENT
LOWexamples/exports_function.rs41 // Let's compile the Wasm module.COMMENT
LOWexamples/exports_function.rs61 //COMMENT
LOWexamples/exports_function.rs81 // `Rets`, respectively for the parameters and the results. IfCOMMENT
LOWexamples/instance.rs1//! Wasmer will let you easily run Wasm module in a Rust host.COMMENT
LOWexamples/instance.rs41COMMENT
LOWexamples/imports_function_env.rs1//! A Wasm module can import entities, like functions, memories,COMMENT
LOWexamples/compiler_singlepass.rs1//! A Wasm module can be compiled with multiple compilers.COMMENT
LOWexamples/engine_dylib.rs1//! Defining an engine in Wasmer is one of the fundamental steps.COMMENT
LOWexamples/engine_dylib.rs61 // Here we go.COMMENT
LOWexamples/exports_global.rs1//! A Wasm module can export entities, like functions, memories,COMMENT
LOWexamples/exports_global.rs41COMMENT
LOWexamples/exports_memory.rs1//! A Wasm module can export entities, like functions, memories,COMMENT
LOWexamples/errors.rs1//! A Wasm module can sometimes be invalid or trigger traps, and in those case we will getCOMMENT
LOWexamples/compiler_llvm.rs1//! A Wasm module can be compiled with multiple compilers.COMMENT
LOWexamples/imports_global.rs1//! A Wasm module can import entities, like functions, memories,COMMENT
LOWexamples/early_exit.rs1//! There are cases where you may want to interrupt this synchronous execution of the Wasm moduleCOMMENT
LOWexamples/wasi.rs1//! Running a WASI compiled WebAssembly module with Wasmer.COMMENT
LOWexamples/imports_function.rs1//! A Wasm module can import entities, like functions, memories,COMMENT
LOWexamples/engine_headless.rs1//! Defining an engine in Wasmer is one of the fundamental steps.COMMENT
LOWexamples/engine_headless.rs21//! will be executed can be very constrained. For such particularCOMMENT
LOWexamples/engine_headless.rs101 // Here we go.COMMENT
LOWexamples/engine_cross_compilation.rs1//! Defining an engine in Wasmer is one of the fundamental steps.COMMENT
LOWexamples/engine_cross_compilation.rs41"#,COMMENT
LOWexamples/engine.rs1//! Defining an engine in Wasmer is one of the fundamental steps.COMMENT
LOWexamples/engine.rs41 // In this situation, the compiler isCOMMENT
911 more matches not shown…
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHexamples/tunables_limit_memory.rs33 /// Takes an input memory type as requested by the guest and setsCOMMENT
HIGHlib/compiler-llvm/src/translator/code.rs77// ( Arshia: that comment above is AI-generated... AI is savage XD )COMMENT
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMlib/vm/src/vmcontext.rs190/// The fields compiled code needs to access to utilize a WebAssembly tableCOMMENT
MEDIUMlib/vm/src/vmcontext.rs225/// The fields compiled code needs to access to utilize a WebAssembly linearCOMMENT
MEDIUMlib/vm/src/vmcontext.rs264/// The fields compiled code needs to access to utilize a WebAssembly globalCOMMENT
MEDIUMlib/vm/src/vmcontext.rs488/// The fields compiled code needs to access to utilize a WebAssembly tableCOMMENT
MEDIUMlib/vm/src/vmcontext.rs846/// The fields compiled code needs to access to utilize a WebAssembly linearCOMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWlib/cli/src/commands/app/deploy.rs816 // We need to check if we have a manifest with the same name in theCOMMENT
LOW⚡lib/vm/src/threadconditions.rs118 // Step 1: lock the map key, so we know no one else can get/create aCOMMENT
LOW⚡lib/vm/src/threadconditions.rs124 // Step 2: lock the mutex while still holding the map lock, so nobodyCOMMENT
LOW⚡lib/vm/src/threadconditions.rs128 // Step 3: unlock the map key, we don't need it anymore.COMMENT
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
LOWlib/wasix/src/runtime/resolver/resolve.rs592 // Don't forget to make the cycle start and end with the same nodeCOMMENT
MEDIUMlib/vm/src/probestack/compiler_builtins.rs39//! Finally it's worth noting that at the time of this writing LLVM only hasCOMMENT
MEDIUMlib/sys-utils/tests/fd_mmap_memory.rs1// // TODO: make this a sensible test before merge NOTE: commented out since it's mostly here for demonstration purposesCOMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡lib/vm/src/threadconditions.rs118 // Step 1: lock the map key, so we know no one else can get/create aCOMMENT
LOW⚡lib/vm/src/threadconditions.rs124 // Step 2: lock the mutex while still holding the map lock, so nobodyCOMMENT
LOW⚡lib/vm/src/threadconditions.rs128 // Step 3: unlock the map key, we don't need it anymore.COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/s3-cache-cleanup.py10# Define the S3 bucket name and the number of days to retain objectsCOMMENT
MEDIUM.github/s3-cache-cleanup.py18# Create a connection to the S3 serviceCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWlib/types/src/types.rs418 /// # Usage:COMMENT
LOWlib/api/src/entities/imports.rs16/// # Usage:COMMENT
LOWlib/api/src/entities/imports.rs83 /// # Usage:COMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/wasmer-perf-record.py161CODE
LOWscripts/make-release.py78CODE
LOWscripts/publish.py111CODE
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/publish.py61def get_latest_version_for_crate(crate_name: str) -> typing.Optional[str]:CODE
LOWscripts/publish.py132 def check_local_workspace_dep(t):CODE
LOWscripts/publish.py241 def is_crate_already_published(self, crate_name: str) -> bool:CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlib/wasix/src/runtime/resolver/backend_source.rs246 // TODO: implement caching!COMMENT
LOWlib/wasix/src/syscalls/wasi/fd_sync.rs25 // TODO: implement this for more than filesCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/integration/cli/tests/packages/js/src/index.js1async function handleRequest(req) {CODE
LOW…/src/utils/package_wizard/templates/js-worker/index.js4async function handleRequest(ev) {CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…b/wasix/tests/wasm_tests/wasi_fyi/ported_fs_sandbox.rs7 let result: Result<(), String> = Err("placeholder".to_string());CODE
LOWlib/wasix/tests/wasm_tests/wasi_wast/fs_sandbox_test.rs8 let result: Result<(), String> = Err("placeholder".to_string());CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ration/cli/resources/python/temp-dir-in-child/child.py2CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/publish.py288 except Exception as exc:CODE