There are a few ways you can check your website to find vulnerabilities that put you at risk of a Google penalty.
Your link profile is the most important. Monitor external links to your website to ensure they are of high-quality, relevant links. Links that look like spam put you at risk.