@shopify/cli@4.8.2
A CLI tool to build for the Shopify platform
AI Security Review
scanned 1mo ago · by lpm-firewall-ai@shopify/cli 4.8.2 is a user-invoked Shopify command-line tool with no install lifecycle scripts. The process, file, compiler, and telemetry primitives in the required bundles match that CLI and do not form a concrete attack.
Decision evidence
public snapshot- package.json names @shopify/cli 4.8.2, exposes the shopify bin at bin/run.js, and its scripts are only nx build, lint, and test with no preinstall, install, or postinstall.
- dist/chunk-ESTXKKAB.js is the bundled React 19.2.4 runtime used by the CLI interface.
- dist/chunk-W6ST525S.js is bundled oclif core that imports node:child_process spawn and filesystem helpers for CLI command execution.
- dist/chunk-D7S4HEQE.js defaults CLI OpenTelemetry to https://otlp-http-production-cli.shopifysvc.com, overridable by environment, which is the Shopify CLI telemetry host.
- dist/chunk-26LLUNJJ.js contains the shopify-app-doctor rules that inspect a local app project when that CLI feature runs.
- dist/morph-BMYYMQNX.js embeds the TypeScript 5.2.2 compiler.
- dist/chunk-5LGEBELU.js reads a caller-specified local .env file and errors if that file is missing.
- dist/chunk-TR4OWSEX.js vendors the ejs 3.1.10 template compiler used by the CLI framework.
- Environment helpers read a MAC address and CI metadata for CLI context and telemetry.
- The app doctor reads local source and env-like files inside the project the user points it at.
Source & flagged code
17 flaggedPackage source references child process execution.
dist/chunk-ESTXKKAB.jsView on unpkg · L237A 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.2.
See all versions of @shopify/cli for other recorded verdicts.
- Review the evidence and your use of @shopify/cli@4.8.2 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.