Evidence over alarm
← Back to the incident library
AI as a targetCASE STUDY / Mandiant

An assistant recommended malware

Mandiant reports a hijacked coding session at a software company.

Source: Google Cloud / Mandiant
ACTIVITYUndisclosed
PUBLICLY DISCLOSEDSeptember 2026
THE AI’S ROLEAssistant hijacked

Month-level disclosure; activity undated.

THE 10-SECOND TAKEAWAY

Protect the recommendation, the installation and the permissions behind both.

HOW IT WORKED

Follow the chain.

An explanation, not a technical reproduction.
Assistant
→
Package
→
Developer
SIMPLIFIED VIEW · 1 / 2
STEP 01

Install

Assistant recommended poisoned software.

Google Cloud / Mandiant
Move through the story at your own pace.
1 / 2
THINK OF IT THIS WAY

Editorial analogy: imagine a trusted coworker’s shopping list being altered before you use it. The familiar messenger does not make the suggested purchase safe.

An analogy for the mechanism; not an additional claim about the incident.
KEEP THE EVIDENCE IN VIEW

What we know.
What we don’t.

Reported outcomes

Stolen access enabled code and secret theft. Google Cloud / Mandiant

Important limits

Model and hijack method undisclosed.

WHY IT MATTERS

The lesson beyond
this one case.

Editorial lesson: check software before it enters a project and keep valuable access separate from everyday development. An assistant’s recommendation is advice, not approval.

Where were the people?

Developer accepted the recommendation. Google Cloud / Mandiant

What happened in response? +

Remediation undisclosed. Google Cloud / Mandiant

FROM THE INCIDENT TO THE DEFENSE

What could help
an organization?

Editorial defense connections, not a finding that any product would have prevented the incident.

Agents

Constrain what an assistant can authorize

Separate advice from permission to install or publish. Review risky actions through a channel the same assistant cannot approve for itself.

What this does—and does not—establish

Approval can still be mistaken.

Software

Check dependencies before use

Use reviewed sources and controlled package intake, with checks on changes before software enters important workflows.

What this does—and does not—establish

A familiar name or genuine account does not establish that a release is safe.

Cloud

Reduce the reach of credentials

Keep sensitive access out of routine workspaces where possible, use narrowly scoped permissions and rehearse revocation.

What this does—and does not—establish

One revoked key may leave other sessions or copied data behind.

Editorial connections to relevant controls, not evidence that a particular technology would have prevented this case. Each guide links to the security guidance behind its recommendations.

Explore the full AI security framework
TRACE IT TO THE SOURCE

Read the evidence.

Explore more original accounts in the source report library ↗.

These are source-reported findings. An independent assessment, when available, is labeled explicitly.

01
AI risk and resilience: A Mandiant special report 2026Google Cloud / Mandiant · September 2026 · investigation

Read this case’s update history →

Reviewed Oct 4, 2026 · Editorial methodology · Structured data