DAML contract--Potential Vulnerabilities

A post was split to a new topic: How do you statically analyze a single Daml file in a project?