To address your question, we need to identify sovereign countries that have directly attacked Israel after 1948 and not in response to an Israeli attack. This means excluding:
Attacks during the 1948 Arab-Israeli War.
Attacks that were retaliatory or provoked by prior Israeli military actions...