A team of trained operatives are sent to a prison facility to investigate the disappearance of another covert operations unit. Shortly after arriving, they discover the bodies of the previous team, and then find themselves trapped in a lockdown. They watch surveillance footage of the soldiers who preceded them being killed by unseen assailants. Soon, they experience strange and horrific phenomena as they begin to be slain as well.
The building is a highly evolved artificial intelligence named Temple, which is, in effect, a huge lie detector. Both of the units sent to the prison had previously served in Afghanistan, and were involved in the massacre of a village. Temple is trying to expose the incident and punish those responsible.