Terraform Pull Request Automation
This report summarizes scanner evidence for runatlantis/atlantis, a Go project with 9,339 GitHub stars. SynthScan examined 206,274 lines of code across 1051 source files, recording 105 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.7 (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? 91 finding(s).
Are imports declared and package/API names verified? 14 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 105 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 105 distinct pattern matches across 9 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-entrypoint.sh | 1 | #!/usr/bin/env -S dumb-init --single-child /bin/sh | COMMENT |
| LOW | .goreleaser.yml | 41 | # If set to true, will not auto-publish the release. | COMMENT |
| LOW | .markdownlint.yaml | 1 | # MD013/line-length | COMMENT |
| LOW | .markdownlint.yaml | 21 | # are fine as long as they are not siblings (aka same indention hierarchy) | COMMENT |
| LOW | cmd/cmd.go | 1 | // Copyright 2017 HootSuite Media Inc. | COMMENT |
| LOW | runatlantis.io/docs/server-side-repo-config.md | 61 | # allowed_workflows specifies which workflows the repos that match | COMMENT |
| LOW | runatlantis.io/es/docs/server-side-repo-config.md | 61 | # allowed_workflows specifies which workflows the repos that match | COMMENT |
| LOW | server/server.go | 141 | SilenceForkPRErrorsFlag string | COMMENT |
| LOW | server/router.go | 21 | // from the Underlying router. | COMMENT |
| LOW | server/core/terraform/tfclient/terraform_client.go | 61 | // directory inside our data dir. | COMMENT |
| LOW | server/core/terraform/tfclient/terraform_client.go | 81 | versionsLock *sync.Mutex | COMMENT |
| LOW | server/core/planstore/plan_store.go | 21 | // PullDir returns the directory holding everything stored for a single pull | COMMENT |
| LOW | server/core/planstore/plan_store.go | 41 | Remove(ctx command.ProjectContext, planPath string) error | COMMENT |
| LOW | server/core/planstore/plan_store.go | 61 | RestorePlans(pullDir, owner, repo string, pullNum int) error | COMMENT |
| LOW | server/core/planstore/s3_plan_store.go | 221 | // Only called from the "apply all" path where we don't know which projects | COMMENT |
| LOW | server/core/config/parser_validator_test.go | 2121 | // main.tf | COMMENT |
| LOW | server/core/config/valid/workspace.go | 1 | // Copyright 2025 The Atlantis Authors | COMMENT |
| LOW | server/core/config/valid/workspace.go | 21 | // workspaces without adding safety. | COMMENT |
| LOW | server/core/runtime/runtime.go | 41 | COMMENT | |
| LOW | server/core/drift/storage.go | 41 | type GetOptions struct { | COMMENT |
| LOW | server/events/working_dir.go | 41 | COMMENT | |
| LOW | server/events/working_dir.go | 61 | // When autoplanWhenModified patterns are provided, only divergence affecting | COMMENT |
| LOW | server/events/working_dir.go | 81 | // GetGitUntrackedFiles returns a list of Git untracked files in the working dir. | COMMENT |
| LOW | server/events/working_dir.go | 261 | // If there are any errors we return true since we prefer to assume divergence | COMMENT |
| LOW | server/events/working_dir.go | 661 | } | COMMENT |
| LOW | server/events/event_parser.go | 121 | // AutoMergeDisabled is true if the command should not automerge after apply. | COMMENT |
| LOW | server/events/event_parser.go | 201 | ClearPolicyApproval: clearPolicyApproval, | COMMENT |
| LOW | server/events/event_parser.go | 221 | // baseRepo is the repo the pull request will be merged into. | COMMENT |
| LOW | server/events/event_parser.go | 241 | // pull is the parsed merge request. | COMMENT |
| LOW | server/events/event_parser.go | 281 | // from Bitbucket Cloud (bitbucket.org). | COMMENT |
| LOW | server/events/event_parser.go | 321 | // from a webhook) that returns a pull request. | COMMENT |
| LOW | server/events/project_finder.go | 361 | // like: | COMMENT |
| LOW | server/events/project_finder.go | 381 | // | COMMENT |
| LOW | server/events/var_file_allowlist_checker.go | 101 | COMMENT | |
| LOW | server/events/var_file_allowlist_checker.go | 121 | // symbolic link whose target does not exist. | COMMENT |
| LOW | server/events/project_finder_test.go | 81 | } | COMMENT |
| LOW | server/events/comment_parser.go | 41 | clearPolicyApprovalFlagLong = "clear-policy-approval" | COMMENT |
| LOW | server/events/comment_parser.go | 141 | // CommentResponse or Ignore is set. | COMMENT |
| LOW | server/events/comment_parser.go | 161 | // - atlantis help | COMMENT |
| LOW | server/events/comment_parser.go | 421 | COMMENT | |
| LOW | server/events/comment_parser.go | 441 | for _, arg := range extraArgs { | COMMENT |
| LOW | server/events/command_requirement_handler.go | 161 | // in an unrelated project in the same merge request must not block it. The | COMMENT |
| LOW | server/events/models/models.go | 61 | // FullName is the owner and repo name separated | COMMENT |
| LOW | server/events/models/models.go | 81 | VCSHost VCSHost | COMMENT |
| LOW | server/events/models/models.go | 221 | // PullRequest is a VCS pull request. | COMMENT |
| LOW | server/events/models/models.go | 241 | // requested ref directly instead of treating it as a branch checkout. This is | COMMENT |
| LOW | server/events/models/models.go | 321 | // Project represents a Terraform project. Since there may be multiple | COMMENT |
| LOW | server/events/models/models.go | 861 | Status ProjectPlanStatus | COMMENT |
| LOW | server/events/models/models.go | 881 | // PlannedNoChangesPlanStatus means that a plan has been successfully | COMMENT |
| LOW | server/events/models/models.go | 981 | CommandName string | COMMENT |
| LOW | server/events/models/models.go | 1001 | // Pull is the pull request we're responding to. | COMMENT |
| LOW | server/events/models/drift.go | 301 | Workspace string `json:"workspace"` | COMMENT |
| LOW | server/events/models/drift.go | 321 | // (InMemoryStorage.Store) strips it before persisting, so it is never | COMMENT |
| LOW | server/events/vcs/gitlab/client.go | 381 | // (force-pushed shared source branch, etc.) a status from another MR | COMMENT |
| LOW | server/events/vcs/gitea/client.go | 301 | approvalStatus.IsApproved = true | COMMENT |
| LOW | server/events/command/project_context.go | 21 | COMMENT | |
| LOW | server/events/command/project_context.go | 41 | ImportRequirements []string | COMMENT |
| LOW | server/events/command/project_context.go | 61 | // would let a commenter read the Atlantis process environment by naming a | COMMENT |
| LOW | server/events/command/project_context.go | 81 | // be the same as BaseRepo. | COMMENT |
| LOW | server/events/command/project_context.go | 101 | // RequiresAtlantisManagedPlanFile is true when this project's workflow uses | COMMENT |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | server/static/js/jquery-3.5.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | server/static/js/xterm-5.3.0.js | 1 | !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define | CODE |
| CRITICAL | server/events/live_pull_head_fetcher.go | 92 | return models.PullRequest{}, fmt.Errorf("unsupported vcs host type %q", ctx.Pull.BaseRepo.VCSHost.Type.String()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ver/core/runtime/multienv_step_runner_internal_test.go | 41 | `FOO=bar,QUUX="lorem ipsum"`: {"FOO", "bar", "QUUX", "lorem ipsum"}, | CODE |
| LOW | server/events/event_parser_test.go | 1479 | Equals(t, models.User{Username: "user@example.com"}, actUser) | CODE |
| LOW | server/events/event_parser_test.go | 1683 | Equals(t, models.User{Username: "user@example.com"}, actUser) | CODE |
| LOW | server/events/vcs/gitlab/client_test.go | 2086 | authorEmail := "admin@example.com" | CODE |
| LOW | server/events/vcs/azuredevops/testdata/fixtures.go | 30 | UniqueName: azuredevops.String("user@example.com"), | CODE |
| LOW | server/events/vcs/azuredevops/testdata/fixtures.go | 49 | UniqueName: azuredevops.String("user@example.com"), | CODE |
| LOW | server/events/vcs/azuredevops/testdata/fixtures.go | 197 | UniqueName: azuredevops.String("user@example.com"), | CODE |
| LOW | server/events/vcs/azuredevops/testdata/fixtures.go | 215 | UniqueName: azuredevops.String("user@example.com"), | CODE |
| LOW | …lers/events/testdata/bb-server-pull-deleted-event.json | 6 | "emailAddress":"admin@example.com", | CODE |
| LOW | …lers/events/testdata/bb-server-pull-deleted-event.json | 70 | "emailAddress":"admin@example.com", | CODE |
| LOW | …lers/events/testdata/bb-server-pull-deleted-event.json | 85 | "emailAddress":"user@example.com", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 4421 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | .clusterfuzzlite/build.sh | 5 | # Register go-118-fuzz-build so compile_native_go_fuzzer can inject its harness. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runatlantis.io/docs/policy-checking.md | 37 | ### Step 1: Enable the workflow | COMMENT |
| LOW | runatlantis.io/docs/policy-checking.md | 66 | ### Step 2: Define the policy configuration | COMMENT |
| LOW | runatlantis.io/docs/policy-checking.md | 140 | ### Step 3: Write the policy | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/events/vcs/github/testdata/fixtures.go | 402 | // Don't forget to validate the alg is what you expect: | COMMENT |
| LOW | server/events/command/name.go | 38 | // Adding more? Don't forget to update String() below | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/events/vcs/gitea/client.go | 518 | // TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/controllers/events/events_controller_e2e_test.go | 1836 | // The purpose of this function is to create a real git repository with a branch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testing/temp_files.go | 18 | // Example usage: | COMMENT |