Protect biometric security from deepfakes and other types of fraudulent digital imagery by detecting injection attacks, which pose a vulnerability where hardware and software hacks are used to bypass a proper capture process. Without countermeasures, fraudsters can emulate camera capture with non-live digital facial imagery in a way that can defeat certain liveness detection measures.