What matters in AI.

Subscribe

In tests, a method named the AI model behind an attack agent

The method also made some attack models give their hidden setup instructions, which can help show why an attack occurs.

Researchers published Trace, a method that examines the terminal commands of an AI agent that attacks a computer. It identifies the model family, which is a group of related models. The tests used a Linux practice machine for attack exercises. The score was 0.981 on macro F1, a measure of precision where 1 is the maximum.

How it works

Trace reads the command sequence and names the model family. Then it puts a special text in the path of the agent. This defensive prompt injection, a hidden instruction to the model, tries to get the system prompt. That is the set of instructions that controls the agent.

The numbers

The tests used seven model families. With control software that was new to Trace, the score decreased to 0.815. In sessions without Claude models, it got system prompts from 81.9% on average. With a closed private control software that used two model families, the average precision was 78%.

What is not known

The developers confirmed that Trace showed the full system prompt for Gemini. The authors say that the work is a first step. Their summary gives no test against attackers in operation.

Insight: The text an agent reads can turn it against its owner

An earlier paper showed that instructions in tool texts can make agents send data to an attacker. Trace uses a related trick on the attacker. It seems that the side that controls the text gets control of the agent, and a defender controls the attacked machine. Monitor the next move: attack agents that refuse such text. Use other defenses also.

Sources

  1. Trace: Unmasking AI Attack Agents Through Terminal Behavior Fingerprintingarxiv.org
AI MATTER · NEWS · AI MATTER · NEWS ·3 DEC2026

Posted

Tags

Learn the terms in this story

Guides for this story

More in Security

All Security news