ship
Audited by Socket on Aug 10, 2026
2 alerts found:
Anomalyx2No direct evidence of overt supply-chain malware (e.g., credential theft, backdoor installation, or non-SCM exfiltration) is present in the visible fragment. However, the fragment includes a high-risk pattern: `eval` executes the output of an external helper (`$GSTACK_BIN/gstack-slug`) as shell code. If that helper output or helper resolution can be influenced/compromised, this could enable arbitrary command execution in the workflow context. Overall, treat this fragment as moderately to potentially significantly risky until the helper output is proven constrained/safe and the surrounding workflow sanitizes inputs like GSTACK_BIN, remote/branch targets, and metrics variables.
This module is not overtly malicious in the sense of executing shell commands, loading dynamic code, or performing network operations itself. However, it provides highly sensitive DEBUG functionality: (1) screenshot capture of the active UI and (2) deep accessibility-tree harvesting (labels/values/identifiers/frames) that could expose private user data, and (3) UI automation that can synthesize taps and type into the first responder. If any downstream transport exists (in DebugBridgeCore/Touch) that sends this data off-device, the privacy/exfiltration risk becomes significant. As written, risk is mainly tied to deployment context (debug builds) and whether the captured/command data is transmitted or controlled securely by callers.