Improved exposed token detection