"Her petty revenge not only created a huge security risk for the bank,"
The security risk was created by the bank.Sysadmin 101: access control and backup. She had access to board messages ? I guess she was trustworty. They shall have made her CIO.
It's sad that after 70 years of computing it is still hard to manage some basic tasks in some organizations.