Many of the applications for Mac are distributed in a PKG installation package. These installers are convenient because they are responsible for copying files to different system locations as well as modifying global configurations, operations impossible to perform simply by dragging an application to the applications folder.
However frequently installation files are offered from 3rd party vendors and not from the official Apple store. Installing such PKG files could be dangerous and that is why it may be necessary to check if they do not contain malicious content.
For this purpose, you can download an application called "Suspicious Package" for Mac that allows to open and inspect the PKG installer files before running it.
These are the steps you have to follow:
While all this is informative for any user, the tool is really designed to help advanced users find package files from questionable sources.
This program needs a recent version of MacOS or MacOS X.