AI Slop Code RIsk Monitor

QuipNetwork/hashsigs-rs

Hash-based post quantum signatures in Rust

8.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for QuipNetwork/hashsigs-rs, a Rust project with 11,212 GitHub stars. SynthScan examined 33,726 lines of code across 140 source files, recording 244 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 8.1 (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.

8.1
Adjusted Signal
8.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
11.2K
Stars
Rust
Language
33.7K
Lines of Code
140
Files
244
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 29.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

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

Agent Over-Engineering Ratio 9.5/100 · LOW

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

PR Review Velocity Impact 33.8/100 · MEDIUM

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

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 244 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 Block185 hits · 185 pts
SeverityFileLineSnippetContext
LOWCargo.toml61# hashsigs-py-common. Pinning it here is what stops seven manifests drifting.COMMENT
LOWCargo.toml81# Counts stay compile-time constants (no runtime params struct): each profileCOMMENT
LOWdeny.toml1# cargo-deny configuration — supply-chain policy enforced in CI (theCOMMENT
LOWbuild.rs61 default_cfg: "shrincs_default_profile_128s_q20_sha2",COMMENT
LOW.vale.ini1[*.{md,txt,rst}]COMMENT
LOW.gitlab-ci.yml1# CI for hashsigs-rs.COMMENT
LOW.gitlab-ci.yml21# shared runner needs only Node + npm. Shared runners must be enabled on theCOMMENT
LOW.gitlab-ci.yml41# pypi a release can be deleted, but its filenames can never be reusedCOMMENT
LOW.gitlab-ci.yml61 CARGO_SEMVER_CHECKS_VERSION: "0.49.0"COMMENT
LOW.gitlab/ci/release.yml61 rules:COMMENT
LOW.gitlab/ci/release.yml241 # reject on its platform tag. Both failures are silent until too late:COMMENT
LOW.gitlab/ci/release.yml261#COMMENT
LOW.gitlab/ci/release.yml281 # Nothing here consumes another job's artifacts; ordering is expressed withCOMMENT
LOW.gitlab/ci/release.yml301 - export PATH="/tmp/py-venv/bin:${CARGO_HOME}/bin:${PATH}"COMMENT
LOW.gitlab/ci/test.yml201 - !reference [.install-python-build, before_script]COMMENT
LOW.gitlab/ci/setup.yml1# Pin every job to the self-hosted Linux fleet (lovelace/watch/finney all carryCOMMENT
LOWpy/hashsigs_build.py361COMMENT
LOWpy/common/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/common/src/lib.rs21//! [`hashsigs_rs::bindings`], the profile-generic core the WebAssembly surfaceCOMMENT
LOWpy/common/src/lib.rs101///COMMENT
LOWpy/profiles/p128s_q20_sha2/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/profiles/p128s_q18/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/profiles/p128s_q20/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/profiles/p256s/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/profiles/p256s_sha2/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/profiles/p128s_q18_sha2/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWpy/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWbin/build-wasm.sh1#!/usr/bin/env bashCOMMENT
LOWbin/build-wasm.sh61 feature="$(PROFILE_FEATURE "$profile")"COMMENT
LOWbin/npm-dists.sh1#!/usr/bin/env bashCOMMENT
LOWbin/npm-dists.sh41fiCOMMENT
LOWbin/sync-versions.sh1#!/usr/bin/env bashCOMMENT
LOWbin/sync-versions.sh21COMMENT
LOWbin/packages.sh1# shellcheck shell=bashCOMMENT
LOWbin/packages.sh21# Sourced by every build, check and publish script so none of them can hold aCOMMENT
LOWbin/packages.sh41# This replaces an earlier sibling-package model, where each opt-in profile wasCOMMENT
LOWbin/packages.sh81COMMENT
LOWbin/tests/test-packages.sh1#!/usr/bin/env bashCOMMENT
LOWbin/tests/test-sync-versions.sh1#!/usr/bin/env bashCOMMENT
LOWtests/alloc_budget.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWtests/generate_stateful_gas_vector.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWtests/test_vectors.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWtests/generate_shrincs_vectors.rs21// filename. Emitting the non-default profiles requires building this test crateCOMMENT
LOWtests/compile_fail.rs1#[test]COMMENT
LOWtests/solidity_account_vectors.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWtests/envelope_vectors.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWtests/compile_fail/matched_widths.rs1use hashsigs_rs::profiles::p256s::Profile256s;COMMENT
LOWtests/common/mod.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWtests/common/mod.rs21//!COMMENT
LOWsolana/tests/solana_unit_tests.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWsolana/examples/shrincs-account/src/processor.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWsolana/examples/shrincs-account/src/processor.rs21//! prior to its removal at `5e13d35~1`), adapted to build on this crate'sCOMMENT
LOWsolana/examples/shrincs-account/src/processor.rs301}COMMENT
LOWsolana/examples/shrincs-account/src/processor.rs581 state.recovery_mode = false;COMMENT
LOWsolana/examples/shrincs-account/src/processor.rs821/// ERC-1271-style read-only query, ported from the deleted wasm hostCOMMENT
LOWsolana/examples/shrincs-account/src/lib.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWsolana/examples/shrincs-account/src/state.rs1// Copyright (C) 2026 quip.networkCOMMENT
LOWsolana/examples/shrincs-account/src/state.rs21//! (`solana/src/account.rs` prior to its removal at `5e13d35~1`). ThatCOMMENT
LOWsolana/examples/shrincs-account/src/state.rs61/// # Borsh exceptionCOMMENT
LOWsolana/examples/shrincs-account/src/rotation.rs1// Copyright (C) 2026 quip.networkCOMMENT
125 more matches not shown…
Hyper-Verbose Identifiers34 hits · 39 pts
SeverityFileLineSnippetContext
LOWpy/hashsigs_build.py98def _ensure_workspace_members(profiles: list[dict]) -> None:CODE
LOWpy/python/hashsigs/_api.py140 def shrincs_import_signing_key(CODE
LOW⚡py/python/hashsigs/_api.py154 def shrincs_compute_public_key_commitment(self, secret_key: bytes) -> bytes: ...CODE
LOW⚡py/python/hashsigs/_api.py155 def shrincs_recover_public_key_commitment(self, signature: bytes) -> bytes: ...CODE
LOW⚡py/python/hashsigs/_api.py158def _sphincs_keys_from_secret_bytes(secret: bytes) -> SphincsPlusCKeys:CODE
LOW⚡py/python/hashsigs/_api.py166def _sphincs_keys_to_secret_bytes(keys: SphincsPlusCKeys) -> bytes:CODE
LOWpy/python/hashsigs/_api.py210def shrincs_keys_to_secret_bytes(keys: ShrincsKeys) -> bytes:CODE
LOWpy/python/hashsigs/_api.py355 def compute_public_key_commitment(self, keys: ShrincsKeys) -> bytes:CODE
LOWpy/python/hashsigs/_api.py361 def recover_public_key_commitment(self, signature: bytes) -> bytes:CODE
LOWpy/tests/test_profiles.py49def test_manifest_and_package_agree_on_the_profile_set():CODE
LOWpy/tests/test_profiles.py57def test_module_reports_its_own_profile(entry):CODE
LOW⚡py/tests/test_profiles.py73def test_no_two_profiles_report_the_same_name():CODE
LOW⚡py/tests/test_profiles.py83def test_every_profile_reports_the_same_crate_version():CODE
LOW⚡py/tests/test_profiles.py89def test_a_signature_does_not_verify_under_another_profile():CODE
LOWpy/tests/test_profiles.py110def test_importing_a_key_under_the_wrong_profile_is_rejected():CODE
LOWpy/tests/test_profiles.py131def test_round_trip_through_each_fast_profile(module):CODE
LOWpy/tests/test_profiles.py148def test_the_package_root_is_the_default_profile():CODE
LOWpy/tests/test_api.py26def test_shrincs_keygen_shapes():CODE
LOWpy/tests/test_api.py49def test_keygen_is_deterministic_for_the_same_seed():CODE
LOWpy/tests/test_api.py55def test_sign_verify_round_trip_and_rejections():CODE
LOWpy/tests/test_api.py73def test_each_sign_consumes_one_leaf_and_the_signatures_differ():CODE
LOWpy/tests/test_api.py87def test_stateful_signing_raises_once_the_budget_is_spent():CODE
LOWpy/tests/test_api.py101def test_persistence_round_trip_preserves_the_leaf_counter():CODE
LOWpy/tests/test_api.py117def test_import_rejects_a_tampered_secret_and_a_short_one():CODE
LOWpy/tests/test_api.py131def test_stateless_signing_consumes_no_leaf():CODE
LOWpy/tests/test_api.py144def test_reset_changes_the_commitment_and_keeps_the_stateless_half():CODE
LOWpy/tests/test_api.py161def test_recover_public_key_commitment():CODE
LOWpy/tests/test_api.py172def test_keygen_rejects_an_out_of_range_budget():CODE
LOWpy/tests/test_api.py182def test_sphincs_plus_c_round_trip():CODE
LOWpy/tests/test_api.py194def test_a_wrong_length_message_is_rejected_when_signing():CODE
LOW⚡ts/src/api.ts120function sphincsPlusCKeysToSecretBytes(keys: SphincsPlusCKeys): Uint8Array {CODE
LOW⚡ts/src/api.ts125function sphincsPlusCKeysFromSecretBytes(secret: Uint8Array): SphincsPlusCKeys {CODE
LOW⚡ts/src/api.ts133function sphincsPlusCPublicKeyToBytes(publicKey: { pkSeed: Uint8Array; root: Uint8Array }): Uint8Array {CODE
LOWts/src/api.ts180function shrincsKeysFromSecretBytes(secret: Uint8Array, publicKeyCommitment: Uint8Array): ShrincsKeys {CODE
Decorative Section Separators9 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMpy/hashsigs_build.py357# ── PEP 517 hooks ────────────────────────────────────────────────────────STRING
MEDIUMts/src/api.ts51// ── noble-style Uint8Array API ──────────────────────────────────────────COMMENT
MEDIUMts/src/api.ts378// ── compile-time conformance (zero emit, zero runtime) ───────────────────COMMENT
MEDIUMsrc/bindings.rs71// ── Length-checked field parsers ────────────────────────────────────────COMMENT
MEDIUMsrc/bindings.rs172// ── SPHINCS+C ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/bindings.rs225// ── SHRINCS ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wasm/mod.rs189 // ── The generic core, exercised at more than one profile ────────────────COMMENT
MEDIUMsrc/wasm/mod.rs317 // ── Noble-style Uint8Array API: round trips at the Rust level ──────────COMMENT
MEDIUMsrc/shrincs/uxmss.rs234// ── Structured, newtyped UXMSS key (the SHRINCS stateful fast path) ──────────COMMENT
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWpy/hashsigs_build.py24CODE
LOWpy/hashsigs_build.py34CODE
LOWpy/python/hashsigs/_api.py21CODE
LOWpy/python/hashsigs/_api.py26CODE
LOWpy/tests/test_profiles.py19CODE
LOWpy/tests/test_api.py13CODE
LOWbin/check-wheel.py24CODE
Cross-Language Confusion2 hits · 6 pts
SeverityFileLineSnippetContext
HIGH⚡py/python/hashsigs/_api.py159 """Split the 128-byte flat secret: skSeed || prfSeed || pkSeed || root."""STRING
HIGHpy/python/hashsigs/_api.py179 """Flatten to the 64-byte ``pkSeed || root`` the verify calls take."""STRING
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml151# Compile-fail harness: proves assert_widths rejects a mismatched constCOMMENT
MEDIUM.gitlab/ci/test.yml54# harness; keep cost visible as its own job.COMMENT
Modern Structural Boilerplate4 hits · 3 pts
SeverityFileLineSnippetContext
LOWpy/hashsigs_build.py264__all__ = [STRING
LOWpy/hashsigs_build.py318__all__ = [STRING
LOWpy/python/hashsigs/_errors.py16__all__ = ["HashSigsError", "ERROR_CODES"]CODE
LOWpy/python/hashsigs/_api.py28__all__ = [CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md955├── py/ # Python package scaffold (hashsigs)CODE