Deploy web apps anywhere.
This report summarizes scanner evidence for basecamp/kamal, a Ruby project with 14,639 GitHub stars. SynthScan examined 22,593 lines of code across 212 source files, recording 98 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 97 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 33 finding(s).
Which changes need focused human review? 98 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 98 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 | test/integration/docker/deployer/boot.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/integration/docker/vm/boot.sh | 1 | #!/bin/bash | COMMENT |
| LOW | lib/kamal/sshkit_with_ext.rb | 221 | # Execute on hosts grouped by role. | COMMENT |
| LOW | lib/kamal/configuration/docs/boot.yml | 1 | # Booting | COMMENT |
| LOW | lib/kamal/configuration/docs/alias.yml | 1 | # Aliases | COMMENT |
| LOW | lib/kamal/configuration/docs/alias.yml | 21 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/logging.yml | 1 | # Custom logging configuration | COMMENT |
| LOW | lib/kamal/configuration/docs/output.yml | 1 | # Output | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 1 | # Proxy | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 21 | # requests for other apps deployed on that server that do have a host set. | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 41 | # The host value must point to the server we are deploying to, and port 443 must be | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 61 | private_key_pem: PRIVATE_KEY_PEM | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 81 | forward_headers: true | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 101 | - "/api" | COMMENT |
| LOW | lib/kamal/configuration/docs/proxy.yml | 121 | COMMENT | |
| LOW | lib/kamal/configuration/docs/proxy.yml | 181 | # servers: | COMMENT |
| LOW | lib/kamal/configuration/docs/ssh.yml | 1 | # SSH configuration | COMMENT |
| LOW | lib/kamal/configuration/docs/ssh.yml | 21 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/ssh.yml | 41 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/ssh.yml | 61 | # An array of strings, with each element of the array being a secret name. | COMMENT |
| LOW | lib/kamal/configuration/docs/env.yml | 1 | # Environment variables | COMMENT |
| LOW | lib/kamal/configuration/docs/env.yml | 21 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/env.yml | 41 | # ``` | COMMENT |
| LOW | lib/kamal/configuration/docs/registry.yml | 1 | # Registry | COMMENT |
| LOW | lib/kamal/configuration/docs/registry.yml | 41 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/registry.yml | 61 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/sshkit.yml | 1 | # SSHKit | COMMENT |
| LOW | lib/kamal/configuration/docs/sshkit.yml | 21 | # Kamal sets a long idle timeout of 900 seconds on connections to try to avoid | COMMENT |
| LOW | lib/kamal/configuration/docs/builder.yml | 1 | # Builder | COMMENT |
| LOW | lib/kamal/configuration/docs/builder.yml | 21 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/builder.yml | 61 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/builder.yml | 81 | # Referencing build arguments | COMMENT |
| LOW | lib/kamal/configuration/docs/builder.yml | 101 | # # Install dependencies, including private repositories via access token | COMMENT |
| LOW | lib/kamal/configuration/docs/builder.yml | 121 | COMMENT | |
| LOW | lib/kamal/configuration/docs/role.yml | 1 | # Roles | COMMENT |
| LOW | lib/kamal/configuration/docs/role.yml | 21 | - 172.1.0.2: experiment1 | COMMENT |
| LOW | lib/kamal/configuration/docs/accessory.yml | 1 | # Accessories | COMMENT |
| LOW | lib/kamal/configuration/docs/accessory.yml | 21 | # where `<service>` is the main service name from the root configuration: | COMMENT |
| LOW | lib/kamal/configuration/docs/accessory.yml | 61 | COMMENT | |
| LOW | lib/kamal/configuration/docs/accessory.yml | 101 | # | COMMENT |
| LOW | lib/kamal/configuration/docs/accessory.yml | 161 | # The network the accessory will be attached to. | COMMENT |
| LOW | lib/kamal/configuration/docs/configuration.yml | 1 | # Kamal Configuration | COMMENT |
| LOW | lib/kamal/configuration/docs/configuration.yml | 21 | # extension. Kamal will ignore the extension and not raise an error. | COMMENT |
| LOW | lib/kamal/configuration/docs/configuration.yml | 61 | ... | COMMENT |
| LOW | lib/kamal/configuration/docs/configuration.yml | 81 | COMMENT | |
| LOW | lib/kamal/configuration/docs/configuration.yml | 101 | hooks_output: :verbose | COMMENT |
| LOW | lib/kamal/configuration/docs/configuration.yml | 121 | COMMENT | |
| LOW | lib/kamal/configuration/docs/configuration.yml | 141 | COMMENT | |
| LOW | lib/kamal/configuration/docs/configuration.yml | 161 | # How long to wait for a container to drain, default 30: | COMMENT |
| LOW | lib/kamal/configuration/docs/configuration.yml | 201 | # | COMMENT |
| LOW | lib/kamal/secrets/adapters/gcp_secret_manager.rb | 1 | class Kamal::Secrets::Adapters::GcpSecretManager < Kamal::Secrets::Adapters::Base | COMMENT |
| LOW | lib/kamal/cli/templates/deploy.yml | 1 | # Name of your application. Used to uniquely configure containers. | COMMENT |
| LOW | lib/kamal/cli/templates/deploy.yml | 21 | ssl: true | COMMENT |
| LOW | lib/kamal/cli/templates/deploy.yml | 41 | # args: | COMMENT |
| LOW | lib/kamal/cli/templates/deploy.yml | 61 | # user: app | COMMENT |
| LOW | lib/kamal/cli/templates/deploy.yml | 81 | # | COMMENT |
| LOW | lib/kamal/cli/templates/deploy.yml | 101 | # directories: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/integration_test.rb | 104 | def assert_app_in_maintenance(message: nil) | CODE |
| LOW | test/integration/integration_test.rb | 269 | def assert_container_not_running(host:, name:) | CODE |
| LOW | test/integration/main_test.rb | 315 | def assert_accumulated_assets(*versions) | CODE |
| LOW | test/integration/main_test.rb | 323 | def assert_asset_volume_read_only(version) | CODE |
| LOW | test/integration/main_test.rb | 350 | def assert_hook_env_variables(output, version:) | CODE |
| LOW⚡ | test/integration/accessory_test.rb | 85 | def assert_accessory_not_running(name) | CODE |
| LOW⚡ | test/integration/accessory_test.rb | 89 | def assert_accessory_volume_mount_options(name) | CODE |
| LOW⚡ | test/integration/accessory_test.rb | 94 | def assert_accessory_file_mode_and_owner(name) | CODE |
| LOW⚡ | test/integration/accessory_test.rb | 99 | def assert_accessory_directory_mode_and_owner(name) | CODE |
| LOW | test/secrets/bitwarden_adapter_test.rb | 259 | def stub_noteitem_with_fields(session: nil) | CODE |
| LOW | test/cli/main_test.rb | 846 | def run_command_with_config_path(*command, config_path:, destination: nil) | CODE |
| LOW | test/cli/build_test.rb | 477 | def assert_local_registry_started_before_push(fixture:, remote_host:) | CODE |
| LOW | lib/kamal/env_file.rb | 30 | def escape_docker_env_file_value(value) | CODE |
| LOW | lib/kamal/env_file.rb | 37 | def escape_docker_env_file_ascii_value(value) | CODE |
| LOW | lib/kamal/configuration/accessory.rb | 230 | def expand_host_path_for_volume(host_path) | CODE |
| LOW | lib/kamal/configuration/accessory.rb | 266 | def extract_hosts_from_config_with_tag(tag) | CODE |
| LOW | lib/kamal/configuration/role.rb | 152 | def asset_extracted_directory(version = config.version) | CODE |
| LOW | lib/kamal/secrets/adapters/bitwarden.rb | 44 | def fetch_secrets_from_fields(fields, item, item_json) | CODE |
| LOW | lib/kamal/secrets/adapters/bitwarden_secrets_manager.rb | 37 | def extract_command_and_project(secrets) | CODE |
| LOW | lib/kamal/secrets/adapters/enpass.rb | 51 | def parse_result_and_take_secrets(unparsed_result, secrets) | CODE |
| LOW | lib/kamal/cli/accessory.rb | 343 | def error_on_missing_accessory(name) | CODE |
| LOW⚡ | lib/kamal/cli/build.rb | 216 | def forward_local_registry_port_for_remote_builder(&block) | CODE |
| LOW⚡ | lib/kamal/cli/build.rb | 225 | def forward_local_registry_port(hosts, **ssh_options, &block) | CODE |
| LOW⚡ | lib/kamal/cli/build.rb | 234 | def remote_builder_ssh_options(remote_uri) | CODE |
| LOW | lib/kamal/commands/app.rb | 85 | def current_running_container(format:) | CODE |
| LOW | lib/kamal/commands/accessory.rb | 59 | def execute_in_existing_container(*command, interactive: false) | CODE |
| LOW⚡ | lib/kamal/commands/accessory.rb | 78 | def execute_in_existing_container_over_ssh(*command) | CODE |
| LOW⚡ | lib/kamal/commands/accessory.rb | 82 | def execute_in_new_container_over_ssh(*command) | CODE |
| LOW⚡ | lib/kamal/commands/accessory.rb | 90 | def ensure_local_file_present(local_file) | CODE |
| LOW | lib/kamal/commands/app/assets.rb | 37 | def find_and_remove_older_siblings(path) | CODE |
| LOW | lib/kamal/commands/app/execution.rb | 2 | def execute_in_existing_container(*command, interactive: false, env:) | CODE |
| LOW | lib/kamal/commands/app/execution.rb | 26 | def execute_in_existing_container_over_ssh(*command, env:) | CODE |
| LOW | lib/kamal/commands/app/execution.rb | 30 | def execute_in_new_container_over_ssh(*command, env:) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/kamal/configuration/docs/proxy.yml | 91 | # you can use path-based routing to mount services under different path prefixes. | COMMENT |
| MEDIUM | lib/kamal/configuration/docs/registry.yml | 3 | # The default registry is Docker Hub, but you can change it using `registry/server`. | COMMENT |
| MEDIUM | lib/kamal/configuration/docs/registry.yml | 29 | # AWS ECR’s access token is only valid for 12 hours. In order to avoid having to manually regenerate the token every tim | COMMENT |
| MEDIUM | lib/kamal/configuration/docs/accessory.yml | 114 | # Or you can use the hash format for custom mode and ownership. | COMMENT |
| MEDIUM | lib/kamal/configuration/docs/accessory.yml | 139 | # Or you can use the hash format for custom mode and ownership. | COMMENT |
| MEDIUM | lib/kamal/configuration/docs/configuration.yml | 129 | # This defaults to `web`, but if you have no web role, you can change this: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/kamal/configuration/docs/logging.yml | 3 | # Set these to control the Docker logging driver and options. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/secrets/gcp_secret_manager_adapter_test.rb | 106 | stub_items(0, project: "some-project", version: "123", account: "user@example.com", impersonate_service_account: "se | CODE |