cloudflare-workers-cd-rollback
Fail
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
deploy.ymlworkflow downloads and executes a shell script from an external URL (cli.moonbitlang.com/install/unix.sh) by piping it directly tobash. This pattern lacks integrity verification and allows for arbitrary code execution from a non-trusted source.\n- [COMMAND_EXECUTION]: Thedeploy.ymlworkflow is vulnerable to shell command injection. Theinputs.messageparameter, which can be supplied by a user viaworkflow_dispatch, is interpolated directly into a bash script within arunblock (msg=\"${{ inputs.message }}\"). An attacker providing a message containing shell metacharacters (e.g., "; ; ") could execute arbitrary commands on the GitHub Actions runner.\n- [EXTERNAL_DOWNLOADS]: The workflow usesnpx -y @dotenvx/dotenvx@latest, which fetches and runs the latest version of thedotenvxtool at runtime without version pinning. This introduces a supply chain risk as the executed code is not verified against a specific hash or version.\n- [EXTERNAL_DOWNLOADS]: The workflows reference future, non-existent versions of standard GitHub Actions (e.g.,actions/checkout@v7,actions/setup-node@v7,actions/cache@v6) and Node.js (24). These references will cause the workflow to fail in standard environments and indicate significant configuration errors.
Recommendations
- AI detected serious security threats
Audit Metadata