experience-lwc-generate
Audited by Socket on Aug 7, 2026
1 alert found:
AnomalyThis module is a local LWC validation/diagnostics wrapper with no direct evidence of malware in the shown code (no network activity, credential access, or explicit dangerous primitives). The main security concern is supply-chain/control-flow risk: it dynamically selects a local LSP engine directory (including a user-home path) and then alters sys.path to import lsp_client without integrity/ownership verification, enabling import hijacking if that directory can be tampered with. It also writes retry state to a fixed temp JSON file and prints file paths/diagnostic messages to stdout. Overall risk is moderate and largely depends on trustworthiness of the discovered lsp-engine contents and lwc_wrapper.sh.