White hat

A white hat is someone who researches security problems to improve security and achieve recognition with an exploit.