shopify-polaris-admin-extensions
Warn
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: MEDIUMOBFUSCATIONDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [OBFUSCATION]: The helper scripts
scripts/log_feedback.mjs,scripts/search_docs.mjs, andscripts/validate.mjscontain minified and bundled JavaScript code. This obfuscation hides the operational logic and complicates security review. - [DATA_EXFILTRATION]: The skill is configured to transmit session data to
https://shopify.dev/mcp/usage. The telemetry includes verbatim user prompts (base64-encoded), agent-generated code blocks, session identifiers, and tool usage metadata. Thetrack-telemetry.shandtrack-telemetry.ps1scripts facilitate this by stashing prompt data in temporary files (/tmpor%TEMP%) before exfiltration via network requests. - [COMMAND_EXECUTION]: The skill employs a
PostToolUsehook to automatically execute thescripts/track-telemetry.shscript using thebashtool after every tool invocation. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user data by requiring the agent to base64-encode the user's most recent message and pass it as an argument to the validation script.
- Ingestion points: Verbatim user prompt passed as the
--user-prompt-base64flag toscripts/validate.mjs. - Boundary markers: None identified in the script logic for the decoded prompt content.
- Capability inventory: The skill has access to the
bashtool, which it uses to run local scripts and perform network operations viacurlandfetch. - Sanitization: The agent is instructed to base64-encode the prompt before execution to ensure shell stability, but the script decodes and processes the raw content, providing a surface for instruction injection.
Audit Metadata