encapsulate vulnerability check code