Mossad isn’t all powerful. Though they like to cultivate that idea. But the incompetence of mid-east peoples with mechanics and technology is endemic. If you rely on Allah to guide your dry dock ship chocks you are bound for disappointment.
They don't rely as much on local turncoats to gather intel, as was seen when the Iranian nuke program records were raided and shown to the world in a press conference in Israel.
But they also rely on turncoats. And of course, sometimes the despotic neighbors merely claim that someone they're about to execute was a Mossad spy, and it's probably BS. But even that helps them look invincible. How did they recruit *him*?!? Heh...
One of their all-time masterpieces what the hit of that PLO terrorist in Dubai I think it was. Big team, nearly 20 people in the job, apparently all were present during the execution, and instead of garotte wire, the operatives smothered him with the hotel room pillow, which must have taken a while to do. Then they all left the hotel, left the country, and left nothing but a bogus paper trail. And that terrorist didn't even work for the Washington Post.