...In early April, after a presidential election, the government of Costa Rica (B2 stable) suffered a cyberattack by the Conti ransomware group. The attack significantly affected key government agencies, disabling access to digital government services and operations. In addition, the government suffered another cyberattack in May by the HIVE ransomware group, which severely affected the country's publically run healthcare system. In this report, we asses the impact of these events and the government's response, drawing conclusions about the potential implications for Costa Rica's credit profile. + How did the cyberattacks affect Costa Rica's fiscal accounts? The government temporarily lost its ability to digitally collect and verify tax payments from both individuals and businesses, digitally process import duties and forms, and track general revenues and expenditures. We expect the fiscal deficit to remain close to our forecast of 4.8% of GDP, with risks to the downside. By year-end 2022,...