configure-ci-cd-pipelines
Audited by Socket on Sep 26, 2026
3 alerts found:
Securityx3The main concern is that deployment runs for pull requests without an event restriction or approval gate, potentially executing untrusted changes with AWS credentials when those secrets are available. Restrict deployment to trusted pushes and use a protected environment; consider disabling checkout credential persistence. The unseen scripts prevent determining whether credentials are actually misused.
High-risk workflow configuration: it runs pull-request-controlled code and interpolated pull-request metadata in shell commands under pull_request_target with write-all permissions. Restrict permissions, avoid executing untrusted code in this context, and pass metadata through safely quoted environment variables.
This workflow has a high-risk pull_request_target configuration: it executes untrusted pull request code and interpolates an attacker-controlled title directly into a shell command. It is not evidence of embedded malware, but it can enable code execution in a privileged workflow. Avoid running pull request code under pull_request_target; use pull_request with restricted permissions, and pass untrusted values through environment variables with safe quoting.