Hull Crown Court heard that the security breach could have had "severe and devastating consequences"