shopify-development
Pass
Audited by Gen Agent Trust Hub on Jun 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/shopify_init.pyscript usessubprocess.runto execute theshopify versioncommand. This is used to verify that the Shopify CLI is installed on the host system before proceeding with project initialization. The command uses a hardcoded list of arguments and does not invoke a shell. - [EXTERNAL_DOWNLOADS]: The documentation in
SKILL.mdandscripts/requirements.txtrecommends the installation of@shopify/cliand@shopify/themevia npm or Homebrew. These are official tools provided by Shopify for development purposes. - [DATA_EXPOSURE]: The
EnvLoaderclass inscripts/shopify_init.pyis designed to search for.envfiles in the current skill directory and its parent directories (including standard AI tool paths like.agent/or.claude/). This allows the script to load configuration from the surrounding project environment but involves accessing files outside the skill's own directory. - [PROMPT_INJECTION]: The
ShopifyInitializerinscripts/shopify_init.pyaccepts user input for project names and access scopes, which are then used to create directories and write configuration files likeshopify.app.tomlandpackage.json. - Ingestion points: User input provided via the
input()function in thepromptmethod ofscripts/shopify_init.py. - Boundary markers: None identified for user-provided strings during interpolation into file templates.
- Capability inventory: The script utilizes
pathlib.Path.mkdirto create directories andpathlib.Path.write_textto generate project files. - Sanitization: The script does not perform sanitization on the
app_nameorextension_namevariables before using them in path construction, which represents a potential surface for path traversal if malicious input (e.g.,../name) is supplied.
Audit Metadata