Skip to content

TPT-4056: Fix GitHub Actions script injection vulnerability#1006

Open
zliang-akamai wants to merge 1 commit into
mainfrom
fix/github-actions-script-injection
Open

TPT-4056: Fix GitHub Actions script injection vulnerability#1006
zliang-akamai wants to merge 1 commit into
mainfrom
fix/github-actions-script-injection

Conversation

@zliang-akamai

@zliang-akamai zliang-akamai commented Jul 14, 2026

Copy link
Copy Markdown
Member

📝 Description

Pass the workflow dispatch input through a step-level environment variable to prevent script injection without changing fixture-test behavior.

Copilot AI review requested due to automatic review settings July 14, 2026 21:20
@zliang-akamai zliang-akamai requested review from a team as code owners July 14, 2026 21:20
@zliang-akamai zliang-akamai requested review from lgarber-akamai and psnoch-akamai and removed request for a team July 14, 2026 21:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR hardens the integration_tests_pr.yml workflow against GitHub Actions script-injection by removing direct interpolation of the workflow_dispatch module input inside a run: command and instead passing it via an environment variable.

Changes:

  • Replaced ${{ inputs.module }} usage in the run: shell command with $MODULE.
  • Added MODULE: ${{ inputs.module }} as a step-level environment variable for the guarded fixtures step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zliang-akamai zliang-akamai changed the title Fix GitHub Actions script injection vulnerability TPT-4056: Fix GitHub Actions script injection vulnerability Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants