AI Slop Code RIsk Monitor

basecamp/kamal

Deploy web apps anywhere.

5.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

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.

5.1
Adjusted Signal
5.1
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
14.6K
Stars
Ruby
Language
22.6K
Lines of Code
212
Files
98
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 97 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 8.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 33 finding(s).

PR Review Velocity Impact 21.6/100 · LOW

Which changes need focused human review? 98 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 6LOW 92

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block57 hits · 57 pts
SeverityFileLineSnippetContext
LOWtest/integration/docker/deployer/boot.sh1#!/bin/bashCOMMENT
LOWtest/integration/docker/vm/boot.sh1#!/bin/bashCOMMENT
LOWlib/kamal/sshkit_with_ext.rb221 # Execute on hosts grouped by role.COMMENT
LOWlib/kamal/configuration/docs/boot.yml1# BootingCOMMENT
LOWlib/kamal/configuration/docs/alias.yml1# AliasesCOMMENT
LOWlib/kamal/configuration/docs/alias.yml21#COMMENT
LOWlib/kamal/configuration/docs/logging.yml1# Custom logging configurationCOMMENT
LOWlib/kamal/configuration/docs/output.yml1# OutputCOMMENT
LOWlib/kamal/configuration/docs/proxy.yml1# ProxyCOMMENT
LOWlib/kamal/configuration/docs/proxy.yml21 # requests for other apps deployed on that server that do have a host set.COMMENT
LOWlib/kamal/configuration/docs/proxy.yml41 # The host value must point to the server we are deploying to, and port 443 must beCOMMENT
LOWlib/kamal/configuration/docs/proxy.yml61 private_key_pem: PRIVATE_KEY_PEMCOMMENT
LOWlib/kamal/configuration/docs/proxy.yml81 forward_headers: trueCOMMENT
LOWlib/kamal/configuration/docs/proxy.yml101 - "/api"COMMENT
LOWlib/kamal/configuration/docs/proxy.yml121COMMENT
LOWlib/kamal/configuration/docs/proxy.yml181# servers:COMMENT
LOWlib/kamal/configuration/docs/ssh.yml1# SSH configurationCOMMENT
LOWlib/kamal/configuration/docs/ssh.yml21 #COMMENT
LOWlib/kamal/configuration/docs/ssh.yml41 #COMMENT
LOWlib/kamal/configuration/docs/ssh.yml61 # An array of strings, with each element of the array being a secret name.COMMENT
LOWlib/kamal/configuration/docs/env.yml1# Environment variablesCOMMENT
LOWlib/kamal/configuration/docs/env.yml21#COMMENT
LOWlib/kamal/configuration/docs/env.yml41# ```COMMENT
LOWlib/kamal/configuration/docs/registry.yml1# RegistryCOMMENT
LOWlib/kamal/configuration/docs/registry.yml41#COMMENT
LOWlib/kamal/configuration/docs/registry.yml61#COMMENT
LOWlib/kamal/configuration/docs/sshkit.yml1# SSHKitCOMMENT
LOWlib/kamal/configuration/docs/sshkit.yml21 # Kamal sets a long idle timeout of 900 seconds on connections to try to avoidCOMMENT
LOWlib/kamal/configuration/docs/builder.yml1# BuilderCOMMENT
LOWlib/kamal/configuration/docs/builder.yml21 #COMMENT
LOWlib/kamal/configuration/docs/builder.yml61 #COMMENT
LOWlib/kamal/configuration/docs/builder.yml81 # Referencing build argumentsCOMMENT
LOWlib/kamal/configuration/docs/builder.yml101 # # Install dependencies, including private repositories via access tokenCOMMENT
LOWlib/kamal/configuration/docs/builder.yml121COMMENT
LOWlib/kamal/configuration/docs/role.yml1# RolesCOMMENT
LOWlib/kamal/configuration/docs/role.yml21 - 172.1.0.2: experiment1COMMENT
LOWlib/kamal/configuration/docs/accessory.yml1# AccessoriesCOMMENT
LOWlib/kamal/configuration/docs/accessory.yml21 # where `<service>` is the main service name from the root configuration:COMMENT
LOWlib/kamal/configuration/docs/accessory.yml61COMMENT
LOWlib/kamal/configuration/docs/accessory.yml101 #COMMENT
LOWlib/kamal/configuration/docs/accessory.yml161 # The network the accessory will be attached to.COMMENT
LOWlib/kamal/configuration/docs/configuration.yml1# Kamal ConfigurationCOMMENT
LOWlib/kamal/configuration/docs/configuration.yml21# extension. Kamal will ignore the extension and not raise an error.COMMENT
LOWlib/kamal/configuration/docs/configuration.yml61 ...COMMENT
LOWlib/kamal/configuration/docs/configuration.yml81COMMENT
LOWlib/kamal/configuration/docs/configuration.yml101hooks_output: :verboseCOMMENT
LOWlib/kamal/configuration/docs/configuration.yml121COMMENT
LOWlib/kamal/configuration/docs/configuration.yml141COMMENT
LOWlib/kamal/configuration/docs/configuration.yml161# How long to wait for a container to drain, default 30:COMMENT
LOWlib/kamal/configuration/docs/configuration.yml201#COMMENT
LOWlib/kamal/secrets/adapters/gcp_secret_manager.rb1class Kamal::Secrets::Adapters::GcpSecretManager < Kamal::Secrets::Adapters::BaseCOMMENT
LOWlib/kamal/cli/templates/deploy.yml1# Name of your application. Used to uniquely configure containers.COMMENT
LOWlib/kamal/cli/templates/deploy.yml21 ssl: trueCOMMENT
LOWlib/kamal/cli/templates/deploy.yml41 # args:COMMENT
LOWlib/kamal/cli/templates/deploy.yml61# user: appCOMMENT
LOWlib/kamal/cli/templates/deploy.yml81#COMMENT
LOWlib/kamal/cli/templates/deploy.yml101# directories:COMMENT
Hyper-Verbose Identifiers33 hits · 38 pts
SeverityFileLineSnippetContext
LOWtest/integration/integration_test.rb104 def assert_app_in_maintenance(message: nil)CODE
LOWtest/integration/integration_test.rb269 def assert_container_not_running(host:, name:)CODE
LOWtest/integration/main_test.rb315 def assert_accumulated_assets(*versions)CODE
LOWtest/integration/main_test.rb323 def assert_asset_volume_read_only(version)CODE
LOWtest/integration/main_test.rb350 def assert_hook_env_variables(output, version:)CODE
LOW⚡test/integration/accessory_test.rb85 def assert_accessory_not_running(name)CODE
LOW⚡test/integration/accessory_test.rb89 def assert_accessory_volume_mount_options(name)CODE
LOW⚡test/integration/accessory_test.rb94 def assert_accessory_file_mode_and_owner(name)CODE
LOW⚡test/integration/accessory_test.rb99 def assert_accessory_directory_mode_and_owner(name)CODE
LOWtest/secrets/bitwarden_adapter_test.rb259 def stub_noteitem_with_fields(session: nil)CODE
LOWtest/cli/main_test.rb846 def run_command_with_config_path(*command, config_path:, destination: nil)CODE
LOWtest/cli/build_test.rb477 def assert_local_registry_started_before_push(fixture:, remote_host:)CODE
LOWlib/kamal/env_file.rb30 def escape_docker_env_file_value(value)CODE
LOWlib/kamal/env_file.rb37 def escape_docker_env_file_ascii_value(value)CODE
LOWlib/kamal/configuration/accessory.rb230 def expand_host_path_for_volume(host_path)CODE
LOWlib/kamal/configuration/accessory.rb266 def extract_hosts_from_config_with_tag(tag)CODE
LOWlib/kamal/configuration/role.rb152 def asset_extracted_directory(version = config.version)CODE
LOWlib/kamal/secrets/adapters/bitwarden.rb44 def fetch_secrets_from_fields(fields, item, item_json)CODE
LOWlib/kamal/secrets/adapters/bitwarden_secrets_manager.rb37 def extract_command_and_project(secrets)CODE
LOWlib/kamal/secrets/adapters/enpass.rb51 def parse_result_and_take_secrets(unparsed_result, secrets)CODE
LOWlib/kamal/cli/accessory.rb343 def error_on_missing_accessory(name)CODE
LOW⚡lib/kamal/cli/build.rb216 def forward_local_registry_port_for_remote_builder(&block)CODE
LOW⚡lib/kamal/cli/build.rb225 def forward_local_registry_port(hosts, **ssh_options, &block)CODE
LOW⚡lib/kamal/cli/build.rb234 def remote_builder_ssh_options(remote_uri)CODE
LOWlib/kamal/commands/app.rb85 def current_running_container(format:)CODE
LOWlib/kamal/commands/accessory.rb59 def execute_in_existing_container(*command, interactive: false)CODE
LOW⚡lib/kamal/commands/accessory.rb78 def execute_in_existing_container_over_ssh(*command)CODE
LOW⚡lib/kamal/commands/accessory.rb82 def execute_in_new_container_over_ssh(*command)CODE
LOW⚡lib/kamal/commands/accessory.rb90 def ensure_local_file_present(local_file)CODE
LOWlib/kamal/commands/app/assets.rb37 def find_and_remove_older_siblings(path)CODE
LOWlib/kamal/commands/app/execution.rb2 def execute_in_existing_container(*command, interactive: false, env:)CODE
LOWlib/kamal/commands/app/execution.rb26 def execute_in_existing_container_over_ssh(*command, env:)CODE
LOWlib/kamal/commands/app/execution.rb30 def execute_in_new_container_over_ssh(*command, env:)CODE
Slop Phrases6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMlib/kamal/configuration/docs/proxy.yml91 # you can use path-based routing to mount services under different path prefixes.COMMENT
MEDIUMlib/kamal/configuration/docs/registry.yml3# The default registry is Docker Hub, but you can change it using `registry/server`.COMMENT
MEDIUMlib/kamal/configuration/docs/registry.yml29# AWS ECR’s access token is only valid for 12 hours. In order to avoid having to manually regenerate the token every timCOMMENT
MEDIUMlib/kamal/configuration/docs/accessory.yml114 # Or you can use the hash format for custom mode and ownership.COMMENT
MEDIUMlib/kamal/configuration/docs/accessory.yml139 # Or you can use the hash format for custom mode and ownership.COMMENT
MEDIUMlib/kamal/configuration/docs/configuration.yml129# This defaults to `web`, but if you have no web role, you can change this:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlib/kamal/configuration/docs/logging.yml3# Set these to control the Docker logging driver and options.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/secrets/gcp_secret_manager_adapter_test.rb106 stub_items(0, project: "some-project", version: "123", account: "user@example.com", impersonate_service_account: "seCODE