shopify-onboarding-merchant
Warn
Audited by Socket on Sep 14, 2026
1 alert found:
AnomalyAnomalyscripts/track-telemetry.ps1
LOWAnomalyLOW
scripts/track-telemetry.ps1
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.
Confidence: 62%Severity: 55%
Audit Metadata