Open Container Initiative-based implementation of Kubernetes Container Runtime Interface
This report summarizes scanner evidence for cri-o/cri-o, a Go project with 5,685 GitHub stars. SynthScan examined 115,111 lines of code across 630 source files, recording 134 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.5 (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? 133 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 134 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 134 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .golangci.yml | 101 | # - exhaustruct_v5 | COMMENT |
| LOW | test/helpers.bash | 621 | # wait_for_log <log message> [line to skip] | COMMENT |
| LOW | test/testdata/config/config-v1.17.0.toml | 1 | # The CRI-O configuration file specifies all of the available configuration | COMMENT |
| LOW | test/testdata/config/config-v1.17.0.toml | 21 | COMMENT | |
| LOW | test/testdata/config/config-v1.17.0.toml | 81 | # "<ulimit name>=<soft limit>:<hard limit>", for example: | COMMENT |
| LOW | test/testdata/config/config-v1.17.0.toml | 161 | # be removed in future versions in favor of default_mounts_file. | COMMENT |
| LOW | test/testdata/config/config-v1.17.0.toml | 201 | # If set to true, all containers will run in read-only mode. | COMMENT |
| LOW | test/testdata/config/config-v1.17.0.toml | 241 | # The "crio.runtime.runtimes" table defines a list of OCI compatible runtimes. | COMMENT |
| LOW | test/testdata/config/config-v1.17.0.toml | 281 | COMMENT | |
| LOW | test/testdata/config/config-v1.17.0.toml | 301 | COMMENT | |
| LOW | test/testdata/config/config-v1.17.0.toml | 321 | # consider configuring the registries via /etc/containers/registries.conf before | COMMENT |
| LOW | internal/runtimehandlerhooks/utils_test.go | 161 | #IRQBALANCE_ONESHOT= | COMMENT |
| LOW | internal/runtimehandlerhooks/gomaxprocs_hooks_linux.go | 101 | // No-op. | COMMENT |
| LOW | …al/runtimehandlerhooks/high_performance_hooks_linux.go | 681 | // disabled, some that won't. | COMMENT |
| LOW | …al/runtimehandlerhooks/high_performance_hooks_linux.go | 1001 | COMMENT | |
| LOW | …al/runtimehandlerhooks/high_performance_hooks_linux.go | 1061 | COMMENT | |
| LOW | internal/config/cgmgr/cgmgr_linux.go | 41 | // the CRI-O server to use cgroups, regardless of how it or the node was configured. | COMMENT |
| LOW | internal/config/cgmgr/cgmgr_linux.go | 61 | // It creates a new cgroup if one does not already exist. | COMMENT |
| LOW | internal/config/cgmgr/cgmgr_linux.go | 81 | ) (string, error) | COMMENT |
| LOW | internal/config/cgmgr/cgmgr_linux.go | 301 | // If the cgroup manager is systemd, then libcontainer | COMMENT |
| LOW | internal/oci/container.go | 141 | } | COMMENT |
| LOW | internal/oci/runtime_pod.go | 401 | PID() uint32 | COMMENT |
| LOW | internal/storage/runtime.go | 21 | // function call is found to be invalid (most often, because it's | COMMENT |
| LOW | internal/storage/runtime.go | 101 | COMMENT | |
| LOW | internal/storage/runtime.go | 121 | } | COMMENT |
| LOW | internal/storage/doc.go | 1 | // Package storage provides helper functions for creating and managing CRI pod | COMMENT |
| LOW | internal/storage/registry_reference.go | 1 | package storage | COMMENT |
| LOW | internal/storage/image.go | 141 | COMMENT | |
| LOW | internal/storage/references/registry_reference.go | 1 | package references | COMMENT |
| LOW | internal/nri/nri.go | 21 | // | COMMENT |
| LOW | internal/annotations/checkpoint.go | 1 | package annotations | COMMENT |
| LOW | internal/watchdog/systemd.go | 21 | COMMENT | |
| LOW | internal/lib/container_server.go | 1221 | COMMENT | |
| LOW | internal/lib/restore.go | 241 | for _, m := range ctrSpec.Config.Mounts { | COMMENT |
| LOW | internal/hostport/hostport_manager.go | 21 | ) | COMMENT |
| LOW | internal/iptables/iptables.go | 61 | // does not, or if it is unable to check. | COMMENT |
| LOW | internal/iptables/iptables.go | 81 | // Monitor detects when the given iptables tables have been flushed by an external | COMMENT |
| LOW | internal/factory/container/container.go | 221 | COMMENT | |
| LOW | internal/factory/container/device_linux.go | 221 | fromCRI[dev.GetName()] = struct{}{} | COMMENT |
| LOW | internal/factory/container/device_linux.go | 281 | COMMENT | |
| LOW | hack/lib/util/trap.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/util/environment.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/util/environment.sh | 21 | fi | COMMENT |
| LOW | hack/lib/util/find.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/util/find.sh | 21 | COMMENT | |
| LOW | hack/lib/util/misc.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/util/ensure.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/log/output.sh | 81 | # | COMMENT |
| LOW | hack/lib/log/system.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/log/system.sh | 21 | # This function stops logging and generates plots of data for easy consumption. | COMMENT |
| LOW | hack/lib/log/system.sh | 221 | COMMENT | |
| LOW | hack/lib/log/stacktrace.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/lib/log/stacktrace.sh | 21 | COMMENT | |
| LOW | server/container_restore.go | 201 | COMMENT | |
| LOW | server/image_pull.go | 321 | // https://github.com/kubernetes/kubernetes/blob/6070f5a/pkg/kubelet/images/image_manager.go#L192-L195 | COMMENT |
| LOW | contrib/test/ci/ansible.cfg | 1 | # config file for ansible -- http://ansible.com/ | COMMENT |
| LOW | contrib/test/ci/ansible.cfg | 21 | #sudo_user = root | COMMENT |
| LOW | contrib/test/ci/ansible.cfg | 41 | # all - gather all subsets | COMMENT |
| LOW | contrib/test/ci/ansible.cfg | 61 | #callback_whitelist = timer, mail | COMMENT |
| LOW | contrib/test/ci/ansible.cfg | 81 | # (/usr/bin/ansible will use current user as default) | COMMENT |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/testdata/config/config-v1.17.0.toml | 76 | # The crio.runtime table contains settings pertaining to the OCI runtime used | COMMENT |
| MEDIUM | test/testdata/config/config-v1.17.0.toml | 282 | # The crio.image table contains settings pertaining to the management of OCI images. | COMMENT |
| MEDIUM | test/testdata/config/config-v1.17.0.toml | 341 | # The crio.network table containers settings pertaining to the management of | COMMENT |
| MEDIUM | pkg/config/template.go | 1016 | const templateStringCrioRuntime = `# The crio.runtime table contains settings pertaining to the OCI runtime used | CODE |
| MEDIUM | pkg/config/template.go | 1601 | const templateStringCrioCheckpointRestore = `# The crio.checkpoint_restore table contains settings pertaining to the | CODE |
| MEDIUM | pkg/config/template.go | 1616 | const templateStringCrioImage = `# The crio.image table contains settings pertaining to the management of OCI images. | CODE |
| MEDIUM | pkg/config/template.go | 1717 | const templateStringCrioNetwork = `# The crio.network table containers settings pertaining to the management of | CODE |
| MEDIUM | pkg/config/template.go | 1819 | const templateStringCrioStats = `# Necessary information pertaining to container and pod stats reporting. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/testdata/config/config-v1.17.0.toml | 15 | # for CRI-O, you can change the storage configuration options here. | COMMENT |
| MEDIUM | test/testdata/config/config-v1.17.0.toml | 175 | # you can change the default_mounts_file. Note, if this is done, CRI-O will | COMMENT |
| MEDIUM | test/testdata/config/config-v1.17.0.toml | 286 | # you want to modify just CRI-O, you can change the registries configuration in | COMMENT |
| MEDIUM | contrib/test/ci/ansible.cfg | 219 | # and you can change the location of the files by setting retry_files_save_path | COMMENT |
| MEDIUM | pkg/config/template.go | 851 | # for CRI-O, you can change the storage configuration options here. | COMMENT |
| MEDIUM | pkg/config/template.go | 1221 | # you can change the default_mounts_file. Note, if this is done, CRI-O will | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/helpers.bash | 211 | # Create the template storage $1 by importing the images like for a test, with | COMMENT |
| MEDIUM | hack/lib/util/text.sh | 3 | # This file contains helpful aliases for manipulating the output text to the terminal as | COMMENT |
| MEDIUM | hack/lib/log/output.sh | 3 | # This file contains functions used for writing log messages | COMMENT |
| MEDIUM | contrib/custom-node-e2e/create-ignition-config.sh | 130 | # Create a custom node-e2e-installer script | COMMENT |
| MEDIUM | contrib/custom-node-e2e/create-ignition-config.sh | 190 | # Create a custom ignition config file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | contrib/kube-local/README.md | 12 | - [Supported container orchestration](#supported-container-orchestration) | CODE |
| MEDIUM | contrib/kube-local/README.md | 30 | - [Container Orchestration](#container-orchestration) | CODE |
| MEDIUM | contrib/kube-local/README.md | 85 | ## Supported container orchestration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/helpers.bash | 318 | # Check if journald is supported by runtime. | COMMENT |
| LOW | contrib/test/ci/ansible.cfg | 341 | # Set this to yes to allow libvirt_lxc connections to work without SELinux. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | contrib/test/ci/ansible.cfg | 2 | # ============================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/lib/sandbox/builder.go | 187 | // TODO: Add validations before returning the sandbox. | COMMENT |