design-to-code-fidelity
Audited by Socket on Sep 18, 2026
2 alerts found:
Anomalyx2The code is a readable browser screenshot utility and contains no clear malicious payload or covert data exfiltration. It does expose significant capability by design: arbitrary navigation can reach internal services, optional storage state can carry authenticated cookies, INIT_SCRIPT enables arbitrary page-context execution, insecure HTTPS can be enabled, and the output path is unrestricted. These risks depend on who controls the command arguments and environment. It should not be exposed as an unrestricted remote service without URL/network, credential-state, script, and filesystem controls.
No clear malicious behavior or supply-chain backdoor is present. The script performs its stated Figma export function, but it has security weaknesses: the Figma token can appear in the curl process command line, node IDs may enable output-path traversal, and API-provided download URLs are not host or scheme validated. These issues should be fixed by passing the token through a protected curl configuration mechanism, validating node IDs and resolving output paths within the intended directory, and restricting downloads to expected HTTPS Figma hosts.