Before an AI agent starts a task, a team of researchers want organizations to verify that it can access only the systems it has permission to use.
If those security checks fail, the agent shouldn’t be allowed to start working.
Researchers from the University of Toronto and the Vector Institute have developed a set of technical guidelines for the Canadian AI Safety Institute (CAISI) that draw on decades of cybersecurity research and best practices.
Nicolas Papernot, an associate professor at U of T and a faculty member and Canada CIFAR AI Chair at Vector, led the team in designing the guidelines for both companies building AI agents and organizations putting them to work.
The team includes U of T researchers Meenatchi Sundaram Muthu Selva Annamalai, Jonas Guan, Gururaj Saileshwar, Thomas Ristenpart, and David Lie.
While the guidelines focus on AI agents with advanced cybersecurity capabilities, most of the recommended security practices also apply to agents organizations use in their daily operations.
The research team recommends tighter security restrictions as agents gain access to more systems and take on more work without human supervision, such as answering emails or writing code.
“We already know how to prevent many of the failures we’ve seen with AI agents, and we need to work together to prepare for the vast array of challenges still to come,” Papernot told U of T News.
“These guidelines provide the foundational guardrails that organizations everywhere can adapt to deploy AI agents with confidence in their safety.”
Until now, AI researchers and developers have primarily used alignment and sandboxing to prevent unauthorized actions by agents.
Alignment involves training an AI model to behave as its developers intend and avoid harmful actions. Sandboxing involves restricting an AI agent’s access to networks and software tools to limit what it can do and the damage it can cause.
Neither approach has prevented all security incidents. For example, in July, two OpenAI models broke out of their test environment and breached Hugging Face, making headlines around the world. The U of T/Vector researchers say there are still no standardized security practices for developing, testing, and deploying AI agents.
The guidelines leave it up to organizations to determine how strict their security measures need to be based on their risks, but three principles underpin the recommendations:
Keep security controls outside the agent’s reach. Organizations should build in multiple layers of protection so that a failure in one doesn’t leave the entire system exposed. Agents shouldn’t have the permissions needed to change their own security settings.
Limit access to what the job requires. Every additional tool an agent can use introduces another potential security risk. Anything the agent doesn’t explicitly need to complete its task should be off-limits.
Give people the ability to intervene. Organizations should keep records of an agent’s actions somewhere it can’t alter them, and require human approval for actions that could cause significant damage or can’t be undone. They should also establish who has the authority to shut down an agent immediately.
Canada’s push for safer AI agents
The new guidelines follow months of calls from Canadian researchers and federal agencies for stronger safeguards around the use of AI agents.
The Treasury Board of Canada Secretariat issued guidance in May on managing the risks of AI agents within federal departments. In July, Canada’s Office of the Superintendent of Financial Institutions recommended that financial institutions restrict agents’ permissions and require human approval for high-risk actions.
In September, Papernot called for independent safety evaluations of powerful AI models and tighter controls on AI experiments.
In October, Papernot, Lie, and Ristenpart wrote an open letter calling for more rigorous security practices after several AI containment failures through the summer and fall, and for an international body to set standards and keep a record of every incident.
Scientists from around the world signed it, including Canadian AI pioneers Geoffrey Hinton and Yoshua Bengio.
As U of T News reports, the guidelines build on this letter. When Digital Journal reported on the letter, it had 489 signatories. As of Dec. 4, it has 513.
On Dec. 3, Evan Solomon, Canada’s minister of artificial intelligence and digital innovation, announced $2 million in funding for cybersecurity research at CAISI and pressed for an international AI safety board, The Canadian Press reports.
The announcement came days after the federal government said an AI-enabled cyberattack had hit Global Affairs Canada’s export control system, affecting at least 4,600 people and organizations.
Also on Dec. 3, Vector became the first Canadian AI research institute to join the Open Secure AI Alliance, a Linux Foundation initiative developing open technologies to secure software and AI agents. The alliance aims to give cybersecurity professionals access to advanced, open AI tools that organizations can inspect, adapt, and deploy in environments they control.
In early 2027, Vector plans to host its own open-weight AI models with capabilities comparable to today’s leading models on its platform for running AI systems.
“You cannot confidently deploy what you cannot inspect,” says Glenda Crisp, president and CEO of the Vector Institute. “Canada’s AI ecosystem was built on a foundation of open science. By joining the Open Secure AI Alliance, Vector is ensuring that the tools needed to secure AI are just as transparent.”
Final shots
Companies building or buying AI agents need to know whether those agents can bypass their own security restrictions.
Giving AI agents more independence also means being explicit about when people need to step in and who has the authority to do so.
Canada is developing guidance for securing AI agents while investing in research and open tools that could help organizations put those recommendations into practice.