One of the gravest threats to national security in the present times is, the clandestine funding of extremism, said Court