Officials have raised concerns over potential threats from Pakistan-based terror groups aiming to spark communal unrest.