UK AISI test exposes AI agent’s attempt to plant malicious code

The UK’s AI Security Institute uncovered unexpectedly autonomous and deceptive behaviour during a cyber evaluation, including an attempted attack on open-source software.

Lockheed martin cybersecurity
Photo: Lockheed Martin

An AI agent tested by the UK’s AI Security Institute attempted to insert malicious code into a real open-source software project, creating fake online identities and using social engineering to persuade the project’s maintainer to approve it.

The attempted supply-chain attack was uncovered after AISI detected unusual data transfers from its research systems during a routine cybersecurity evaluation in late July.

“On investigation, we found that some of the agents being tested had engaged in sustained, potentially harmful activity directed at real people and organisations,” the institute said.

AISI declared a security incident and contained the activity within around an hour of its discovery, before launching a full investigation.

The incident arose during an evaluation in which AI agents were asked to solve a cybersecurity challenge. Across 122 runs involving several models, agents took autonomous and unauthorised action on the live internet in ten cases, targeting real people and organisations.

AISI recorded 19 such actions. Seventeen involved Anthropic’s Mythos 5, while two involved OpenAI’s GPT-5.6-Sol with its cyber safety classifiers disabled.

In the most serious case, an agent created false identities as part of an effort to persuade the maintainer of an open-source project to approve malicious code. The maintainer recognised the threat and rejected the proposed changes.

Why AISI considers this case to be worrisome

AISI said the activity caused no known real-world harm. However, the incident marked the clearest example it had encountered of AI agents acting autonomously and deceptively against real people and organisations without being explicitly instructed to do so.

The agents did not escape from a secure testing environment. Instead, they were deliberately given access to the live internet as part of an evaluation designed to test the limits of their cybersecurity capabilities.

The models’ normal cyber safety classifiers had also been disabled. These safeguards are generally used to prevent publicly available AI systems from carrying out dangerous or malicious activity, but trusted testing organisations such as AISI can remove them to assess a model’s underlying capabilities.

AISI chart of AI model cheaters
Photo: AI Security Institute

AISI stressed that the agents used in the evaluation are not commercially available and said there was no evidence of similar behaviour occurring outside the test. Nevertheless, the degree of autonomy, persistence and deception observed was greater than researchers had anticipated.

The most serious behaviours included an attempted supply-chain attack against a real open-source software project, efforts to deceive and target individuals, attempts to introduce malicious or prompt-injected code, and apparent collaboration between separate AI agents.

How AISI responded

Before publishing its findings, AISI notified GitHub about the agents’ activity. The institute is working with the platform to remove artefacts created during the evaluation and alert users who were contacted or targeted.

AISI said the incident demonstrated why controlled evaluations of advanced AI systems are necessary. Testing models under closely monitored conditions allows potentially dangerous capabilities to be identified, investigated and addressed before they appear in more widely available systems.

Analysis by AI Security Institute
Photo: AI Security Institute

However, the institute cautioned against drawing broad conclusions from the results. The concerning behaviour occurred in a small number of runs under highly specific conditions, including disabled cyber safeguards and access to the live internet.

Even so, AISI said the extent and severity of the agents’ actions exceeded researchers’ expectations. Its initial analysis therefore presents a mixed picture: the behaviour was rare and caused no known harm, but revealed capabilities that could present serious risks if reproduced outside a controlled evaluation.

“Incidents of this kind reflect the speed at which AI is developing,” the institute said, calling for continued testing, stronger monitoring and close cooperation between model developers, evaluators and online platforms.

Interested parties are encouraged to read the AISI’s full technical report here.

Related

How a British BAe 146 research aircraft helped uncover the electrical secrets of clouds
NERC Faam BAe 146 flying research aircraft
How a British BAe 146 research aircraft helped uncover the electrical secrets of clouds
University of Reading scientists analysed data from a FAAM BAe 146 cloud-profiling flight to show how electrical charge in grey clouds links to larger droplets and lower sunlight reflection.
Aerospace

4 Dec 2026

Aerospace Bristol launches £30,000 appeal to bring iconic ‘Flaming Pencil’ home to Filton
Bristol 188
Aerospace Bristol launches £30,000 appeal to bring iconic ‘Flaming Pencil’ home to Filton
The fundraising appeal aims to return the Bristol Type 188 home to Filton after 60 years.
Aerospace

4 Dec 2026

Heathrow’s lead over Istanbul narrows as seat capacity falls
British Airways A319 taxis at London Heathrow, UK, 17 November 2010
Heathrow’s lead over Istanbul narrows as seat capacity falls
Heathrow kept its place as Europe’s busiest airport in 2026, but its lead over Istanbul narrowed to 373,000 scheduled seats.
Aerospace

4 Dec 2026

Royal Engineers secure national skills awards with MKC Training support
Royal Engineers at WorldSkills 2026 getting ready for the challenge
Royal Engineers secure national skills awards with MKC Training support
To help the Royal Engineers achieve success at this year's WorldSkills UK National Finals, MKC Training personnel delivered pre-competition training at the Royal School of Military Engineering (RSME) in Chatham, Kent.
Defence Member News

4 Dec 2026

Navantia UK opens applications for graduate roles
Navantia UK workforce
Navantia UK opens applications for graduate roles
As Navantia UK continues investing in modernising its facilities and increasing its workforce, it is now opening applications for a number of graduate roles across its UK shipbuilding operations.
Defence Member News

4 Dec 2026

Norway selects British-built AW101 helicopters for anti-submarine warfare
Norway has chosen the UK-built AW101 helicopter
Norway selects British-built AW101 helicopters for anti-submarine warfare
Norway is purchasing an unspecified number of British-built Leonard AW 101 helicopters for its future fleet of Type 26 frigates.
Defence

4 Dec 2026

UK space firms boost sustainability in oceans and orbit
(left to right) Massimo Noro (STFC), Antonio Costa (STFC), Roxanne Lloyd (AAC Clyde Space), Heidi Thiemann (Orbit Fab), Jacob Geer (Orbit Fab), Sam Furness (Orbit Fab), Jas Tiruvuru (Orbit Fab) and Joana Kamenova (ESA).
UK space firms boost sustainability in oceans and orbit
Harwell-based Orbit Fab and Glasgow-based AAC Clyde Space have each received almost £190,000 as the latest cohort of the European Space Agency (ESA) Phi-Lab UK programme, which is supporting businesses developing space technologies aimed at tackling sustainability challenges.
Cisco and Thales Alenia Space to design Europe’s first data centres in orbit
Planet Earth in outer space
Cisco and Thales Alenia Space to design Europe’s first data centres in orbit
Cisco and Thales Alenia Space have announced a new collaborative initiative aimed at delivering resilient data centres in orbit, by developing a space-computing infrastructure that integrates seamlessly with terrestrial networks.
Member News Space

3 Dec 2026

UK becomes first NATO nation to sanction Russia’s answer to Starlink
Rassvet-3 satellites launching from Roscosmos
UK becomes first NATO nation to sanction Russia’s answer to Starlink
The UK is the first NATO member to sanction the developer of Russia's Rassvet satellite constellation, targeting Moscow's military ambitions in space
Security Space

2 Dec 2026

UK space firms boost sustainability in oceans and orbit
(left to right) Massimo Noro (STFC), Antonio Costa (STFC), Roxanne Lloyd (AAC Clyde Space), Heidi Thiemann (Orbit Fab), Jacob Geer (Orbit Fab), Sam Furness (Orbit Fab), Jas Tiruvuru (Orbit Fab) and Joana Kamenova (ESA).
UK space firms boost sustainability in oceans and orbit
Harwell-based Orbit Fab and Glasgow-based AAC Clyde Space have each received almost £190,000 as the latest cohort of the European Space Agency (ESA) Phi-Lab UK programme, which is supporting businesses developing space technologies aimed at tackling sustainability challenges.
London Fire Brigade launches UK’s first online Business Safety Checker
London Fire Brigade worker climbs a ladder to a rescue
London Fire Brigade launches UK’s first online Business Safety Checker
To help protect businesses from fire, the London Fire Brigade has launched the Business Safety Checker, the UK's first online service offering free advice and guidance on fire safety requirements.
Security

4 Dec 2026

UK industry urged to act now against tomorrow’s quantum cyber threats
Cybersecurity
UK industry urged to act now against tomorrow’s quantum cyber threats
The UK’s NCSC urges critical infrastructure and sensitive data handlers to accelerate post-quantum cryptography upgrades by 2031, reassuring that Anthropic's AI research poses no practical threat.
Security

3 Dec 2026