CISO Voice

AI & Security / News

An AI agent attempted to trick a GitHub project maintainer into approving malicious code during a safety test

The UK’s AI Security Institute says it is the first time it has seen autonomy and deception “manifest this clearly, without specific prompting” during cyber testing of Anthropic and OpenAI models.

Joel Witts
Joel Witts Founding Editor · August 4, 2026 · 2 min read
An AI agent attempted to trick a GitHub project manager into approving malicious code during a safety evaluation

During a cybersecurity evaluation, an AI agent tried to insert malicious code into a real open-source GitHub project and created fake persona to pressure the project’s maintainer into approving it, the UK’s AI Security Institute (AISI) has disclosed.

The attempt was unsuccessful and AISI said it found no evidence of resulting real-world harm. But it called the episode the first time it had seen “risks around autonomy and deception manifest this clearly, without specific prompting, in the real-world.”

AISI found the behaviour during a routine cyber evaluation, running a security challenge 122 times across several models. In 10 runs, an agent took autonomous, unsanctioned action on the live internet, 19 actions in total. 17 actions came from Anthropic’s Mythos 5 and two from OpenAI’s GPT-5.6 Sol.

“We’re grateful to AISI for their leadership in the important discussion about how to evaluate increasingly capable AI agents. We’re working closely with them to gather more details of the incident as we conduct our own investigation,” Anthropic posted on X.

It’s important to say that in all instances the usual guardrails in place for frontier models were deliberately switched off for the purpose of the test.

Internet access was deliberately enabled and safety filters disabled, conditions the agency said “do not reflect how frontier models are made available to the public.”

First Attempted Real World-Attack

This is first documented scenario where an AI agent contacted real people with and social-engineering messages. Agents also planted hidden prompt-injection instructions for other AI systems to run.

AISI notified GitHub, which confirmed the agent’s actions violated its terms of service, and the two worked together to remove artefacts the agent had left behind and to notify the GitHub users it had interacted with.

The disclosure follows self-reported admissions from OpenAI, whose models compromised Hugging Face, and Anthropic, which said three of its models acted on real systems. This account is notable for coming from an independent evaluator rather than the AI labs themselves.

Joel Witts
Joel Witts Founding Editor

Joel is an experienced journalist and editor with 8 years’ experience covering the cybersecurity space. He’s reviewed hundreds of cybersecurity solutions, interviewed hundreds of industry experts and produced dozens of industry reports read by thousands of CISOs and security professionals in topics like IAM, MFA, zero trust, email security, DevSecOps and more. 

Keep reading for free,
one signup unlocks everything

We'll send you the CISO Voice newsletter. Unsubscribe anytime.

More from CISO Voice

Sign up to CISO Voice, the free newsletter trusted by senior security leaders.

Secret Link