Finds the dangerous leaks, not the harmless ones
It catches a secret key shipped in your front-end code (a Stripe secret key, an AWS key, a service-role database key), the kind anyone can read with view source. A publishable key that is meant to be public is never flagged, because hiding it was never the point.