LPS-37550

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