AI Slop Code RIsk Monitor

QuipNetwork/quip-protocol-rs

A rust implementation of the Quip Protocol forked from Substrate

6.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for QuipNetwork/quip-protocol-rs, a Rust project with 5,632 GitHub stars. SynthScan examined 45,002 lines of code across 177 source files, recording 261 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 6.6 (Moderate 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.

6.6
Adjusted Signal
6.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.6K
Stars
Rust
Language
45.0K
Lines of Code
177
Files
261
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 23.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 6.1/100 · LOW

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

PR Review Velocity Impact 27.9/100 · MEDIUM

Which changes need focused human review? 261 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 17LOW 244

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 261 distinct pattern matches across 8 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 Block220 hits · 218 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml1# Local dev only. Three Aura validators (Alice/Bob/Charlie) peer over aCOMMENT
LOW.gitlab-ci.yml1# SPDX-License-Identifier: AGPL-3.0-or-laterCOMMENT
LOW.gitlab-ci.yml21# - stable git tag vX.Y.Z reachable from mainCOMMENT
LOW.gitlab-ci.yml41# `image:` and run on the SIP-protected host — kaniko cannot run there. EveryCOMMENT
LOW.gitlab-ci.yml81 TOOLCHAIN_IMAGE: $CI_REGISTRY_IMAGE/ci-toolchain:$CI_IMAGE_TAGCOMMENT
LOW.gitlab-ci.yml101 # Cargo's registry inside the project dir so the GitLab CI cache can pick itCOMMENT
LOW.gitlab-ci.yml141 CI_IMAGE_TAG: mr-$CI_MERGE_REQUEST_IIDCOMMENT
LOW.gitlab-ci.yml161# host in the pool (watch/lovelace/finney) always missed; and py-signer-testCOMMENT
LOW.gitlab-ci.yml201 timeout: 90mCOMMENT
LOW.gitlab-ci.yml321# today: the MR merges with stale weights and the drift only surfaces later.COMMENT
LOW.gitlab-ci.yml361# effect of that exclusion is that `cargo-test`'s `--workspace` clippy/test runsCOMMENT
LOW.gitlab-ci.yml401# Weight regeneration on the reference machine (QUI-857). Manual job onCOMMENT
LOW.gitlab-ci.yml521 - quip-network-node benchmark machine --chain quip-testnet --allow-failCOMMENT
LOW.gitlab-ci.yml541# KANIKO_CACHE_IMAGE, and optional whitespace-separated KANIKO_BUILD_ARGS.COMMENT
LOW.gitlab-ci.yml561 before_script:COMMENT
LOW.gitlab-ci.yml601 doneCOMMENT
LOW.gitlab-ci.yml761COMMENT
LOW.gitlab-ci.yml861# scripts/python-dists.sh, so the cross-built aarch64 wheel is import-tested onCOMMENT
LOW.gitlab-ci.yml881# (native) + abi3 wheel for linux aarch64 (cargo-zigbuild / zig linker) + anCOMMENT
LOW.gitlab-ci.yml901.on-mr-or-release-tag:COMMENT
LOW.gitlab-ci.yml941 - export PATH="/opt/pyrelease/bin:$CARGO_HOME/bin:$PATH"COMMENT
LOWentrypoint.sh1#!/bin/bashCOMMENT
LOWentrypoint.sh21# A genuinely *missing* marker is fine — substrate treats it as a fresh db — soCOMMENT
LOWcrates/transaction-crypto-wasm/src/lib.rs101/// optionally followed by `///<password>`. Derivation junctions (`//`, `/`) areCOMMENT
LOWcrates/transaction-crypto-py/pyproject.toml21# type stubs. That dir also serves as the submodule/PYTHONPATH staging locationCOMMENT
LOWcrates/transaction-crypto-py/src/lib.rs61///COMMENT
LOWcrates/quantum-validation/tests/python_parity.rs1//! Cross-language parity vectors against the Python reference implementation.COMMENT
LOWcrates/quantum-validation/src/packed.rs1//! Bit-packed solution payloads.COMMENT
LOWcrates/quantum-validation/src/lib.rs1//! Deterministic, `no_std` quantum/Ising validation primitives for QUIP.COMMENT
LOWcrates/quantum-validation/src/ising.rs21/// hash of the most recent winning block. Stable across the entire roundCOMMENT
LOWcrates/quantum-validation/src/puzzle_spec.rs21/// Sampling distribution for a single puzzle parameter (h, j, or spin).COMMENT
LOWcrates/quantum-validation/src/validation.rs81}COMMENT
LOWcrates/quantum-validation/src/errors.rs1//! Error types for structural and arithmetic validation failures.COMMENT
LOWcrates/quantum-validation/src/energy.rs1//! Exact Ising energy computation in fixed-point milli precision.COMMENT
LOWcrates/quantum-validation/src/energy.rs21///COMMENT
LOWcrates/quantum-validation/src/energy.rs81}COMMENT
LOWcrates/quantum-validation/src/energy.rs281 }COMMENT
LOW…tes/transaction-crypto/examples/derive_genesis_keys.rs1//! Derive hybrid genesis public material (BABE, GRANDPA, TX account) from aCOMMENT
LOWcrates/transaction-crypto/src/lib.rs1#![cfg_attr(not(feature = "std"), no_std)]COMMENT
LOWcrates/transaction-crypto/src/lib.rs21//! catastrophic silent failure the runtime cannot detect.COMMENT
LOWcrates/transaction-crypto/src/lib.rs61///COMMENT
LOWcrates/transaction-crypto/src/lib.rs121 fn into_account(self) -> Self::AccountId {COMMENT
LOWcrates/transaction-crypto-core/src/lib.rs1#![cfg_attr(not(feature = "std"), no_std)]COMMENT
LOWcrates/transaction-crypto-core/src/lib.rs41/// Serialized H4 public-key length in bytes.COMMENT
LOWcrates/transaction-crypto-core/src/lib.rs261 b'a'..=b'f' => Ok(ch - b'a' + 10),COMMENT
LOWruntime/src/genesis_config_presets.rs1// This file is part of Substrate.COMMENT
LOWruntime/src/genesis_config_presets.rs341 .map(|v| tx_account_from_seed(&v.to_seed()))COMMENT
LOWruntime/src/lib.rs141 // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,COMMENT
LOWruntime/src/lib.rs161 // Existing call encodings are unchanged, so `transaction_version` stays atCOMMENT
LOWruntime/src/lib.rs181 // optional typed hardware survey, plus a v1 → v2 storage migration thatCOMMENT
LOWruntime/src/lib.rs201 // weight now depends on the registered topology's node/edge counts andCOMMENT
LOWruntime/src/lib.rs221 // at 6. 115 has not shipped. Later storage-only changes (pallet-evm-chain-id)COMMENT
LOWruntime/src/lib.rs241 // Same calls; a 117 node computes a different threshold from identicalCOMMENT
LOWruntime/src/benchmarks.rs1// This is free and unencumbered software released into the public domain.COMMENT
LOWruntime/src/apis.rs1// This is free and unencumbered software released into the public domain.COMMENT
LOWruntime/src/weights/block_weights.rs1//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 54.0.0COMMENT
LOWruntime/src/weights/block_weights.rs21// --weight-pathCOMMENT
LOWruntime/src/weights/extrinsic_weights.rs1//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 54.0.0COMMENT
LOWruntime/src/weights/extrinsic_weights.rs21// --weight-pathCOMMENT
LOWruntime/src/configs/mod.rs1// This is free and unencumbered software released into the public domain.COMMENT
160 more matches not shown…
Decorative Section Separators15 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab-ci.yml851# ---------------------------------------------------------------------------COMMENT
MEDIUM.gitlab-ci.yml853# ---------------------------------------------------------------------------COMMENT
MEDIUMentrypoint.sh53# ---------------------------------------------------------------------------COMMENT
MEDIUMpallets/xqvm/src/lib.rs146 // ── Storage ──────────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/lib.rs174 // ── Events ───────────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/lib.rs212 // ── Errors ───────────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/lib.rs476 // ── Extrinsics ───────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs40// ── store_program ────────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs100// ── execute ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs323// ── static verification at store time ────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs436// ── basic-block bound ────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs676// ── weight accounting ────────────────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs767// ── allocation budget (QUI-1012) ─────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs867// ── VM fault mapping (QUI-1014) ──────────────────────────────────────────COMMENT
MEDIUMpallets/xqvm/src/tests.rs1080// ── storage deposit and removal (QUI-1058) ───────────────────────────────COMMENT
Hyper-Verbose Identifiers9 hits · 11 pts
SeverityFileLineSnippetContext
LOWcrates/transaction-crypto-py/tests/test_parity.py42def test_public_keys_match_baseline() -> None:CODE
LOWcrates/transaction-crypto-py/tests/test_parity.py64def test_signature_envelopes_match_baseline() -> None:CODE
LOWcrates/transaction-crypto-py/tests/test_api.py11def test_sign_verify_roundtrip() -> None:CODE
LOW⚡crates/transaction-crypto-py/tests/test_api.py52def test_from_seed_rejects_wrong_length(length: int) -> None:CODE
LOW⚡crates/transaction-crypto-py/tests/test_api.py60def test_mnemonic_rejects_derivation_junctions() -> None:CODE
LOW⚡crates/transaction-crypto-py/tests/test_api.py65def test_invalid_mnemonic_raises() -> None:CODE
LOW⚡crates/transaction-crypto-py/tests/test_api.py70def test_verify_rejects_malformed_envelope() -> None:CODE
LOWjs/quip-signer/src/index.ts375export function createInjectedQuipProvider({CODE
LOWdocs/quantum-compute-mempool.md231def event_name_from_storage_record(record):CODE
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/run-benchmarks.sh4# Usage:COMMENT
LOWscripts/test-xqvm-onchain.sh4# Usage:COMMENT
LOWscripts/derive-operator-keys.sh4# Usage:COMMENT
LOWscripts/prune-ci-cache.sh4# Usage:COMMENT
LOWscripts/push-weights.sh4# Usage:COMMENT
LOWscripts/check-weights-staleness.sh4# Usage:COMMENT
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py8CODE
LOWscripts/generate_quantum_validation_fixtures.py25CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocs/pyo3-bindings-plan.md124### Phase 1 — crate scaffold + minimal buildCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/derive-operator-keys.sh75# but we recover it via inspect-node-key below for a robust capture.COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…s/transaction-crypto-py/python/quip_signer/__init__.py18__all__ = [CODE