white hat hacker; ethical hacker
A computer security expert who uses hacking skills for defensive purposes, such as finding vulnerabilities to fix them, often with permission.
Companies sometimes hire white hat hackers to find weaknesses in their systems.
As a white hat hacker, he has reported many security issues.