CLI tool for spawning and running containers according to the OCI specification
This report summarizes scanner evidence for opencontainers/runc, a Go project with 13,519 GitHub stars. SynthScan examined 44,973 lines of code across 267 source files, recording 89 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.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.
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? 89 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? 89 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 89 distinct pattern matches across 5 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 | types/features/features.go | 1 | // Package features provides the annotations for [github.com/opencontainers/runtime-spec/specs-go/features]. | COMMENT |
| LOW | tests/rootless.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/rootless.sh | 121 | chmod g+rw "$CGROUP_MOUNT/$CGROUP_PATH/cgroup.subtree_control" "$CGROUP_MOUNT/$CGROUP_PATH/cgroup.procs" "$CGROUP_MOUN | COMMENT |
| LOW | tests/rootless.sh | 201 | # Run the test suite! | COMMENT |
| LOW | tests/fuzzing/oss_fuzz_build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/integration/bootstrap-get-images.sh | 21 | COMMENT | |
| LOW | tests/integration/helpers.bash | 201 | [ $EUID -ne 0 ] && user="--user" | COMMENT |
| LOW | tests/integration/helpers.bash | 981 | # Older EL9 kernels did not permit using ID map mounts | COMMENT |
| LOW | tests/integration/get-images.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/integration/testdata/seccomp_syscall_test1.c | 1 | #define _GNU_SOURCE | COMMENT |
| LOW | tests/integration/lib/assert.bash | 1 | #!/bin/bash | COMMENT |
| LOW | internal/pathrs/mkdirall_pathrslite.go | 21 | import ( | COMMENT |
| LOW | internal/pathrs/path.go | 81 | // do nothing | COMMENT |
| LOW | internal/sys/doc.go | 1 | // Package sys is an internal package that contains helper methods for dealing | COMMENT |
| LOW | internal/third_party/systemd/activation/files_unix.go | 1 | // Copyright 2015 CoreOS, Inc. | COMMENT |
| LOW | script/release_sign.sh | 1 | #!/bin/bash | COMMENT |
| LOW | script/keyring_validate.sh | 1 | #!/bin/bash | COMMENT |
| LOW | script/keyring_validate.sh | 81 | username="$(sed -En "s|^Comment:.* github=(\w+).*|\1|p" <<<"$block")" | COMMENT |
| LOW | script/build-libpathrs.sh | 1 | #!/bin/bash | COMMENT |
| LOW | script/keyring_addkey.sh | 1 | #!/bin/bash | COMMENT |
| LOW | script/check-binary-size.sh | 1 | #!/bin/bash | COMMENT |
| LOW | script/release_build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/zizmor.yml | 1 | # Configuration for zizmor (https://docs.zizmor.sh/), run by the zizmor job | COMMENT |
| LOW | .github/workflows/review-policy.yml | 1 | # Enforce the pull request merge rules described in MAINTAINERS_GUIDE.md | COMMENT |
| LOW | .github/workflows/review-policy.yml | 21 | # request, so a pull request can change it. Therefore it is a governance file | COMMENT |
| LOW | libcontainer/init_wait_linux.go | 21 | // meaning it will never write anything to us again. | COMMENT |
| LOW | libcontainer/init_wait_linux.go | 61 | // Should the pid get recycled while we are polling, init is gone entirely, | COMMENT |
| LOW | libcontainer/setns_init_linux.go | 141 | // Close the pipe to signal that we have completed our init. | COMMENT |
| LOW | libcontainer/rootfs_linux.go | 681 | // contrast to mount(8)'s current behaviour, but is what users probably | COMMENT |
| LOW | libcontainer/rootfs_linux.go | 701 | // only difference from mount(8) is that we do this | COMMENT |
| LOW | libcontainer/rootfs_linux.go | 741 | } | COMMENT |
| LOW | libcontainer/rootfs_linux.go | 1201 | } | COMMENT |
| LOW | libcontainer/sync.go | 21 | // | COMMENT |
| LOW | libcontainer/factory_linux.go | 181 | // the following characters: | COMMENT |
| LOW | libcontainer/mount_linux.go | 141 | // in case it failed. | COMMENT |
| LOW | libcontainer/mount_linux.go | 241 | COMMENT | |
| LOW | libcontainer/mount_linux.go | 261 | COMMENT | |
| LOW | libcontainer/standard_init_linux.go | 301 | // (which can then be opened by container processes, leading to container | COMMENT |
| LOW | libcontainer/container_linux.go | 581 | // ExtraFiles otherwise it is possible for the stdlib to clobber the fd | COMMENT |
| LOW | libcontainer/cmd_clone.go | 1 | package libcontainer | COMMENT |
| LOW | libcontainer/process.go | 21 | // | COMMENT |
| LOW | libcontainer/process.go | 61 | COMMENT | |
| LOW | libcontainer/process.go | 101 | // LogLevel is a string containing a numeric representation of the current | COMMENT |
| LOW | libcontainer/process_linux.go | 201 | // cpuset.cpus, online or even present (hot-plugged) at call | COMMENT |
| LOW | libcontainer/process_linux.go | 301 | return fmt.Errorf("error adding pid %d to cgroups: %w", p.pid(), err) | COMMENT |
| LOW | libcontainer/init_linux.go | 441 | } | COMMENT |
| LOW | libcontainer/init_linux.go | 521 | if err := unix.Fstat(int(file.Fd()), &s); err != nil { | COMMENT |
| LOW | libcontainer/internal/userns/usernsfd_linux.go | 81 | // execve() is a waste of cycles because we just need some process to have | COMMENT |
| LOW | libcontainer/utils/utils_unix.go | 101 | // UnsafeCloseFrom closes all file descriptors greater or equal to minFd in the | COMMENT |
| LOW | libcontainer/utils/utils_unix.go | 161 | } | COMMENT |
| LOW | libcontainer/utils/utils_unix.go | 181 | // /proc/thread-self/, but it's better to be safe than sorry (and there are | COMMENT |
| LOW | libcontainer/specconv/spec_linux.go | 221 | // all containers. | COMMENT |
| LOW | libcontainer/specconv/spec_linux.go | 1081 | // can calculate uid and gid mappings within runc. These mappings are | COMMENT |
| LOW | libcontainer/system/proc.go | 81 | if err != nil { | COMMENT |
| LOW | libcontainer/intelrdt/intelrdt.go | 621 | // which means L3 cache id 0's CBM is 0xff, and L3 cache id 1's CBM | COMMENT |
| LOW | libcontainer/intelrdt/intelrdt.go | 641 | // predefined and can be looked up through "info/MB/min_bandwidth". | COMMENT |
| LOW | libcontainer/exeseal/cloned_binary_linux.go | 61 | return os.NewSyscallError("fcntl(F_ADD_SEALS)", err) | COMMENT |
| LOW | libcontainer/exeseal/overlayfs_linux.go | 41 | COMMENT | |
| LOW | libcontainer/exeseal/overlayfs_linux.go | 61 | COMMENT | |
| LOW | libcontainer/exeseal/overlayfs_linux.go | 101 | } | COMMENT |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/rootless.sh | 62 | # Create a directory owned by $ROOTLESS_AUX_UID inside container, to be used | COMMENT |
| MEDIUM | tests/rootless.sh | 115 | # Create the cgroup. | COMMENT |
| MEDIUM | tests/rootless.sh | 174 | # Create a powerset of $ALL_FEATURES (the set of all subsets of $ALL_FEATURES). | COMMENT |
| MEDIUM | tests/fuzzing/oss_fuzz_build.sh | 3 | # This file is only meant to be run by OSS-fuzz and will not work | COMMENT |
| MEDIUM | script/keyring_validate.sh | 48 | # Create a dummy gpg keyring from the set of MAINTAINERS. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/helpers.bash | 279 | # Check if a value in a cgroup file $1 matches $2 or $3 (if specified). | COMMENT |
| LOW | tests/integration/helpers.bash | 290 | # Check if a value of systemd unit property $1 matches $2 or $3 (if specified). | COMMENT |
| LOW | tests/integration/helpers.bash | 487 | # Check if criu is available. | COMMENT |
| LOW | tests/integration/helpers.bash | 492 | # Check if criu version is at least $1 (e.g. "4.3"). | COMMENT |
| LOW | tests/integration/helpers.bash | 778 | # Check if the pid is there; if not, remove it from the list. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libcontainer/rootfs_linux.go | 283 | // by mountPropagate. Remount them read-only as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/validate.yml | 174 | # make sure to remove the old version | COMMENT |