Vagrant is a tool for building and distributing development environments.
This report summarizes scanner evidence for hashicorp/vagrant, a Ruby project with 27,213 GitHub stars. SynthScan examined 162,856 lines of code across 1540 source files, recording 586 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 6.7 (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? 539 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 77 finding(s).
Which changes need focused human review? 586 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 586 distinct pattern matches across 11 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 |
|---|---|---|---|---|
| MEDIUM | .ci/.ci-utility-files/common.sh | 773 | # Create a GPG signature. This uses signore to generate a | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 1371 | # Create a temporary directory to work from | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 1947 | # Create the prerelease | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2058 | # Create the draft release | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2071 | # Create a GitHub release | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2174 | # Create the draft release | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2438 | # This function is identical to the github_draft_release_assets | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2926 | # This function is used to make requests to the GitHub API. It | COMMENT |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2958 | # Define the status here since we will set it in | COMMENT |
| MEDIUM | test/unit/base.rb | 35 | # Create a temporary directory where test vagrant will run. The reason we save | COMMENT |
| MEDIUM | test/unit/plugins/commands/init/command_test.rb | 89 | # Create an existing Vagrantfile | COMMENT |
| MEDIUM | test/unit/plugins/commands/init/command_test.rb | 98 | # Create an existing Vagrantfile | COMMENT |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 156 | # Create a few boxes, immediately destroy them | COMMENT |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 173 | # Create a few boxes, immediately destroy them | COMMENT |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 193 | # Create a few boxes, immediately destroy them | COMMENT |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 412 | # Create a V1 box. | COMMENT |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 427 | # Create the box we're adding | COMMENT |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 470 | # Create a VirtualBox box file | COMMENT |
| MEDIUM | test/unit/vagrant/machine_test.rb | 41 | # Create the Vagrant::Environment instance | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 323 | # Create a provider | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 326 | # Create the configuration | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 348 | # Create a provider | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 355 | # Create the configuration | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 381 | # Create a provider | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 385 | # Create the configuration | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 600 | # Create a provider | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 603 | # Create the configuration | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 1397 | # Create a custom UI for our test | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 1414 | # Create the config | COMMENT |
| MEDIUM | test/unit/vagrant/environment_test.rb | 1427 | # Create the config | COMMENT |
| MEDIUM | test/unit/vagrant/config/loader_test.rb | 111 | # Create the finalize method on our loader | COMMENT |
| MEDIUM | test/unit/vagrant/config/v1/loader_test.rb | 69 | # Create the proc we're testing | COMMENT |
| MEDIUM | test/unit/vagrant/config/v1/loader_test.rb | 91 | # Create the proc we're testing | COMMENT |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 38 | # Create the proc we're testing | COMMENT |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 60 | # Create the proc we're testing | COMMENT |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 128 | # Create the old V1 class that will be upgraded | COMMENT |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 139 | # Create the new V2 plugin it is writing to | COMMENT |
| MEDIUM | test/unit/vagrant/action/builder_test.rb | 20 | # Define a to_s on it for helpful output | COMMENT |
| MEDIUM | test/unit/vagrant/action/builder_test.rb | 117 | # Create the proc then make sure it has a name | COMMENT |
| MEDIUM | test/unit/support/isolated_environment.rb | 44 | # Create the box directory | COMMENT |
| MEDIUM | test/unit/support/isolated_environment.rb | 59 | # Create an alias because "box" makes a V1 box, so "box1" | COMMENT |
| MEDIUM | test/unit/support/isolated_environment.rb | 77 | # Create a metadata.json file | COMMENT |
| MEDIUM | test/unit/support/isolated_environment.rb | 85 | # Create a Vagrantfile | COMMENT |
| MEDIUM⚡ | test/unit/support/isolated_environment.rb | 107 | # Create the directory for the box | COMMENT |
| MEDIUM⚡ | test/unit/support/isolated_environment.rb | 111 | # Create the metadata.json for it | COMMENT |
| MEDIUM⚡ | test/unit/support/isolated_environment.rb | 119 | # Create a Vagrantfile | COMMENT |
| MEDIUM⚡ | test/unit/support/isolated_environment.rb | 127 | # Create the metadata URL | COMMENT |
| MEDIUM | test/unit/support/isolated_environment.rb | 141 | # Create a temporary directory to store our data we will tar up | COMMENT |
| MEDIUM | test/unit/support/isolated_environment.rb | 186 | # Create a temporary directory to store our data we will tar up | COMMENT |
| MEDIUM | test/unit/support/shared/base_context.rb | 17 | # Create a thing to store our temporary files so that they aren't | COMMENT |
| MEDIUM | test/unit/support/shared/base_context.rb | 84 | # Create a temporary directory and append it to the instance | COMMENT |
| MEDIUM | test/support/isolated_environment.rb | 33 | # Create a temporary directory for our work | COMMENT |
| MEDIUM | plugins/synced_folders/rsync/default_unix_cap.rb | 8 | # This module provides default rsync capabilities for | COMMENT |
| MEDIUM | plugins/synced_folders/rsync/helper.rb | 94 | # Create the path for the control sockets. We used to do this | COMMENT |
| MEDIUM | plugins/synced_folders/rsync/command/rsync_auto.rb | 163 | # Create the callback that lets us know when we've been interrupted | COMMENT |
| MEDIUM | plugins/kernel_v2/config/push.rb | 80 | # Define a new push in the Vagrantfile with the given name. | COMMENT |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 312 | # Define a way to access the machine via a network. This exposes a | COMMENT |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 1014 | # Create a helper that will with the synced folders mixin | COMMENT |
| MEDIUM | plugins/pushes/ftp/adapter.rb | 78 | # Create the parent directories if they does not exist (naive mkdir -p) | COMMENT |
| MEDIUM | plugins/providers/docker/provider.rb | 95 | # Create the env to manage this machine | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ci/.ci-utility-files/common.sh | 101 | COMMENT | |
| LOW | .ci/.ci-utility-files/common.sh | 121 | # through directly | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 1441 | COMMENT | |
| LOW | .ci/.ci-utility-files/common.sh | 2061 | failure "Failed to create draft release on %s" "${repo_owner}/${draft_repo}" | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2881 | COMMENT | |
| LOW | .ci/.ci-utility-files/common.sh | 2921 | # Still here, then we send back that hashibot token | COMMENT |
| LOW | test/unit/plugins/pushes/ftp/push_test.rb | 321 | #{dir}/.hidden.rb | COMMENT |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 41 | # end | COMMENT |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 61 | COMMENT | |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 81 | COMMENT | |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 101 | # with("foo", "-vcs", "-token", "atlas_token", app, env.root_path.to_s) | COMMENT |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 121 | # with("foo", "-vcs", "-metadata", "box=hashicorp/precise64", | COMMENT |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 141 | # config.uploader_path = "foo" | COMMENT |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 161 | # bin_path.open("w+") { |f| f.write("hi") } | COMMENT |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 181 | # expect(subject.uploader_path).to be_nil | COMMENT |
| LOW | test/config/acceptance_boxes.yml | 1 | # Copyright IBM Corp. 2010, 2025 | COMMENT |
| LOW | plugins/synced_folders/nfs/plugin.rb | 1 | # Copyright IBM Corp. 2010, 2025 | COMMENT |
| LOW | plugins/kernel_v2/config/trigger.rb | 21 | COMMENT | |
| LOW | plugins/kernel_v2/config/push.rb | 81 | # | COMMENT |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 21 | COMMENT | |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 41 | # @return [String] | COMMENT |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 61 | # | COMMENT |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 81 | # Can also be configured to have a custom exit code | COMMENT |
| LOW | plugins/kernel_v2/config/vm.rb | 261 | end | COMMENT |
| LOW | plugins/kernel_v2/config/cloud_init.rb | 21 | COMMENT | |
| LOW | plugins/kernel_v2/config/vm_provisioner.rb | 21 | # Internal unique name for this provisioner | COMMENT |
| LOW | plugins/kernel_v2/config/vm_provisioner.rb | 41 | # When to run this provisioner. Either "once", "always", or "never" | COMMENT |
| LOW | plugins/kernel_v2/config/disk.rb | 21 | # | COMMENT |
| LOW | plugins/kernel_v2/config/disk.rb | 41 | COMMENT | |
| LOW | plugins/pushes/ftp/config.rb | 21 | attr_accessor :passive | COMMENT |
| LOW | plugins/pushes/heroku/config.rb | 1 | # Copyright IBM Corp. 2010, 2025 | COMMENT |
| LOW | plugins/pushes/atlas/config.rb | 1 | # Copyright IBM Corp. 2010, 2025 | COMMENT |
| LOW | plugins/pushes/atlas/config.rb | 21 | # user confirmation) if it doesn't already exist. | COMMENT |
| LOW | plugins/pushes/atlas/config.rb | 41 | # @return [Array<String>] | COMMENT |
| LOW | plugins/providers/docker/config.rb | 21 | # should be set. | COMMENT |
| LOW | plugins/providers/docker/config.rb | 41 | # | COMMENT |
| LOW | plugins/providers/docker/config.rb | 61 | COMMENT | |
| LOW | plugins/providers/docker/config.rb | 81 | attr_accessor :host_vm_build_dir_options | COMMENT |
| LOW | plugins/providers/docker/config.rb | 101 | # The time to wait before sending a SIGTERM to the container | COMMENT |
| LOW | plugins/providers/docker/config.rb | 121 | # | COMMENT |
| LOW | plugins/providers/docker/config.rb | 141 | # | COMMENT |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 261 | end | COMMENT |
| LOW | plugins/providers/hyperv/driver.rb | 161 | COMMENT | |
| LOW | plugins/providers/hyperv/driver.rb | 201 | COMMENT | |
| LOW | plugins/providers/hyperv/driver.rb | 221 | # @return [nil] | COMMENT |
| LOW | plugins/providers/hyperv/driver.rb | 241 | COMMENT | |
| LOW | plugins/providers/virtualbox/config.rb | 1 | # Copyright IBM Corp. 2010, 2025 | COMMENT |
| LOW | plugins/providers/virtualbox/config.rb | 21 | # | COMMENT |
| LOW | plugins/providers/virtualbox/config.rb | 41 | # | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 141 | # hostonly: "vboxnet0", | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 161 | COMMENT | |
| LOW | plugins/providers/virtualbox/driver/base.rb | 181 | # protocol: "tcp" | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 201 | end | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 221 | def read_bridged_interfaces | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 241 | # | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 261 | # :netmask => String, # netmask associated with the interface, e.g. "255.255.255.0" | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 301 | # Returns a list of all UUIDs of virtual machines currently | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 361 | COMMENT | |
| LOW | plugins/providers/virtualbox/driver/meta.rb | 161 | :verify!, | COMMENT |
| LOW | plugins/providers/virtualbox/driver/version_5_0.rb | 21 | COMMENT | |
| 173 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 22 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 24 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 99 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 101 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/vm_trigger.rb | 18 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/vm_trigger.rb | 20 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 505 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 507 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/cloud_init.rb | 10 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/cloud_init.rb | 12 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/disk.rb | 12 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/kernel_v2/config/disk.rb | 14 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/communicator.rb | 22 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/communicator.rb | 24 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/communicator.rb | 137 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/communicator.rb | 139 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/config.rb | 129 | #-------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/config.rb | 131 | #-------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/config.rb | 353 | #-------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/docker/config.rb | 355 | #-------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 475 | #----------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 477 | #----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | plugins/providers/virtualbox/action/network.rb | 511 | #----------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | plugins/providers/virtualbox/action/network.rb | 513 | #----------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 576 | #----------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 578 | #----------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/virtualbox/action/forward_ports.rb | 14 | #-------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/providers/virtualbox/action/forward_ports.rb | 16 | #-------------------------------------------------------------- | COMMENT |
| MEDIUM | plugins/provisioners/chef/config/chef_solo.rb | 64 | #------------------------------------------------------------ | COMMENT |
| MEDIUM | plugins/provisioners/chef/config/chef_solo.rb | 66 | #------------------------------------------------------------ | COMMENT |
| MEDIUM | lib/vagrant/environment.rb | 836 | #--------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/vagrant/environment.rb | 838 | #--------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/vagrant/plugin/v2/trigger.rb | 113 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/vagrant/plugin/v2/trigger.rb | 115 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | templates/locales/en.yml | 476 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | templates/locales/en.yml | 478 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | templates/locales/en.yml | 2046 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | templates/locales/en.yml | 2048 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | templates/locales/en.yml | 2257 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | templates/locales/en.yml | 2259 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | templates/locales/en.yml | 2265 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | templates/locales/en.yml | 2267 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | templates/locales/en.yml | 2456 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | templates/locales/en.yml | 2458 | #------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ci/.ci-utility-files/common.sh | 141 | # Check if a role has already been assumed. If it | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 667 | # Set 50M to be a largish file | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 928 | # Check if version string is valid for release | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 1153 | # Check if a release for the given version | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 1263 | # Check if gem version is already published to RubyGems | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 1308 | # Check if gem version is already published to hashigems | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2167 | # Set repository to get correct token behavior on request | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2199 | # Check if a github release exists by tag name | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2237 | # Check if a github release exists using fuzzy match | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2303 | # Check if a draft release exists by name | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2962 | # Check if our response content starts with the info prefix. | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 3180 | # Iterate through the list | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 3213 | # Check if the issue is old enough to be locked | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 3394 | # Check if we are running a job created by a tag. If so, | COMMENT |
| LOW | plugins/synced_folders/rsync/helper.rb | 246 | # Check if rsync versions support using chown option | COMMENT |
| LOW | plugins/synced_folders/smb/synced_folder.rb | 85 | # Check if this host can start and SMB service | COMMENT |
| LOW | plugins/kernel_v2/config/vm.rb | 445 | # Add the name to the array of VM keys. This array is used to | COMMENT |
| LOW | plugins/kernel_v2/config/vm.rb | 937 | # Check if there is more than one primary disk defined and throw an error | COMMENT |
| LOW | plugins/pushes/ftp/config.rb | 110 | # Add the filepath to the list of includes | COMMENT |
| LOW | plugins/pushes/ftp/config.rb | 117 | # Add the filepath to the list of excludes | COMMENT |
| LOW | plugins/pushes/heroku/push.rb | 28 | # Check if we need to add the git remote | COMMENT |
| LOW | plugins/pushes/heroku/push.rb | 94 | # Check if the git remote has the given remote. | COMMENT |
| LOW | plugins/pushes/atlas/config.rb | 115 | # Add the filepath to the list of includes | COMMENT |
| LOW | plugins/pushes/atlas/config.rb | 122 | # Add the filepath to the list of excludes | COMMENT |
| LOW | plugins/providers/docker/driver.rb | 60 | # Check if podman emulating docker CLI is enabled. | COMMENT |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 210 | # Check if network already exists for this subnet | COMMENT |
| LOW | …ns/providers/virtualbox/action/set_default_nic_type.rb | 38 | # Check if VirtualBox E1000 implementation is vulnerable | COMMENT |
| LOW | plugins/provisioners/chef/cap/omnios/chef_installed.rb | 10 | # Check if Chef is installed at the given version. | COMMENT |
| LOW | plugins/provisioners/chef/cap/freebsd/chef_installed.rb | 9 | # Check if Chef is installed at the given version. | COMMENT |
| LOW | plugins/provisioners/chef/cap/linux/chef_installed.rb | 9 | # Check if Chef is installed at the given version. | COMMENT |
| LOW | plugins/provisioners/chef/cap/windows/chef_installed.rb | 9 | # Check if Chef is installed at the given version. | COMMENT |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 283 | # Verify if host range patterns exist and warn | COMMENT |
| LOW | plugins/provisioners/ansible/provisioner/guest.rb | 66 | # Check if requested ansible version is available | COMMENT |
| LOW | …visioners/ansible/cap/guest/posix/ansible_installed.rb | 11 | # Check if Ansible is installed (at the given version). | COMMENT |
| LOW | plugins/commands/provider/command.rb | 50 | # Check if we're just doing a usability check | COMMENT |
| LOW | plugins/commands/provider/command.rb | 57 | # Check if we're requesting installation | COMMENT |
| LOW | plugins/commands/rdp/command.rb | 32 | # Check if the host even supports RDP | COMMENT |
| LOW | plugins/commands/powershell/command.rb | 73 | # Check if the host even supports ps remoting | COMMENT |
| LOW | plugins/commands/up/command.rb | 142 | # Check if we have this machine in the index | COMMENT |
| LOW | plugins/commands/cloud/publish.rb | 90 | # Display output to user describing action to be taken | COMMENT |
| LOW | plugins/commands/cloud/plugin.rb | 36 | # Set this to match Vagant logging level so we get | COMMENT |
| LOW | plugins/hosts/bsd/cap/nfs.rb | 122 | # Check if nfsd is running, and update or restart depending on the result | COMMENT |
| LOW | plugins/hosts/darwin/cap/smb.rb | 16 | # Check if the required SMB services are loaded and enabled. If they are | COMMENT |
| LOW | plugins/hosts/windows/cap/smb.rb | 83 | # Check if this name is already in use | COMMENT |
| LOW | plugins/communicators/winrm/plugin.rb | 39 | # Check if vagrant-winrm plugin is installed and | COMMENT |
| LOW | plugins/communicators/ssh/communicator.rb | 827 | # Check if server supports given key type | COMMENT |
| LOW | plugins/guests/darwin/cap/mount_vmware_shared_folder.rb | 79 | # Check if the line is already defined. If so, bail since we are done | COMMENT |
| LOW | plugins/guests/darwin/cap/mount_vmware_shared_folder.rb | 108 | # Check if firmlink is provided by the system | COMMENT |
| LOW | plugins/guests/windows/cap/public_key.rb | 49 | # Check if an authorized_keys file already exists | COMMENT |
| LOW | plugins/guests/redhat/cap/configure_networks.rb | 43 | # Check if NetworkManager is installed on the system | COMMENT |
| LOW | plugins/guests/alt/cap/configure_networks.rb | 23 | # Check if NetworkManager is installed on the system | COMMENT |
| LOW | lib/vagrant/environment.rb | 670 | # Return the result | COMMENT |
| LOW | lib/vagrant/environment.rb | 1022 | # Check if defined plugins are installed | COMMENT |
| LOW | lib/vagrant/batch_action.rb | 170 | # Check if any threads set an exit code and exit if found. If | COMMENT |
| LOW | lib/vagrant/vagrantfile.rb | 182 | # Check if this machine has a local box metadata file | COMMENT |
| LOW | lib/vagrant/box.rb | 210 | # Check if a box update check is allowed. Uses a file | COMMENT |
| LOW | lib/vagrant/util/directory.rb | 9 | # Check if directory has any new updates | COMMENT |
| LOW⚡ | lib/vagrant/util/guest_inspection.rb | 37 | # Check if a unit file with the given name is defined. Name can | COMMENT |
| LOW⚡ | lib/vagrant/util/guest_inspection.rb | 47 | # Check if a unit is currently active within systemd | COMMENT |
| LOW⚡ | lib/vagrant/util/guest_inspection.rb | 56 | # Check if given service is controlled by systemd | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ci/.ci-utility-files/common.sh | 120 | # provided, it will just pass the command | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 136 | # configured. If it is not, just pass through. | COMMENT |
| LOW | .ci/.ci-utility-files/common.sh | 2624 | # so we can just return success | COMMENT |
| MEDIUM | …st/unit/plugins/communicators/ssh/communicator_test.rb | 1168 | # can be checked. To facilitate this, set it to a non-nil value | COMMENT |
| LOW | test/unit/vagrant/plugin/manager_test.rb | 425 | # We just add "i18n" because it is a dependency of Vagrant and | COMMENT |
| LOW | plugins/providers/docker/action.rb | 15 | # We just call the "up" action. We create a separate action | COMMENT |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 161 | # and instead just use the built-in `.prefix` method | COMMENT |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 271 | # and instead just use the built-in `.prefix` method | COMMENT |
| LOW | plugins/providers/docker/action/wait_for_running.rb | 28 | # If we're not waiting, just return | COMMENT |
| LOW | plugins/providers/virtualbox/driver/base.rb | 488 | # If already set, just return immediately | COMMENT |
| LOW | plugins/providers/virtualbox/action/import.rb | 88 | # If we're not supposed to destroy on error then just return | COMMENT |
| LOW | plugins/commands/plugin/gem_helper.rb | 75 | # some other configuration state. We need to just set everything | COMMENT |
| LOW | plugins/commands/cap/command.rb | 69 | # If we're just checking, then just return exit codes | COMMENT |
| LOW | plugins/commands/ssh/command.rb | 72 | # is to exec into the proper SSH shell, but we'll just return | COMMENT |
| LOW | plugins/commands/cloud/util.rb | 37 | # just return nil | COMMENT |
| LOW | plugins/hosts/linux/cap/nfs.rb | 157 | # just return folder, there are no duplicates | COMMENT |
| LOW | plugins/communicators/ssh/communicator.rb | 169 | # just return that we're ready (for Machine#guest). | COMMENT |
| LOW | ext/vagrant/vagrant_ssl/extconf.rb | 18 | # If the header file isn't found, just create a dummy | COMMENT |
| LOW | lib/vagrant/environment.rb | 264 | # If the machine folder is not a directory then we just return | COMMENT |
| LOW | lib/vagrant/environment.rb | 986 | # if a provider cannot be determined just return nil | COMMENT |
| LOW | lib/vagrant/box_metadata.rb | 202 | # If the architecture value is set to nil, then just return | COMMENT |
| LOW | lib/vagrant/util/safe_chdir.rb | 22 | # If we already hold the lock, just create a new lock so we | COMMENT |
| LOW | lib/vagrant/config/version_base.rb | 27 | # will simply return the same object. | COMMENT |
| LOW | lib/vagrant/plugin/v1/guest.rb | 41 | # in a reasonable amount of time, this method should just return. | COMMENT |
| LOW | lib/vagrant/action/builtin/box_add.rb | 97 | # will just return the same URLs. | COMMENT |
| LOW | lib/vagrant/action/builtin/box_add.rb | 336 | # If we have only one provider in the metadata, just use that | COMMENT |
| LOW | lib/vagrant/action/builtin/box_add.rb | 594 | # The downloader was interrupted, so just return, because that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/unit/plugins/provisioners/support/shared/config.rb | 4 | def get_provisioner_option_names(provisioner_class) | CODE |
| LOW | plugins/synced_folders/unix_mount_helpers.rb | 97 | def emit_upstart_notification(machine, guest_path) | CODE |
| LOW | plugins/synced_folders/smb/synced_folder.rb | 182 | def clean_folder_configuration(data) | CODE |
| LOW | plugins/providers/docker/driver.rb | 370 | def network_containing_address(address) | CODE |
| LOW | plugins/providers/docker/action/connect_networks.rb | 25 | def generate_connect_cli_arguments(options) | CODE |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 27 | def generate_create_cli_arguments(options) | CODE |
| LOW | plugins/providers/hyperv/driver.rb | 210 | def set_vm_integration_services(config) | CODE |
| LOW | plugins/providers/hyperv/driver.rb | 322 | def set_enhanced_session_transport_type(transport_type) | CODE |
| LOW | plugins/providers/virtualbox/synced_folder.rb | 144 | def display_symlink_create_warning(env) | CODE |
| LOW⚡ | plugins/providers/virtualbox/action/network.rb | 520 | def hostonly_find_matching_network(config) | CODE |
| LOW | plugins/providers/virtualbox/action/network.rb | 596 | def create_dhcp_server_if_necessary(interface, config) | CODE |
| LOW | plugins/providers/virtualbox/action/network.rb | 633 | def find_matching_dhcp_server(interface) | CODE |
| LOW | plugins/providers/virtualbox/action/network_fix_ipv6.rb | 72 | def host_only_interface_names(env) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 235 | def get_inventory_host_vars_string(machine_name) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 366 | def ui_running_ansible_command(name, command) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 411 | def set_gathered_ansible_version(stdout_output) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 426 | def set_gathered_ansible_package_version(ansible_package, stdout_output) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/guest.rb | 113 | def execute_ansible_command_on_guest(name, command) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/host.rb | 100 | def execute_command_from_host(command) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/host.rb | 246 | def get_inventory_ssh_machine(machine, ssh_info) | CODE |
| LOW | plugins/provisioners/ansible/provisioner/host.rb | 255 | def get_inventory_winrm_machine(machine, winrm_net_info) | CODE |
| LOW | plugins/commands/cloud/provider/delete.rb | 62 | def select_provider_architecture(account, org, box, version, provider) | CODE |
| LOW | plugins/commands/cloud/client/client.rb | 229 | def store_two_factor_information(two_factor) | CODE |
| LOW | plugins/communicators/ssh/communicator.rb | 420 | def generate_environment_export(env_key, env_value) | CODE |
| LOW | plugins/guests/windows/guest_network.rb | 57 | def configure_static_interface(nic_index, net_connection_id, ip, netmask) | CODE |
| LOW | lib/vagrant/capability_host.rb | 119 | def autodetect_capability_host(hosts, *args) | CODE |
| LOW | lib/vagrant/util/guest_networks.rb | 11 | def configure_network_manager(machine, networks, **opts) | CODE |
| LOW | lib/vagrant/util/guest_hosts.rb | 19 | def add_hostname_to_loopback_interface(comm, name, loop_bound=DEAFAULT_LOOPBACK_CHECK_LIMIT) | CODE |
| LOW | lib/vagrant/patches/net-ssh.rb | 13 | def vagrant_read_private_keyblob(type) | CODE |
| LOW | lib/vagrant/plugin/v1/command.rb | 140 | def split_main_and_subcommand(argv) | CODE |
| LOW | lib/vagrant/plugin/v2/command.rb | 278 | def split_main_and_subcommand(argv) | CODE |
| LOW | lib/vagrant/action/builtin/mixin_synced_folders.rb | 16 | def default_synced_folder_type(machine, plugins) | CODE |
| LOW | lib/vagrant/action/builtin/mixin_provisioners.rb | 71 | def sort_provisioner_instances(pvs) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/vagrant/action/builtin/box_remove.rb | 99 | architectures: box_info.values.first.values.first.sort.join(", ") | CODE |
| CRITICAL | lib/vagrant/action/builtin/box_remove.rb | 110 | architectures: box_info.values.first.values.first.sort.join(", ") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/vagrant/ui.rb | 389 | # Otherwise, make sure to prefix every line properly | COMMENT |
| LOW | lib/vagrant/ui.rb | 444 | # Color the message and make sure to reset the color at the end | COMMENT |
| LOW | lib/vagrant/machine_index.rb | 299 | # so make sure to lock around it. | COMMENT |
| LOW | lib/vagrant/action/builtin/synced_folders.rb | 42 | # Go through each folder and make sure to create it if | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plugins/provisioners/salt/provisioner.rb | 482 | cmd = "salt-run -l info state.orchestrate #{orchestration}" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/vagrant/util/file_checksum.rb | 83 | # NOTE: This class was not originally namespaced | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/vagrant-spec/configs/vagrant-spec.config.docker.rb | 14 | box: "placeholder" | CODE |