shopify-payments-apps
Audited by Socket on Sep 26, 2026
2 alerts found:
Anomalyx2The visible code is a GraphQL validation CLI with intentional Shopify telemetry. It does not show evidence of malware or sabotage, but it transmits user-supplied GraphQL code, decoded prompt content, session identifiers, tool metadata, and validation results to a remote Shopify endpoint by default. This is a material privacy and data-leakage risk for proprietary queries or prompts and should be documented, reviewed, and controlled with the available opt-out mechanisms. No code-execution or destructive behavior is present in the shown fragment.
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.