Define and run multi-container applications with Docker
This report summarizes scanner evidence for docker/compose, a Go project with 38,531 GitHub stars. SynthScan examined 99,339 lines of code across 770 source files, recording 131 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 131 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? 131 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 131 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-bake.hcl | 1 | // Copyright 2022 Docker Compose CLI authors | COMMENT |
| LOW | cmd/compose/hooks.go | 41 | } | COMMENT |
| LOW | cmd/compose/run.go | 281 | if err != nil { | COMMENT |
| LOW | cmd/compose/run.go | 481 | } | COMMENT |
| LOW | cmd/compose/options.go | 81 | if buildForSinglePlatform || len(service.Build.Platforms) == 0 { | COMMENT |
| LOW | internal/confighash/hash.go | 41 | // and with them the hash, of configurations that did not change at all: | COMMENT |
| LOW | internal/projectloader/unsupported_attributes.go | 41 | // presenceUnsupportedAttributes lists, by path, every schema-declared | COMMENT |
| LOW | internal/projectloader/unsupported_attributes.go | 61 | tree.NewPath("secrets", "*", "driver_opts"): "secrets[].driver_opts is only honored by Swarm secret driv | COMMENT |
| LOW | internal/projectloader/unsupported_attributes.go | 121 | // only a specific value is unsupported. They can never be derived from | COMMENT |
| LOW | internal/projectloader/unsupported_attributes_test.go | 641 | } | COMMENT |
| LOW | internal/containerops/cp.go | 221 | COMMENT | |
| LOW | internal/provider/plugins.go | 61 | RawSetEnvType = "rawsetenv" | COMMENT |
| LOW | internal/provider/plugins.go | 81 | // GetImageType is a message the provider sends during its pull command | COMMENT |
| LOW | internal/provider/plugins.go | 261 | // provider that emits stdout before draining its stdin. Every answer is | COMMENT |
| LOW | internal/provider/plugins.go | 341 | return progress.Stopped(service) | COMMENT |
| LOW | internal/paths/paths.go | 41 | // then the only way to check if they're truly "equal" is to check | COMMENT |
| LOW | internal/oci/push.go | 41 | // for the generated image manifest. | COMMENT |
| LOW | internal/desktop/client.go | 41 | const EngineLabel = "com.docker.desktop.address" | COMMENT |
| LOW | internal/desktop/proxy.go | 61 | // On macOS/Linux: unix:///path/to/Data/docker-cli.sock → unix:///path/to/Data/httpproxy.sock | COMMENT |
| LOW | internal/desktop/proxy.go | 81 | // above and the forward-slash form `npipe:////./pipe/...`. | COMMENT |
| LOW | internal/desktop/proxy.go | 101 | // Desktop stays in control of proxy decisions (e.g. enterprise-managed | COMMENT |
| LOW | internal/registry/registry.go | 41 | IndexName = "docker.io" | COMMENT |
| LOW | internal/sync/tar.go | 161 | } | COMMENT |
| LOW | internal/sync/tar.go | 221 | }() | COMMENT |
| LOW | internal/sync/shared.go | 21 | // PathMapping contains the Compose service and modified host system path. | COMMENT |
| LOW | internal/relay/relay.go | 141 | set["default"] = true | COMMENT |
| LOW | internal/relay/relay.go | 161 | type InfoAnswer struct { | COMMENT |
| LOW | internal/relay/relay.go | 181 | // Info assembles the get-relay-info answer for one provider service: | COMMENT |
| LOW | internal/relay/relay.go | 221 | // collision with one, and keeps its lifecycle independent of the project's | COMMENT |
| LOW | internal/relay/relay.go | 261 | return existing.Items, nil | COMMENT |
| LOW | internal/relay/relay.go | 401 | // relay is a regular project container (standard compose labels, canonical | COMMENT |
| LOW | docs/examples/provider.go | 241 | COMMENT | |
| LOW | .github/stale.yml | 41 | This issue has been automatically closed because it had not recent activity during the stale period. | COMMENT |
| LOW | pkg/dryrun/dryrunclient_test.go | 21 | "go/parser" | COMMENT |
| LOW | pkg/compose/compose.go | 41 | "github.com/docker/compose/v5/pkg/api" | COMMENT |
| LOW | pkg/compose/create.go | 101 | return s.executePlan(ctx, project, observed, plan) | COMMENT |
| LOW | pkg/compose/create.go | 481 | Host: &hostConfig, | COMMENT |
| LOW | pkg/compose/observed_state.go | 41 | ProjectName string | COMMENT |
| LOW | pkg/compose/observed_state.go | 261 | state.Orphans = append(state.Orphans, toObservedContainer(ctr)) | COMMENT |
| LOW | pkg/compose/observed_state.go | 461 | COMMENT | |
| LOW | pkg/compose/monitor.go | 61 | c.services[name] = true | COMMENT |
| LOW | pkg/compose/monitor.go | 81 | // State.Restarting=true in that window. | COMMENT |
| LOW | pkg/compose/monitor.go | 101 | // daemon code setting it is the restart-policy one — so the container is | COMMENT |
| LOW | pkg/compose/monitor.go | 121 | // | COMMENT |
| LOW | pkg/compose/monitor.go | 141 | // be emitted to nobody, and the monitor would track the container forever. | COMMENT |
| LOW | pkg/compose/monitor.go | 341 | restarting.Remove(ctr.ID) | COMMENT |
| LOW | pkg/compose/api_versions.go | 21 | const ( | COMMENT |
| LOW | pkg/compose/api_versions.go | 41 | // apiVersion149 represents Docker Engine API version 1.49 (Engine v28.1). | COMMENT |
| LOW | pkg/compose/pull.go | 361 | return err | COMMENT |
| LOW | pkg/compose/service_containers.go | 201 | // | COMMENT |
| LOW | pkg/compose/provider_images.go | 41 | // providerPullPolicyMissing (up path): a usable version present in the | COMMENT |
| LOW | pkg/compose/provider_images.go | 121 | return s.runPlugin(ctx, project, service, "pull", args...) | COMMENT |
| LOW | pkg/compose/build.go | 201 | if img, ok = images[imgName]; !ok { | COMMENT |
| LOW | pkg/compose/up.go | 101 | COMMENT | |
| LOW | pkg/compose/up.go | 121 | // those nodes (see executeNode), each with its OWN fresh window starting | COMMENT |
| LOW | pkg/compose/up.go | 161 | return err | COMMENT |
| LOW | pkg/compose/up.go | 221 | mu sync.Mutex | COMMENT |
| LOW | pkg/compose/up.go | 341 | // answers with a time that can't be used fails the command without any | COMMENT |
| LOW | pkg/compose/start.go | 81 | // Unlike upDetached/create, start() never calls emitRunningEvents: a | COMMENT |
| LOW | pkg/compose/start.go | 101 | return nil | COMMENT |
| 68 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/tracing/wrap.go | 35 | // NOTE: This function is nearly identical to SpanWrapFuncForErrGroup, except the latter is designed specially for | COMMENT |
| LOW | internal/tracing/wrap.go | 58 | // NOTE: This function is nearly identical to SpanWrapFunc, except this function is designed specially for | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/compose/compose.go | 50 | // Example usage: | COMMENT |