QEMU in a Docker container.
This report summarizes scanner evidence for qemus/qemu, a Shell project with 2,173 GitHub stars. SynthScan examined 22,091 lines of code across 78 source files, recording 41 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.8 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 14 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 27 finding(s).
Which changes need focused human review? 41 finding(s).
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.
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.
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.
The scanner identified 41 distinct pattern matches across 10 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | src/balloon.py | 212 | # ========================================================== | COMMENT |
| MEDIUM⚡ | src/balloon.py | 214 | # ========================================================== | COMMENT |
| MEDIUM⚡ | src/balloon.py | 290 | # ========================================================== | COMMENT |
| MEDIUM⚡ | src/balloon.py | 292 | # ========================================================== | COMMENT |
| MEDIUM⚡ | src/balloon.py | 733 | # ========================================================== | COMMENT |
| MEDIUM⚡ | src/balloon.py | 735 | # ========================================================== | COMMENT |
| MEDIUM | src/balloon.py | 29 | # ========================================================== | COMMENT |
| MEDIUM | src/balloon.py | 31 | # ========================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/audio.py | 18 | except FileNotFoundError: | CODE |
| HIGH | src/audio.py | 42 | except OSError: | CODE |
| HIGH | src/balloon.py | 343 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/balloon.py | 340 | def _on_cgroup_change(self) -> None: | CODE |
| LOW⚡ | src/balloon.py | 206 | except Exception as e: | CODE |
| LOW⚡ | src/balloon.py | 286 | except Exception as e: | CODE |
| LOW⚡ | src/balloon.py | 730 | except Exception as e: | CODE |
| LOW | src/balloon.py | 46 | except Exception as e: | CODE |
| LOW | src/balloon.py | 90 | except Exception as e: | CODE |
| LOW | src/balloon.py | 110 | except Exception as e: | CODE |
| LOW | src/balloon.py | 239 | except Exception as e: | CODE |
| LOW | src/balloon.py | 403 | except Exception as e: | CODE |
| LOW | src/balloon.py | 414 | except Exception as e: | CODE |
| LOW | src/balloon.py | 705 | except Exception as e: | CODE |
| LOW | src/balloon.py | 715 | except Exception as e: | CODE |
| LOW | src/balloon.py | 821 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/network.sh | 765 | # Create the necessary file structure for /dev/vhost-net | COMMENT |
| MEDIUM | src/network.sh | 772 | # Create a macvtap network for the VM guest | COMMENT |
| MEDIUM | src/network.sh | 1029 | # Create a bridge with a static IP for the VM guest | COMMENT |
| MEDIUM | src/network.sh | 1790 | # Create the necessary file structure for /dev/net/tun | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/network.sh | 1073 | # Set tap to the bridge created | COMMENT |
| LOW | src/network.sh | 2074 | # Check if host exposes the bridge-nf sysctl | COMMENT |
| LOW | src/balloon.py | 167 | # Check if this block matches one of our expected remaining QMP memory backends. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/balloon.py | 50 | CODE | |
| LOW | src/balloon.py | 95 | CODE | |
| LOW | src/balloon.py | 145 | CODE | |
| LOW | src/balloon.py | 461 | CODE | |
| LOW | src/balloon.py | 644 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/balloon.py | 318 | def _setup_cgroup_watch(self) -> None: | CODE |
| LOW | src/balloon.py | 605 | async def _update_balloon(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/vnc/core/util/cursor.js | 161 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/balloon.py | 145 | async def _get_host_qemu_guest_mem_rss(qmp: QMPClient, qemu_pid: int) -> Optional[int]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/balloon.py | 3 | CODE |