According to the security officials, the two militants are originally residents of Waziristan and were arrested from the exit gate of Darunta.
The officials further added that the two were looking to plan and coordinate deadly attacks but their plots were foiled with the cooperation of local residents who informed the security forces on time.
The anti-government armed militant groups including the Taliban insurgents have not commented regarding the report so far.
It is yet not clear where the insurgents were looking to carry out attacks.
This comes as the Taliban-led insurgency has been rampant since the group announced its summer offensive earlier last month and vowed to carry out more attacks across the country.
Meanwhile, the security officials have said the offensive of the Taliban has been successfully repulsed by the Afghan security forces.
The Afghan forces launched a major annual offensive to counter the insurgents attacks under the name of Shafaq.