Is it a good idea to make WordPress theme repository public?

Could be a problem, if someone finds a potencial ways to hack into the theme and you use it afterwards on one of your sites.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)