LPS-37550 Applying the security pattern developed in LPS-34098 to plugins