figma-ops
Warn
Audited by Socket on Sep 28, 2026
1 alert found:
AnomalyAnomalyscripts/emit-placement.mjs
LOWAnomalyLOW
scripts/emit-placement.mjs
The code is a placement-script generator with no evident malicious behavior. However, plan-supplied canvas dimensions and placement coordinates are emitted as raw JavaScript, allowing code injection into the generated script if an untrusted plan is processed and the output is executed. Validate these fields as finite numbers before emission.
Confidence: 98%Severity: 62%
Audit Metadata