“Our method will facilitate deepfake detection and tracing in real-world settings, where the deepfake image itself is often the only information detectors have to work with,” research scientists for Facebook Xi Yin and Tal Hassner wrote Wednesday.

The work was done in conjunction with Michigan State University.

Facebook’s new software runs deepfake images through its network. Their AI program looks for cracks left behind in the manufacturing process used to change an image’s digital “fingerprint.”