AI Slop Code RIsk Monitor

hyperlight-dev/hyperlight

Hyperlight is a lightweight Virtual Machine Manager (VMM) designed to be embedded within applications. It enables safe execution of untrusted code within micro virtual machines with very low latency and minimal overhead.

4.4 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for hyperlight-dev/hyperlight, a Rust project with 4,729 GitHub stars. SynthScan examined 113,266 lines of code across 404 source files, recording 447 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 4.4 (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.

4.4
Adjusted Signal
4.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
4.7K
Stars
Rust
Language
113.3K
Lines of Code
404
Files
447
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 18.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 19.1/100 · LOW

Which changes need focused human review? 447 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 430

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 447 distinct pattern matches across 9 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 Block406 hits · 400 pts
SeverityFileLineSnippetContext
LOW.github/workflows/RegenSnapshotGoldens.yml1# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.jsonCOMMENT
LOW.github/workflows/CargoPublish.yml141 # # Cargo does not want you to modify files outside of OUT_DIRCOMMENT
LOW.github/workflows/ready-for-review-manage.yml1name: Ready-for-review (manage)COMMENT
LOW.github/workflows/ready-for-review-label.yml1name: Ready-for-review (collect)COMMENT
LOW.github/workflows/dep_update_guest_locks.yml61 run: cargo fetchCOMMENT
LOW.github/workflows/dep_miri.yml1# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.jsonCOMMENT
LOWdev/sync-project-board.sh1#!/bin/bashCOMMENT
LOWdev/check-release-blockers.sh1#!/bin/bashCOMMENT
LOWdev/update-cargo-hyperlight-version.sh1#!/usr/bin/env bashCOMMENT
LOWdev/notify-ci-failure.sh1#!/bin/bashCOMMENT
LOWfuzz/fuzz_targets/guest_trace.rs41COMMENT
LOWfuzz/fuzz_targets/virtq_malformed.rs61 ],COMMENT
LOWsrc/hyperlight_component_util/src/resource.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/hyperlight_component_util/src/etypes.rs81 Borrow(Handleable),COMMENT
LOWsrc/hyperlight_component_util/src/etypes.rs101 U(u32, u32),COMMENT
LOWsrc/hyperlight_component_util/src/etypes.rs321/// of the instance declaration inference judgement.COMMENT
LOWsrc/hyperlight_component_util/src/etypes.rs341 /// element in the list, and later elements can depend on earlierCOMMENT
LOWsrc/hyperlight_component_util/src/etypes.rs421/// resourcetype_e in the specificationCOMMENT
LOWsrc/hyperlight_component_util/src/rtypes.rs821 // duplicates of everything. We still bother running it, insteadCOMMENT
LOWsrc/hyperlight_component_util/src/substitute.rs21///COMMENT
LOWsrc/hyperlight_component_util/src/substitute.rs281COMMENT
LOWsrc/hyperlight_component_util/src/substitute.rs301 /// The substitution which is being shiftedCOMMENT
LOWsrc/hyperlight_component_util/src/subtype.rs21 /// A variant case that was expected was missingCOMMENT
LOWsrc/hyperlight_component_util/src/emit.rs121COMMENT
LOWsrc/hyperlight_component_util/src/emit.rs301 /// The final variable offset (relative to s.var_offset) thatCOMMENT
LOWsrc/hyperlight_component_util/src/emit.rs321 pub root_mod: &'a mut Mod,COMMENT
LOWsrc/hyperlight_component_util/src/emit.rs341 /// currently processingCOMMENT
LOWsrc/hyperlight_component_util/src/emit.rs361 pub vars_needs_vars: &'a mut VecDeque<BTreeSet<u32>>,COMMENT
LOWsrc/hyperlight_component_util/src/emit.rs381 /// can. However, it may be the case that referring to a tyvarCOMMENT
LOWsrc/hyperlight_component_util/src/emit.rs401 pub is_impl: bool,COMMENT
LOWsrc/hyperlight_component_util/src/emit.rs681 m = m.submod(i.clone());COMMENT
LOWsrc/hyperlight_component_util/src/component.rs41}COMMENT
LOWsrc/hyperlight_component_util/src/hl.rs21 .join("::")COMMENT
LOWsrc/hyperlight_component_util/src/hl.rs341 quote! {COMMENT
LOWsrc/hyperlight_component_util/src/elaborate.rs81}COMMENT
LOWsrc/hyperlight_component_util/src/elaborate.rs101 /// to a resource type (either a bare resource, or, more usually,COMMENT
LOWsrc/hyperlight_host/build.rs161 // writable/un-shared snapshot memories.COMMENT
LOWsrc/hyperlight_host/tests/integration_test.rs1381COMMENT
LOWsrc/hyperlight_host/tests/integration_test.rs1841 handle.join().unwrap();COMMENT
LOWsrc/hyperlight_host/tests/integration_test.rs1921 };COMMENT
LOW…erlight_host/tests/snapshot_goldens/goldens_version.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/hyperlight_host/tests/snapshot_goldens/platform.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/hyperlight_host/examples/ballast/main.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/hyperlight_host/examples/map-file-cow-test/main.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs21//! that bypasses the guest's exception handler (e.g., writing to aCOMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs41//! hardware faults (page faults, undefined instructions, etc.) and reports themCOMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs101 // -----------------------------------------------------------------------COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs121///COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs181/// When the guest triggers a CPU exception that its IDT handles (e.g., anCOMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs261/// Prints information about the on-demand crash dump API.COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs281///COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs301// output contains the expected register values and mapped memory content.COMMENT
LOWsrc/hyperlight_host/examples/crashdump/main.rs481 /// As an independent check on the underlying mechanism, this also readsCOMMENT
LOWsrc/hyperlight_host/src/error.rs81 #[error("Guest error occurred {0:?}: {1}")]COMMENT
LOWsrc/hyperlight_host/src/error.rs141COMMENT
LOWsrc/hyperlight_host/src/error.rs161 NoHypervisorFound(),COMMENT
LOWsrc/hyperlight_host/src/error.rs181 ///COMMENT
LOWsrc/hyperlight_host/src/error.rs201 #[error("Raw pointer ({0:?}) was less than the base address ({1})")]COMMENT
LOWsrc/hyperlight_host/src/error.rs301 };COMMENT
346 more matches not shown…
Decorative Section Separators8 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM⚡src/hyperlight_common/src/virtq/ring.rs17//! ┌─────────┐ (AVAIL=wrap) ┌───────────┐COMMENT
MEDIUM⚡src/hyperlight_common/src/virtq/ring.rs18//! │ Free │ ──────────────────> │ Available │COMMENT
MEDIUM⚡src/hyperlight_common/src/virtq/ring.rs19//! └─────────┘ └───────────┘COMMENT
MEDIUM⚡src/hyperlight_common/src/virtq/ring.rs25//! ┌─────────┐ ┌───────────┐COMMENT
MEDIUM⚡src/hyperlight_common/src/virtq/ring.rs26//! │Reclaimed│ <────────────────── │ Used │COMMENT
MEDIUM⚡src/hyperlight_common/src/virtq/ring.rs27//! └─────────┘ └───────────┘COMMENT
MEDIUMsrc/hyperlight_common/src/virtq/ring.rs46//! ┌──────────────┐ ┌──────────────┐ ┌──────────────┐COMMENT
MEDIUMsrc/hyperlight_common/src/virtq/ring.rs51//! └──────────────┘ └──────────────┘ └──────────────┘COMMENT
Self-Referential Comments4 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/dep_update_guest_locks.yml114 # Create a new tree with the updated filesCOMMENT
MEDIUM⚡dev/check-license-headers.sh8# Define the license patterns to look forCOMMENT
MEDIUM⚡dev/check-license-headers.sh12# Define the full license header for files that need itCOMMENT
MEDIUM⚡dev/check-license-headers.sh18# Initialize a variable to track missing headersCOMMENT
Redundant / Tautological Comments10 hits · 15 pts
SeverityFileLineSnippetContext
LOW.github/workflows/ReleaseBlockerLabelCleanUp.yml22 # Check if the issue has the release-blocker labelCOMMENT
LOW.github/workflows/dep_update_guest_locks.yml84 # Check if there are any changes to the guest Cargo.lock fileCOMMENT
LOWdev/sync-project-board.sh65 # Check if repo has 'hyperlight' in the nameCOMMENT
LOWdev/auto-approve-dependabot.sh9# Check if repository argument is providedCOMMENT
LOWdev/auto-approve-dependabot.sh40 # Check if PR only modifies allowed filesCOMMENT
LOWdev/auto-approve-dependabot.sh56 # Check if all status checks have passed (regardless of required or not)COMMENT
LOWdev/auto-approve-dependabot.sh105 # Check if PR has been modified by someone other than dependabotCOMMENT
LOWdev/auto-approve-dependabot.sh114 # Check if PR needs approval (i.e., hasn't been approved already)COMMENT
LOWdev/auto-approve-dependabot.sh125 # Check if PR is up-to-date with base branchCOMMENT
LOWdev/check-release-blockers.sh22# Check if repository argument is providedCOMMENT
Structural Annotation Overuse6 hits · 12 pts
SeverityFileLineSnippetContext
LOWdocs/how-to-run-coverage.md16### Step 1: Run tests with coverage instrumentationCOMMENT
LOWdocs/how-to-run-coverage.md32### Step 2: Generate a reportCOMMENT
LOW⚡src/hyperlight_guest/src/exit.rs38 // Step 1: Send abort code (typically 1 byte, but `code` allows flexibility)COMMENT
LOW⚡src/hyperlight_guest/src/exit.rs41 // Step 2: Convert the C string to bytesCOMMENT
LOW⚡src/hyperlight_guest/src/exit.rs44 // Step 3: Send the message itself in chunksCOMMENT
LOW⚡src/hyperlight_guest/src/exit.rs47 // Step 4: Send abort terminator to signal completion (e.g., 0xFF)COMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsrc/hyperlight_host/examples/guest-debugging/main.rs24 // Note: the host function is unused, it's just here for demonstration purposesCOMMENT
MEDIUMsrc/hyperlight_host/examples/hello-world/main.rs9 // Note: the host function is unused, it's just here for demonstration purposesCOMMENT
MEDIUMsrc/hyperlight_host/src/mem/shared_mem.rs1129/// racing loads in LLVM return `undef`, as discussed above, we wouldCOMMENT
Verbosity Indicators4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡src/hyperlight_guest/src/exit.rs38 // Step 1: Send abort code (typically 1 byte, but `code` allows flexibility)COMMENT
LOW⚡src/hyperlight_guest/src/exit.rs41 // Step 2: Convert the C string to bytesCOMMENT
LOW⚡src/hyperlight_guest/src/exit.rs44 // Step 3: Send the message itself in chunksCOMMENT
LOW⚡src/hyperlight_guest/src/exit.rs47 // Step 4: Send abort terminator to signal completion (e.g., 0xFF)COMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMsrc/hyperlight_host/Cargo.toml156# Custom harness (see main.rs).STRING
MEDIUMsrc/hyperlight_host/build.rs150 // Essentially the kvm and mshv3 features are ignored on windows as long as you use #[cfg(kvm)] and not #[cfg(featurCOMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/hyperlight_host/tests/integration_test.rs436 let abort_message = "Lorem ipsum dolor sit amet, \CODE
LOWsrc/hyperlight_host/tests/integration_test.rs436 let abort_message = "Lorem ipsum dolor sit amet, \CODE
LOWsrc/hyperlight_host/tests/integration_test.rs452 Dolor sit amet consectetur adipiscing elit pellentesque habitant morbi. \CODE
LOWsrc/hyperlight_host/tests/integration_test.rs464 Proin sagittis nisl rhoncus mattis rhoncus urna. Magna eget est lorem ipsum.";CODE