I am sorry but isn't this already there?

You can use https://github.com/envato/envato-theme-check or https://github.com/WPTRT/theme-sniffer for WordPress.org