Defines the security library to cover common patterns.