The federal government says hackers who appear to be using artificial intelligence tools have been inside its computer networks for several weeks, and it is warning that some public websites and services may go offline while it patches its systems.

In a statement issued Monday evening, the Office of the Chief Information Officer of the Government of Canada said it had “detected unauthorized activity within its networks that appears to be the result of malicious cyber threat actors using AI-enabled tools.”

“To protect against these attacks, the Government of Canada may temporarily take some public facing web pages and services offline as a precaution while security patches are applied,” the statement said.