Pakistan says it has tightened security around all its nuclear facilities following a surge of militant attacks within its borders .