The AI Gazette

Practical AI techniques, workflows, tools and research for hands-on engineers.

By Ravi AutarRSS feed

Listen to this edition

18 min · read by an AI voice

Top news

No. 25

Agent securityGoogle

Google's action check blocked nearly every planted instruction against its test agent

Diagram: a user's request goes to an agent, which proposes three actions. A shield labelled Semantic governance policies passes two of them with green checks and stops a third, marked Intent hijacking, that came from an instruction hidden in a receipt.
Image: Google Developers Blog (opens in a new tab)

AI agents that read emails, web pages and files can be tricked by instructions hidden in that content, an attack known as prompt injection. Google tested its answer: a checker that looks at every action an agent wants to take and first asks one question. Did the user actually ask for this?

On a public test of banking, messaging, travel and office tasks, nearly half of the attacks worked against an unprotected agent. With the checker on, fewer than one in a hundred did, and no attack that needed the agent to act got through. Ordinary tasks were blocked only rarely.

Read the full story

Local modelsAgent security

Two models on Hugging Face carried a Windows trojan hidden after their weights

People who run AI models on their own computers usually download them as single files from Hugging Face. Each file also carries a small template that shapes every prompt the model sees. The security firm Malspark scanned every public model on the site and found five files that misuse this.

In the largest campaign, a program that steals passwords was tucked in after the model's data, where loading software never looks. Days later the attacker changed the template so the model starts every answer with a command that unpacks and runs it. Malspark released a free tool that finds such files and cleans them.

Read the full story

The victim never downloads anything except the model itself.
From Malspark's researchersHow the largest campaign got a Windows trojan onto computers through a model file shared on Hugging Face.

ResearchGoogle

Google finds AI assistants judge motives worse when they hear only the user's side

Many people ask chatbots for advice about a colleague, a friend or a partner. The assistant never sees what happened; it only hears the user's version, which can leave things out or tilt them. Google built a test for this in which simulated characters act out scenes around a hidden motive, so the right answer is known.

Across a dozen models, assistants guessed the hidden motive less well when they heard the story from the user than when they watched the scenes themselves. They often took on the user's suspicions, needed more detail than people do, and did not improve in longer conversations. Google has released the test and its data.

Read the full story

Deep dive

Agents at work

Context and memoryCoding agents

A Google DeepMind engineer deleted most of his agent rules for Gemini 4 Neon

A coding agent reads much more than the request in front of it: standing rules, project notes, tool descriptions and the conversation so far. Philipp Schmid, an engineer at Google DeepMind, found that many rules he wrote for older models were holding back Google's newest model, Gemini 4 Neon, so he cut them back.

When his rules contradicted each other or his current request, the model spent effort reconciling them and often followed the old rule. He shrank his personal rules to one screen, removed repeated tool instructions and examples, and moved task guidance into small skills the agent loads only when they are needed.

He also has the agent check visual work by looking at the rendered picture, and he avoids squeezing long sessions into summaries. Instead the agent writes a short handoff note, and a fresh session starts from it.

Read the full story

In brief

Frontier news

Agents at work

Agentic memory

Tools

Local and home

Security and trust

Research

Say hi.