Salesforce Decode
Salesforcedecode
LWC questionsQuestion 116 of 168
LWCExpertCode Reviewsecuritylockerthird-party

Review use of eval and dynamic script injection in third-party LWC wrapper

Scenario

Vendor wrapper LWC loads analytics script via dynamic script tag and parses JSON config with Function constructor; security review flags before AppExchange submission.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.