azure-pipelines-validator
Audited by Socket on Sep 15, 2026
2 alerts found:
Securityx2The configuration contains a high-risk remote code execution pattern: an external script is piped directly into bash on the main branch. The remote script is untrusted and unpinned, so the pipeline should not use this pattern. Download and review a pinned, verified artifact instead, or execute only a locally committed script with integrity controls.
This pipeline fragment is demonstrably unsafe: it hardcodes credentials, executes an untrusted network-fetched script via `curl ... | bash`, weakens file permissions with `chmod 777`, and undermines supply-chain determinism by omitting a Docker task version and using a mutable `:latest` image tag. No direct evidence of covert malware (exfiltration/backdoor) is present in the snippet, but the `curl | bash` flow provides a direct mechanism for arbitrary code execution on the CI agent, making it high-risk.