How to inspect and validate a deb package before installation?
try apt-cache show
You'll get a lot of metadata (Maintainer, Original Maintainer, Depends, MD5) but maybe not all you're looking for.
https://askubuntu.com/questions/642665/how-to-inspect-and-validate-a-deb-package-before-installation