The Delhi police has averted a massive terrorist attack and arrested three persons with improvised explosive devices (IED).