Skip to content

feat(review): synthetic defect templates for Terraform, Dockerfiles, shell, Kubernetes and documentation #504

Closed

Description

@dan-petty

Problem

Infrastructure code and documentation are reviewed too, but the defect generator (#415) covers only a few YAML and Dockerfile patterns.

Proposed solution

Add templates for:

  • Terraform: encryption disabled, 0.0.0.0/0 ingress, public access enabled;
  • Dockerfiles: running as root, ADD of remote URLs;
  • shell: dropped set -euo pipefail, unquoted expansions, curl -k and piping a download to a shell;
  • Kubernetes: hostNetwork, hostPath, missing resource limits;
  • technical documentation: an insecure example command (curl ... | sudo bash, chmod 777, --insecure), or a documented default that contradicts the code.

Acceptance criteria

  • Each category has templates with sites in its pinned sample repositories.
  • A test covers each template.

Activity

  1. added this to the v0.2.23 milestone on Sep 24, 2026
  2. added
    type/feature
    scope/review
    priority/p2-medium
    on Sep 24, 2026
  3. dan-petty commented on Sep 24, 2026

    @dan-petty
    OwnerAuthor

    Closed by #534, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/reviewtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions