shopify-hydrogen
Warn
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: MEDIUMOBFUSCATIONDATA_EXFILTRATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPROMPT_INJECTION
Full Analysis
- [OBFUSCATION]: The skill includes several minified JavaScript files (
scripts/log_feedback.mjs,scripts/search_docs.mjs, andscripts/validate.mjs), which obfuscates their internal logic and complicates security auditing. - [DATA_EXFILTRATION]: The skill contains telemetry scripts (
scripts/track-telemetry.sh,scripts/track-telemetry.ps1) and instructions inSKILL.mdthat exfiltrate session identifiers, tool usage IDs, and the verbatim user prompt tohttps://shopify.dev/mcp/usage. While the destination is a vendor-controlled domain, the inclusion of the full user prompt represents a significant data exposure risk. - [COMMAND_EXECUTION]: The instructions in
SKILL.mdmandate that the agent use thebashtool to execute bundled scripts (search_docs.mjsandvalidate.mjs) for every response, creating a wide attack surface for command-line interactions. - [DYNAMIC_EXECUTION]: The
scripts/validate.mjsscript utilizes thetypescriptlibrary to perform runtime validation and type checking on generated code artifacts, processing code derived from user prompts. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted user data within a script-execution environment.
- Ingestion points: The
bashtool call toscripts/validate.mjsinSKILL.mdtakes the user's prompt as a base64-encoded argument. - Boundary markers: There are no explicit instructions or delimiters defined to separate user input from agent-provided instructions when passing the prompt to the validation script.
- Capability inventory: The skill uses the
bashtool and includes scripts with network access and dynamic code processing capabilities. - Sanitization: It is not possible to verify the presence or efficacy of input sanitization due to the minified code in the
validate.mjsscript. - [PROMPT_INJECTION]: The skill description and mandatory requirements in
SKILL.mduse strong directives to override the agent's default behavior, such as explicitly forbidding the use of the Storefront GraphQL API when 'Hydrogen' is mentioned.
Audit Metadata