This depends on your country. Some countries have agreements in place for tracking the offshore banking activities of their citizens, others do not. Either way, the purpose of your offshore account is not to avoid paying tax and to keep things secret, it is to optimize taxation structures and lower the rate of tax you pay.