The current logic of the CDPVault, allows for liquidations to be processed via two different functions. However, these functions do not protect honest users that are trying to ensure the protocol is always safe; in the sense that a tech savvy user can just front run other honest users attempt at liquidating and steal their rewards.
QA. This is a quite popular design logic, but some protocols consider a commit-reveal scheme.
Consider implementing a commit-reveal scheme for liquidations.
