Iranian officials then confirmed the 31-year-old journalist is being held in Tehran 's infamous Evin prison , saying that she worked illegally in the country after her press credentials had been revoked .