As per banks, ATMs are secure and your account is in trustworthy hands. But this is a myth promulgsted by banks. This was true a decade ago, but with the advance in technology your funds in the bank can disappear thtough ATMs. Technology is now available such as skimming, remote cameras etc. to steel your Card details, PIN etc. whereby criminals can get your card details and PIN numbers without your knowledge.
According to banks(as printed in their brochure) your accounts are secure "if card details acd PIN numbers are not disclosed". This is absolutely incorrect. You could lose all your investment overnight through fraud at ATMs. If you want to know more about this go to https://google.com, enterATM fraud in the search column and pressEnter key. You can see the worldwide fraud at ATMs. Technology for preventing this is available, but the banks still insist that your funds are secure "if Card details and PIN number are not disclosed".
This is just a myth spread by banks. People have lost huge amounts from ATMs. So be very careful and alert in use of ATMs. May be the banks will wake up one of these days. Most ATMs dont even have guards, CCTV or burglar alarms. "Prevention is better than cure".