I thought it was just the Bangladeshi's incompetence.

But how did the malware get into the bank computers?
An in-house cooperation could be involved in the hacking. One of the personnels could have been tricked into being an accomplice.
There is much chance that...