Add a security patch to check fields for validity.