The Mac and iPhone exploits described in new documents attributed to the U.S. Central Intelligence Agency were patched years ago, according to Apple.

WikiLeaks released a new set of files Thursday that supposedly came from the CIA. They contain details about the agency’s alleged malware and attack capabilities against iPhones and Mac computers.

The documents, dated 2012 and earlier, that the CIA can install in the low-level extensible firmware interface (EFI) of Mac laptop and desktop computers. These EFI rootkits allow the agency’s MacOS spying malware to persist even after the OS is reinstalled.

According to WikiLeaks, the documents also describe an implant that the CIA can load onto factory-fresh iPhones through “interdiction” — the interception and manipulation of electronics shipments on their way to the final buyer.