ci-review
Audited by Socket on Sep 14, 2026
2 alerts found:
Securityx2No direct malicious behavior or obfuscated payload is evident in the supplied workflow. It implements an intended AI-assisted review and optional auto-merge process. However, it presents a significant supply-chain risk because a privileged Claude Code session is given Bash access while processing pull-request-controlled files and instructions, and the workflow has write permissions plus authority to merge and delete branches. The unreviewed ci-review-verdict.sh script and the trustworthiness of the configured API gateway are important unresolved dependencies. Restrict fork execution, minimize permissions, avoid Bash for untrusted PR review, pin third-party actions to immutable SHAs, and require independent protected-branch checks before merge.
The fragment is an automation workflow rather than evident malware, but it presents a significant CI supply-chain risk. The unpinned `curl | bash` installer and Claude Code's Bash access while following repository-controlled instructions can enable arbitrary command execution in the runner, potentially exposing CI credentials or altering the repository and MR. Automatic merging and source-branch deletion increase impact. Pin and verify the Claude installer or package version, isolate review execution, avoid granting Bash where possible, restrict token permissions, and review the omitted verdict script before enabling automatic merge.