Microsoft wants firmware development to follow the Firmware as a Service (FaaS) model. It has announced an open-source release of Project Mu, which allows UEFI development in a modular manner.
Apple is set to release macOS High Sierra later today and when it does it'll come with a new EFI checker utility to ensure that the firmware on your Mac has not been altered by malware.
Macs might seem like a safer alternative than PCs when it comes to digital attacks. But researchers have proven that's not actually the case when they created a firmware worm that infects Macs.