embedding-ft
Audited by Socket on May 17, 2026
2 alerts found:
AnomalySecurityThe workflow presents a pragmatic, low-retry design emphasizing determinism and safety but introduces a notable dynamic invocation risk through contentFunction supplied by the payload. Without strict whitelisting and sandboxing of contentFunction, there is a medium-to-high risk of code execution or unintended side effects. Atomicity concerns and shutdown-race handling also warrant explicit transactional boundaries and better visibility. Overall, the design is not malicious but requires stronger input validation, function governance, and robust observability to mitigate data integrity and security risks.
SUSPICIOUS. The purpose is coherent, but the execution model is higher risk than necessary: a mutable npm-delivered CLI receives API credentials, and the optional local CLI override further weakens trust boundaries. Data flow to Supabase is plausible for the stated task, yet install trust and credential forwarding are not well constrained.