Skip to content

feat(review): synthetic defect templates for TypeScript, Go, Rust, Java, C# and C/C++ #503

Closed

Description

@dan-petty

Problem

The synthetic defect generator (#415) injects defects into Python, YAML and Dockerfiles only, so recall cannot be measured on other languages.

Proposed solution

Templates for TypeScript/JavaScript, Go, Rust, Java, C# and C/C++, following the same ideas per language:

  • dropped guards (if (...) throw / return err / panic);
  • dropped await or error checks (Go's if err != nil);
  • disabled TLS verification (rejectUnauthorized: false, InsecureSkipVerify: true, danger_accept_invalid_certs(true), a trust-all certificate callback);
  • widened file permissions;
  • for C/C++, removed bounds checks and bounded string functions replaced with unbounded ones.

Guard removals must remove a complete, balanced block, so the code stays well formed.

Acceptance criteria

Activity

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

    @dan-petty
    OwnerAuthor

    Closed by #533, 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/p1-highscope/reviewtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions