This code is the implementation of the paper "AdvFAS: A robust face anti-spoofing framework against adversarial examples".