UPD: it’s recommended to check the Monalize tool as for the automated way of issues finding https://medium.com/mongodb-cowboys/quick-scan-tool-mongodb-monalize-22888e41b1fa