Linux virtual machines, with a focus on running containers
This report summarizes scanner evidence for lima-vm/lima, a Go project with 22,212 GitHub stars. SynthScan examined 96,614 lines of code across 797 source files, recording 172 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.7 (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? 172 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 172 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 172 distinct pattern matches across 7 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 |
|---|---|---|---|---|
| LOW | cmd/limactl/shell.go | 941 | // | COMMENT |
| LOW | website/config.yaml | 1 | # THIS IS A TEST CONFIG ONLY! | COMMENT |
| LOW | hack/update-template-macos.sh | 41 | HELP | COMMENT |
| LOW | hack/toolexec-for-codesign.sh | 1 | #!/bin/sh | COMMENT |
| LOW | hack/update-template-ubuntu.sh | 61 | ["daily"]=https://cloud-images.ubuntu.com/daily/ | COMMENT |
| LOW | hack/update-template-ubuntu.sh | 301 | echo "${version}" | COMMENT |
| LOW | hack/update-template-ubuntu.sh | 321 | # ``` | COMMENT |
| LOW | hack/calculate-cache.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/calculate-cache.sh | 21 | # 3. detect size of image, kernel, initrd, and nerdctl (responses from remote are cached for faster iteration) | COMMENT |
| LOW | hack/calculate-cache.sh | 61 | export LIMA_HOME | COMMENT |
| LOW | hack/calculate-cache.sh | 141 | } | COMMENT |
| LOW | hack/calculate-cache.sh | 161 | # "macOS-49aa50a4872ded07ebf657c0eaf9e44ecc0c174d033a97c537ecd270f35b462f": 813179462, | COMMENT |
| LOW | hack/inject-cmdline-to-template.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/update-template-debian.sh | 221 | # debian_url_spec_from_location https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2 | COMMENT |
| LOW | hack/update-template-debian.sh | 261 | COMMENT | |
| LOW | hack/update-template-debian.sh | 301 | COMMENT | |
| LOW | hack/cache-common-inc.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/cache-common-inc.sh | 281 | # image-path=.download/by-url-sha256/ae988d797c6de06b9c8a81a2b814904151135ccfd4616c22948057f6280477e8 | COMMENT |
| LOW | hack/cache-common-inc.sh | 301 | # containerd-path=.download/by-url-sha256/21cc8dfa548ea8a678135bd6984c9feb9f8a01901d10b11bb491f6f4e7537158 | COMMENT |
| LOW | hack/test-selinux.sh | 21 | ## but it might break for other work loads if the process is running with | COMMENT |
| LOW | hack/update-template-opensuse.sh | 161 | [[ -n ${latest_version_info} ]] || return | COMMENT |
| LOW | hack/update-template.sh | 101 | # validate_url checks if the URL is valid and prints the location if it is. | COMMENT |
| LOW | hack/update-template.sh | 141 | # - ${distribution}_cache_key_for_image_kernel | COMMENT |
| LOW | hack/ltag/dockerfile.txt | 1 | # SPDX-FileCopyrightText: Copyright The Lima Authors | COMMENT |
| LOW | hack/ltag/bash.txt | 1 | # SPDX-FileCopyrightText: Copyright The Lima Authors | COMMENT |
| LOW | hack/ltag/makefile.txt | 1 | # SPDX-FileCopyrightText: Copyright The Lima Authors | COMMENT |
| LOW | templates/k8s.yaml | 1 | # Deploy kubernetes via kubeadm. | COMMENT |
| LOW | templates/faasd.yaml | 1 | # Deploy faasd (which installs a bundled containerd). | COMMENT |
| LOW | templates/k0s.yaml | 1 | # Deploy kubernetes via k0s (which installs a bundled containerd). | COMMENT |
| LOW | templates/windows.yaml | 41 | # script: | | COMMENT |
| LOW | templates/k3s.yaml | 1 | # Deploy kubernetes via k3s (which installs a bundled containerd). | COMMENT |
| LOW | templates/windows-2025.yaml | 21 | arch: "x86_64" | COMMENT |
| LOW | templates/windows-2025.yaml | 41 | # skipDefaultDependencyResolution: false | COMMENT |
| LOW | templates/windows-11.yaml | 41 | # script: | | COMMENT |
| LOW | templates/default.yaml | 1 | # ===================================================================== # | COMMENT |
| LOW | templates/default.yaml | 21 | # an optional `variant` (e.g. "server", "minimal", "genericcloud"), and an optional `archVariant` | COMMENT |
| LOW | templates/default.yaml | 41 | # CPUs | COMMENT |
| LOW | templates/default.yaml | 61 | # - location: "~" | COMMENT |
| LOW | templates/default.yaml | 81 | # # SFTP driver, "builtin" or "openssh-sftp-server". "openssh-sftp-server" is recommended. | COMMENT |
| LOW | templates/default.yaml | 101 | # List of mount types not supported by the kernel of this distro. | COMMENT |
| LOW | templates/default.yaml | 121 | # ===================================================================== # | COMMENT |
| LOW | templates/default.yaml | 141 | # # 🟢 Builtin default: true | COMMENT |
| LOW | templates/default.yaml | 161 | # If you have an insecure key under ~/.ssh, do not use this option. | COMMENT |
| LOW | templates/default.yaml | 181 | # If set to `true`, this will remove all the default trusted CA certificates that | COMMENT |
| LOW | templates/default.yaml | 201 | # Upgrade the instance on boot | COMMENT |
| LOW | templates/default.yaml | 221 | COMMENT | |
| LOW | templates/default.yaml | 241 | # - mode: user | COMMENT |
| LOW | templates/default.yaml | 261 | # # `ansible` is executed after other scripts are complete | COMMENT |
| LOW | templates/default.yaml | 281 | # owner: "root:root" | COMMENT |
| LOW | templates/default.yaml | 301 | # format: auto | COMMENT |
| LOW | templates/default.yaml | 321 | # - `mode: dependency` scripts are executed | COMMENT |
| LOW | templates/default.yaml | 341 | # script: | | COMMENT |
| LOW | templates/default.yaml | 361 | COMMENT | |
| LOW | templates/default.yaml | 381 | # Full name or display name of the user. | COMMENT |
| LOW | templates/default.yaml | 401 | # 🟢 Builtin default: true (false for macOS) | COMMENT |
| LOW | templates/default.yaml | 421 | # Currently only applies to the primary disk image. | COMMENT |
| LOW | templates/default.yaml | 461 | # Use legacy BIOS instead of UEFI. Ignored for aarch64 and vz. | COMMENT |
| LOW | templates/default.yaml | 481 | # 🟢 Builtin default: "" | COMMENT |
| LOW | templates/default.yaml | 501 | # As of QEMU v6.2, enabling anything but none or vnc is known to have negative impact | COMMENT |
| LOW | templates/default.yaml | 521 | # # MAC address of the instance; lima will pick one based on the instance name, | COMMENT |
| 96 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/toolexec-for-codesign.sh | 32 | # Check if the command is a linker command. | COMMENT |
| LOW | hack/toolexec-for-codesign.sh | 55 | # Print the output of the command and exit with the result of the command. | COMMENT |
| LOW | hack/update-template.sh | 204 | # Check if the distribution has the required functions | COMMENT |
| LOW | hack/bats/helpers/limactl.bash | 21 | # Close file handles 3 and 4 so the host agent doesn't block BATS from exiting. | COMMENT |
| LOW | templates/default.yaml | 700 | # Set this to false for a guest that runs untrusted code, such as a CI runner. | COMMENT |
| LOW | …/cidata.TEMPLATE.d/boot.Linux/00-reboot-if-required.sh | 10 | # Check if cloud-init forgot to reboot_if_required | COMMENT |
| LOW | …ata.TEMPLATE.d/boot.Linux/00-check-rtc-and-wait-ntp.sh | 58 | # Print the result of NTP synchronization | COMMENT |
| LOW | …/cidata/cidata.TEMPLATE.d/boot.Linux/05-lima-mounts.sh | 8 | # Check if mount type is virtiofs and vm type as vz | COMMENT |
| LOW | pkg/limayaml/default.yaml | 700 | # Set this to false for a guest that runs untrusted code, such as a CI runner. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hack/bats/helpers/limactl.bash | 4 | # Create a dummy Lima instance for testing purposes. It cannot be started because it doesn't have an actual image. | COMMENT |
| MEDIUM | pkg/driver/vz/boot.Linux/05-rosetta-volume.sh | 59 | # Create the symlink as expected by the configuration to enable Rosetta AOT caching | COMMENT |
| MEDIUM | pkg/hostagent/hostagent.go | 294 | # This file is created by Lima, but not used by Lima itself currently. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | templates/README.md | 111 | #### Container orchestration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | templates/windows-2025.yaml | 12 | # Windows server does not require TPM by default. If you turn TPM on, you can use some security features like BitLocker | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/limactl/tunnel.go | 44 | // TODO: implement l2tp, ikev2, masque, ... | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/toolexec-for-codesign.sh | 14 | # Usage: | COMMENT |