Secure Code Scanning

Hi, I was wondering if anyone has implemented anything for secure code scanning? (i.e. scanning code written in the platform, using tools like code repositories, to scan for sensitive things like keys, passwords etc).