Konoha had somehow obtained such highly classified intelligence. That meant the spy buried in the Sand Village was either very capable or held a high position. Comparing the two, the former was more likely.
After learning the route the Sand Village's messenger would take, the Anbu chose to intercept and kill her at sea. This suggested that Konoha had likely already seen through the messenger's identity... The maritime environment would help restrict her abilities.
If Yuhara's guess was correct, the Sand Village's messenger was probably the kunoichi Pakura, who had earned the title of "hero" during the current war. As for the so-called restoration of communications between the Sand Village and the Mist Village, Konoha did not really need to care. The condition for peace between the former two was for Pakura to go to the Land of Water and die.
All one could say was that the conditions for peace between the two countries were absurd. Even more absurd was that the Sand Village had actually agreed to them. First, the Sand Village sent its hero to die; then the Hyuga sent Hizashi Hyuga to kill himself. The Kazekage and Hokage were truly a pair of hidden dragons and crouching phoenixes.
So, for Pakura, it did not really matter whether Konoha intercepted her or not. Even if she reached the Land of Water, she would still die. But Konoha certainly did not want to see the two countries achieve peace.
There was no need to discuss the war situation in the ninja world or the war strategies of the various countries. Simply put, they attacked both near and far. Two countries that could not have been connected by even eight poles on a map were at war with each other. Therefore, the safest approach for Konoha was: *I'll sign