Skip to content

Review backlog (security): Pre-existing inline ${{ inputs.* }} interpolation in run: blocks of merge/force-reset steps #593

Description

@hivecommons-hive

Filed from an out-of-scope finding in the Hive review of PR #544.

PR: #544
Perspective: security
Evidence: .github/workflows/reusable-sync-branches.yml:158
Severity: low

Merge (126-134) and Force-reset (151-164) steps still interpolate inputs.source_branch/target_branch directly into shell. Inputs come from the trusted caller workflow so exploitability is low, but the PR's new steps use env vars; migrating the remaining steps would make the file consistent and remove the injection surface.

Activity

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

    blockedWork is blocked on human input or an external dependency.from-reviewCreated by Hive for agent-filed issue provenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions