shopify-polaris-customer-account-extensions
Audited by Socket on Sep 15, 2026
3 alerts found:
Anomalyx2Obfuscated FileThe fragment is primarily a legitimate Shopify CLI validation tool, with readable bundled/generated code and no clear malware, backdoor, destructive behavior, or dynamic code execution. However, it contains explicit telemetry that sends complete user-supplied component source, prompt content, session identifiers, and metadata to Shopify-controlled endpoints, with destination selection influenced by environment variables. This creates a material data leakage/privacy risk, especially when validating proprietary source or when environment configuration is attacker-controlled. The use of MINERVA_TOKEN in a staging Cookie header warrants operational review but is consistent with authenticated staging telemetry.
The supplied portion is an opaque binary or encoded blob rather than analyzable source code. It provides no direct evidence of malware, credential theft, exfiltration, or sabotage, but its embedded high-entropy payload cannot be assessed without the original bytes and surrounding decoding or execution logic. Treat as requiring further review rather than as confirmed malicious.
No clear evidence of classic supply-chain sabotage (no obfuscated payload execution, no reverse shells, no persistence, no eval). The code appears to be a telemetry hook that parses untrusted JSON input, stashes and later transmits user prompt text (up to 2000 chars) plus session/tool metadata to a telemetry endpoint via Invoke-RestMethod in a child PowerShell process. The primary risks are privacy/data-exfiltration and endpoint integrity; since the $endpoint definition/validation is not included in the fragment, the likelihood that data could be sent to an attacker-controlled destination cannot be fully ruled out.