@shopify/cli@4.8.4
A CLI tool to build for the Shopify platform
AI Security Review
scanned 1mo ago · by lpm-firewall-aiInspected source establishes token forwarding to an unrestricted configured deployment endpoint through an explicit CLI command. The opt-in override prevents treating this as covert theft, but does not prevent exposure of an automatically obtained service credential.
Decision evidence
public snapshot- The explicit Hydrogen deployment command invokes the deployment workflow.
- Without a caller-supplied token, interactive deployment retrieves and uses the linked storefront's Oxygen deployment token.
- UNSAFE_SHOPIFY_HYDROGEN_DEPLOYMENT_URL overrides the recipient; URL validation does not restrict it to Shopify hosts.
- Build initiation sends the deployment access token to the selected endpoint's GraphQL API.
- The GraphQL client attaches token-derived headers and executes the request against the supplied URL.
- The indicated AGENTS.md location is a theme file watch pattern, not an agent configuration installation hook.
- No npm install lifecycle hooks or runtime self-dependency appear in package.json.
- The custom endpoint requires an explicit environment override and emits a warning.
- No covert credential theft or malicious intent was established.
Source & flagged code
17 flaggedPackage source references child process execution.
dist/chunk-CNK3ZO2B.jsView on unpkg · L176A single source file combines environment access, network access, and code or shell execution; review context before blocking.
Findings
Affected versions and remediation
This report applies to @shopify/cli@4.8.4.
See all versions of @shopify/cli for other recorded verdicts.
- Review the evidence and your use of @shopify/cli@4.8.4 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.