CHIPSEC is a framework for analyzing security of PC platforms including hardware, system firmware including BIOS/UEFI and the configuration of platform components. It allows creating security test suite, security assessment tools for various low level components and interfaces as well as forensic capabilities for firmware
more here.....https://github.com/chipsec/chipsec
more here.....https://github.com/chipsec/chipsec