Skip to content

fix: resolve GitHub Actions script injection vulnerabilities (S7630)#148

Merged
GitchalWoo merged 1 commit intomainfrom
fix/github-actions-script-injection
Feb 13, 2026
Merged

fix: resolve GitHub Actions script injection vulnerabilities (S7630)#148
GitchalWoo merged 1 commit intomainfrom
fix/github-actions-script-injection

Conversation

@bpolgar-swo
Copy link
Contributor

  • Fix ios-install/action.yml: use env vars for download_url, device_name, ios_version
  • Fix android-install/action.yml: use env vars for download_url, api_level, device_profile, arch
  • Fix ios-test/action.yml: use shell vars instead of ${{ env.* }} in run blocks
  • Fix ios-expo-and-test.yml: use env vars for client_id, device_name, build_mode
  • Scope workflow permissions to job-level for least privilege in:
    • android-build-and-test.yml
    • ios-build-and-test.yml

This addresses SonarCloud blocker issues by preventing shell command injection through user-controlled inputs in GitHub Actions run blocks.

- Fix ios-install/action.yml: use env vars for download_url, device_name, ios_version
- Fix android-install/action.yml: use env vars for download_url, api_level, device_profile, arch
- Fix ios-test/action.yml: use shell vars instead of ${{ env.* }} in run blocks
- Fix ios-expo-and-test.yml: use env vars for client_id, device_name, build_mode
- Scope workflow permissions to job-level for least privilege in:
  - android-build-and-test.yml
  - ios-build-and-test.yml

This addresses SonarCloud blocker issues by preventing shell command injection
through user-controlled inputs in GitHub Actions run blocks.
@sonarqubecloud
Copy link

@GitchalWoo GitchalWoo merged commit 597da8e into main Feb 13, 2026
8 checks passed
@GitchalWoo GitchalWoo deleted the fix/github-actions-script-injection branch February 13, 2026 10:13
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