Mossad Chief Yossi Cohen paid a secret visit to Egypt earlier this week and met with high-ranking Egyptian officials, The New Arab has reported, citing sources close to the Egyptian government.

Abbas Kamel, chief of Egypt’s General Intelligence Directorate, was said to have taken part in the meeting, as did Foreign Minister Sameh Shoukry.

Cohen’s trip is said to be connected to Israel’s plans to apply sovereignty to large swathes of the West Bank territories beginning July 1, with the intelligence chief said to have gauged possible reactions to the decision from Palestinian actors, including Hamas.

According to the paper’s source, the two sides discussed the possibility of events “going out of control” and the dangers of a violent reaction amid the Palestinians.

The Egyptian side is said to have conveyed Cohen’s comments to Jordanian officials. Jordanian Prime Minister Omar al-Razzaz threatened to reconsider his country’s relations with Israel over its West Bank annexation plans last week, stressing that Amman would “not accept unilateral Israeli moves to annex. In addition,  King Abdallah II warned that the move would lead to a “massive conflict with Jordan,” and mean a possible end to the 1994 Jordanian-Israeli peace treaty.

Egyptian officials have yet to comment on the plans. Egypt and Jordan are currently the only Arab countries which recognize the state of Israel, with Lebanon, Syria, Iraq, Saudi Arabia and the Gulf countries, as well as Libya, refusing to do so.

Palestinian Authority President Mahmoud Abbas announced last week that East Jerusalem would no longer be bound by agreements with the US and Israeli governments, “including those related to security” amid Israel’s “annexation plans.”