Microsoft Attack Surface Analyzer

Attack Surface Analyzer (updated) announcement here;

Announcing the all new Attack Surface Analyzer 2.0
Attack Surface Analyzer 2.0 can help you identify security weaknesses introduced when installing software on Windows, Linux, or macOS.

Download here;

Download Attack Surface Analyzer 2.0 from Official Microsoft Download Center

and best of all the repo can be found here;

microsoft/AttackSurfaceAnalyzer
Attack Surface Analyzer can help you analyze your operating system’s security configuration for changes during software installation. - microsoft/AttackSurfaceAnalyzer