Hackers on Friday released documents and files that indicate the U.S. National Security Agency accessed the SWIFT interbank messaging system, allowing it to monitor money flows among some Middle Eastern and Latin American banks.

The release included computer code that could be adapted by criminals to break into SWIFT servers and monitor messaging activity, said Shane Shook, a cybersecurity consultant who has helped banks investigate breaches of their SWIFT systems.

The documents and files were released by a group called the Shadow Brokers. Some of the records bear NSA seals, but Reuters could not confirm their authenticity.