figma-core-workflow-b
Warn
Audited by Socket on Sep 9, 2026
1 alert found:
AnomalyAnomalyreferences/download-exported-images.md
LOWAnomalyLOW
references/download-exported-images.md
The code implements a plausible image-export workflow and shows no direct indicators of malware. However, deriving a filesystem path from unsanitized nodeId values creates a potential path traversal and arbitrary file overwrite vulnerability if nodeIds are attacker-controlled. The implementation should validate node IDs, sanitize filename components, resolve and verify that the final path remains under outputDir, and validate fetch responses before writing.
Confidence: 98%Severity: 68%
Audit Metadata