anthropic-claude-code-deploy
Audited by Socket on Sep 11, 2026
7 alerts found:
Securityx5Anomalyx2The fragment is configuration documentation, not malware. It contains no direct malicious payload or clear unauthorized data-exfiltration behavior. However, the examples present significant supply-chain and CI security risks: direct execution of an unpinned remote installer, mutable action references, broad token permissions, cloud identity permissions, and autonomous editing or command execution driven by potentially untrusted prompts. These should be mitigated with pinned and verified dependencies, least-privilege permissions, isolated runners, restricted tools, explicit approval for writes, and prompt-injection-aware workflow design.
No direct malware or intentional data-exfiltration behavior is evident in the supplied YAML. However, the workflows are high risk when used on public repositories because untrusted comments trigger jobs with write-capable GitHub tokens and short-lived AWS or Google credentials, without an early author-permission check. Restrict triggers to trusted contributors, add an authorization condition before checkout and credential steps, minimize permissions, pin actions to immutable commit SHAs, and isolate or review the Claude action's credential access.
The fragment is legitimate documentation for an AI-powered GitHub Actions integration and contains no direct evidence of malware or intentional data theft. It does describe a high-impact workflow: externally supplied comments can invoke an action with repository, issue, pull-request, and potentially cloud identity write permissions. Unpinned action and plugin references, broad permissions, arbitrary CLI/settings inputs, and third-party marketplace installation create meaningful supply-chain and authorization risks. Use least-privilege permissions, trusted and pinned action/plugin sources, controlled triggers, and narrowly scoped workflows.
The supplied fragment is security documentation, not malware. It contains no direct malicious implementation, but it describes high-risk operational choices: persisted authentication data, unrestricted --dangerously-skip-permissions execution, mutable latest-version installation, and elevated firewall capabilities. Use of these options should be limited to isolated containers, avoid mounting host secrets, pin dependencies, and enforce network and volume controls.
The fragment does not itself show malware or intentional data theft, but it presents significant CI supply-chain and authorization risks. The highest-risk practice is piping an unpinned remote installer into bash, followed by granting an AI process Bash and GitLab write capabilities while accepting externally influenced prompts. Use a pinned and verified image/installer, least-privilege tokens, isolated runners, restricted tool permissions, controlled prompt sources, and mandatory review before merging changes.
The configuration is a legitimate CI integration, not clear malware. Its primary risks are execution of an unverified remote installer, broad autonomous AI permissions, and exposure to prompt injection from merge request or repository content. Restrict runner and token permissions, pin and verify the installer, avoid privileged or shared runners, narrow allowed tools and paths, and require review before applying changes or performing GitLab operations.
This is a legitimate-looking Claude Code GitHub Actions integration, not overt malware. It presents a meaningful security risk because untrusted comment text can trigger an AI agent with repository write access and access to a sensitive API credential, while the action is referenced by a mutable tag. Restrict triggering actors or require approval, minimize permissions, and pin the action to a reviewed commit SHA before production use.