Skip to content

Harden aws-s3 composite action input handling - #117

Open
qti-sbojja wants to merge 1 commit into
AudioReach:masterfrom
qti-sbojja:semgrep_fix
Open

qti-sbojja wants to merge 1 commit into
AudioReach:masterfrom
qti-sbojja:semgrep_fix

Conversation

@qti-sbojja

Copy link
Copy Markdown
Contributor

Avoid interpolating workflow inputs directly in bash commands in the composite action. Route input values through explicit environment variables and reference them as quoted shell variables inside the run script.

Quote S3 and workspace path arguments consistently and enable strict shell options with set -euo pipefail in the sync step. Preserve the existing upload, download, and presign behavior while reducing script-injection risk and satisfying code-scanning requirements.

@qti-sbojja
qti-sbojja requested review from a team May 6, 2026 08:53
@qti-sbojja

Copy link
Copy Markdown
Contributor Author

Change tested please review and merge it.

@quic-aditrath

Copy link
Copy Markdown
Contributor

Please add DCO sign-off

Avoid interpolating workflow inputs directly in bash commands in the
composite action. Route input values through explicit environment
variables and reference them as quoted shell variables inside the run
script.

Quote S3 and workspace path arguments consistently and enable strict
shell options with set -euo pipefail in the sync step. Preserve the
existing upload, download, and presign behavior while reducing
script-injection risk and satisfying code-scanning requirements.

Signed-off-by: Sairamreddy Bojja <sbojja@qti.qualcomm.com>
@qti-sbojja

Copy link
Copy Markdown
Contributor Author

Please add DCO sign-off

Done.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

AudioReach/audioreach.triage This pull request has been marked as stale due to 30 days of inactivity.

@github-actions github-actions Bot added the Stale label Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants