AI Slop Code Risk Monitor

youki-dev/youki

SlopCodeMonitor badge for youki-dev/youki Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A container runtime written in Rust

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for youki-dev/youki, a Rust project with 7,662 GitHub stars. SynthScan examined 76,987 lines of code across 469 source files, recording 95 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.7K
Stars
Rust
Language
77.0K
Lines of Code
469
Files
95
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 6.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 6.0/100 · LOW

Which changes need focused human review? 95 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 0LOW 95

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 95 distinct pattern matches across 3 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 Block93 hits · 93 pts
SeverityFileLineSnippetContext
LOWcrates/youki/src/main.rs21 pub systemd_log: bool,COMMENT
LOWcrates/youki/src/main.rs61}COMMENT
LOWcrates/youki/src/commands/foreground.rs341 // the signal forwarding loops. There is no way to 100% syncCOMMENT
LOWcrates/libcgroups/src/lib.rs1//! Control groups provide a way of controlling groups of processes.COMMENT
LOWcrates/libcgroups/src/v1/blkio.rs21// Upper limit on the number of write operations a device can perform specified in operations per secondCOMMENT
LOWcrates/libcgroups/src/v1/blkio.rs41// to the cgroup. This overrides the the blkio.weight value for the specified deviceCOMMENT
LOWcrates/libcgroups/src/systemd/memory.rs81 // positive value. Swap needs to be bigger than the memory limit (due to swap being memory + swap)COMMENT
LOWcrates/libcgroups/src/systemd/manager.rs41 /// Root path of the cgroup hierarchy e.g. /sys/fs/cgroupCOMMENT
LOWcrates/libcgroups/src/systemd/dbus_native/dbus.rs21COMMENT
LOWcrates/libcgroups/src/systemd/dbus_native/dbus.rs341 }COMMENT
LOWcrates/libcgroups/src/systemd/dbus_native/serialize.rs1use super::utils::{DbusError, Result, adjust_padding, align_counter};COMMENT
LOWcrates/libcgroups/src/v2/devices/controller.rs81COMMENT
LOWcrates/libcgroups/src/v2/devices/emulator.rs1use oci_spec::runtime::{LinuxDeviceCgroup, LinuxDeviceType};COMMENT
LOWcrates/liboci-cli/src/features.rs1use clap::Args;COMMENT
LOWcrates/liboci-cli/src/exec.rs1use std::error::Error;COMMENT
LOWcrates/liboci-cli/src/exec.rs21 pub tty: bool,COMMENT
LOWcrates/liboci-cli/src/exec.rs41 #[arg(long)]COMMENT
LOWcrates/liboci-cli/src/checkpoint.rs1use std::path::PathBuf;COMMENT
LOWcrates/liboci-cli/src/checkpoint.rs21 pub leave_running: bool,COMMENT
LOWcrates/liboci-cli/src/checkpoint.rs41 // #[arg(long)]COMMENT
LOWcrates/liboci-cli/src/lib.rs81 /// set the log file to write youki logs to (default is '/dev/stderr')COMMENT
LOWcrates/liboci-cli/src/create.rs1//! Handles the creation of a new containerCOMMENT
LOWcrates/liboci-cli/src/run.rs1use std::path::PathBuf;COMMENT
LOWcrates/liboci-cli/src/run.rs21 /// Do not use pivot root to jail process inside rootfsCOMMENT
LOWcrates/libcontainer/src/tty.rs1//! tty (teletype) for user-system interactionCOMMENT
LOWcrates/libcontainer/src/tty.rs161const PTY_SLAVE_MAJOR: u64 = 136;COMMENT
LOWcrates/libcontainer/src/tty.rs281/// 1. Create PTY pair from /dev/pts/ptmx (we're already in the container),COMMENT
LOWcrates/libcontainer/src/tty.rs361/// console-socket path the receiver of the master owns the termios, so it isCOMMENT
LOWcrates/libcontainer/src/hooks.rs121 // Rust does not make it easy to handle executing a command andCOMMENT
LOWcrates/libcontainer/src/utils.rs261 #[error("metadata doesn't match the expected attributes")]COMMENT
LOWcrates/libcontainer/src/utils.rs281///COMMENT
LOWcrates/libcontainer/src/rootfs/mount.rs41// runc has a retry interval of 100ms. We are following this.COMMENT
LOWcrates/libcontainer/src/rootfs/mount.rs981 mount_attr.attr_set |= non_atime;COMMENT
LOWcrates/libcontainer/src/rootfs/mount.rs1001 /// let mount = SpecMountBuilder::default()COMMENT
LOWcrates/libcontainer/src/rootfs/mount.rs1021 /// let typ = "bind";COMMENT
LOWcrates/libcontainer/src/network/cidr.rs21}COMMENT
LOWcrates/libcontainer/src/network/address.rs81 ///COMMENT
LOWcrates/libcontainer/src/network/address.rs101 let mut req = NetlinkMessage::from(RouteNetlinkMessage::GetAddress(message));COMMENT
LOWcrates/libcontainer/src/network/address.rs141 ///COMMENT
LOWcrates/libcontainer/src/network/link.rs141 req.header.flags = NLM_F_REQUEST | NLM_F_ACK;COMMENT
LOWcrates/libcontainer/src/network/traits.rs1use netlink_packet_core::{NetlinkMessage, NetlinkPayload};COMMENT
LOWcrates/libcontainer/src/network/traits.rs21 ///COMMENT
LOWcrates/libcontainer/src/network/traits.rs41 /// A Result indicating success or failure of the send operationCOMMENT
LOWcrates/libcontainer/src/network/traits.rs61 /// * `handler` - The handler to process the received messagesCOMMENT
LOWcrates/libcontainer/src/container/container_events.rs1use std::thread;COMMENT
LOWcrates/libcontainer/src/container/builder_impl.rs121 let process = selfCOMMENT
LOWcrates/libcontainer/src/container/container_pause.rs1use libcgroups::common::{CgroupManager, FreezerState};COMMENT
LOWcrates/libcontainer/src/container/container_resume.rs1use libcgroups::common::{CgroupManager, FreezerState};COMMENT
LOWcrates/libcontainer/src/container/container_delete.rs21 ///COMMENT
LOWcrates/libcontainer/src/container/container_start.rs1use super::{Container, ContainerStatus};COMMENT
LOWcrates/libcontainer/src/container/container_kill.rs1use libcgroups::common::{CgroupManager, get_cgroup_setup};COMMENT
LOWcrates/libcontainer/src/container/container_criu.rs61 ns.path().as_ref().map(|p| p.to_string_lossy().to_string())COMMENT
LOWcrates/libcontainer/src/container/state.rs101 pub oci_version: String,COMMENT
LOWcrates/libcontainer/src/container/state.rs241 /// ```COMMENT
LOW…tes/libcontainer/src/container/container_checkpoint.rs181COMMENT
LOWcrates/libcontainer/src/container/builder.rs21 /// container process to the higher level runtimeCOMMENT
LOWcrates/libcontainer/src/container/builder.rs41/// The format of valid ID was never formally defined, instead the codeCOMMENT
LOWcrates/libcontainer/src/container/builder.rs81///COMMENT
LOWcrates/libcontainer/src/container/builder.rs121 }COMMENT
LOWcrates/libcontainer/src/container/builder.rs141 /// .as_tenant()COMMENT
33 more matches not shown…
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/cargo.sh4# Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexperiment/selinux/lima-setup.sh222# Check if the instance already existsCOMMENT