expo-router-screenshots
Audited by Socket on Mar 1, 2026
1 alert found:
AnomalyThe code is a legitimate-sounding screenshot-and-upload utility, not obviously obfuscated or packed with classic malware primitives. However, it implements an unconditional exfiltration capability: arbitrary pages accessible to the runtime can be captured and uploaded to a hard-coded third-party endpoint without authentication, consent, or destination configurability. In contexts where the runtime can access internal resources or authenticated sessions (CI runners, developer machines, servers), this creates a meaningful privacy and supply-chain risk. Recommended mitigations: remove or make upload endpoint configurable, require explicit consent or authentication before uploading, whitelist allowed target hosts, validate URLs to avoid internal IP ranges, and avoid running this script in privileged/CI environments without review.