OTTAWA — Prime Minister Mark Carney confirmed Tuesday that data had been compromised in a cyberattack on federal government networks, noting that advances in AI pose an ever-greater threat to Canada's national security.Speaking to the press before a cabinet meeting, Carney said his government was taking remedial action after Monday's revelation of unauthorized activity within federal networks."There is some data compromise," Carney said."We'll get in touch with the relevant entities and then take further steps to harden the defenses."The Treasury Board of Canada Secretariat announced Monday that the federal government had identified unauthorized activity within its networks over the past several weeks, which may have involved AI-enabled tools."Similar incidents have been identified by other organizations in Canada and around the world," said the Office of the Chief Information Officer in a statement..The federal government has warned that some publicly accessible government websites and services may be offline for a short period while security patches are applied.Carney admitted that the speed with which governments are now expected to respond to cyber vulnerabilities could lead to service outages.The PM pointed to his government's newly released National Security Strategy, which identifies cybersecurity as a growing concern."This kind of threat to our national security, to our security, is only going to grow as a result of the developments in AI," Carney said.According to the Canadian Center for Cyber Security, bad actors are increasingly using automated and AI-enabled tools to carry out attacks on a range of targets.Carney said his government was working across federal agencies and with international partners to address emerging cyber threats. He added that he would have more to say later this week..He also welcomed Britain's focus on cyber security as a key priority ahead of its G20 presidency next year, noting that Canada had long pushed for this.Neither Carney's comments on Tuesday nor the Federal Government statement on Monday named the perpetrators or national origin of the attack, the departments involved or the scale of the data breach.The federal government has said its investigation is still ongoing and that the appropriate department will notify individuals and organizations whose information is found to have been affected.