Join our Newsletter — 33% off our NHI Course

Docker Ask Gordon prompt injection: what IAM teams need to know

 

(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 16497
Topic starter  

TL;DR: Docker’s Ask Gordon beta could be hijacked through malicious Docker Hub metadata, causing automatic tool calls and exfiltration of chat history and build data, with the exploit succeeding even where domain allowlisting was present, according to Pillar Security. The incident shows that trusted-content prompt injection turns repository metadata into executable context, so consent and provenance boundaries matter more than network filters.

Editorial analysis by NHI Mgmt Group, based on content published by Pillar Security: ““Ask Gordon, Meet the Attacker” - Prompt Injection in Docker’s Built-in AI Assistant”.

Key questions

Q: What breaks when an AI assistant can treat repository metadata as instructions?

A: The boundary between content and control breaks.

Q: Why do AI assistants create more risk when they can read private data and communicate externally?

A: Risk rises when an assistant can read sensitive records, consume attacker-controlled content, and send data outside the organization.

Q: What are the warning signs that prompt injection is succeeding in a developer assistant?

A: Unexpected tool calls, unapproved network requests, and data leaving the assistant's normal task boundary are the clearest signs.

Practitioner guidance

  • Separate metadata from executable instructions Treat repository descriptions, README content, issue text, and similar external fields as display-only until they pass a provenance check and are copied into a non-executable context.
  • Gate sensitive tool calls with explicit consent Require a human approval step before any AI assistant can fetch external URLs, read build logs, or combine internal data into an outbound request.
  • Inventory assistants with network and data access Map which developer assistants can read private data, ingest untrusted content, and communicate externally, then flag any workflow that contains all three conditions.

Bottom line: The central failure is the collapse of the content-to-action boundary inside an AI assistant that trusts external metadata.

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 5 months ago
Posts: 16988
 

Trusted-content prompt injection is a governance failure, not just a model vulnerability. The Ask Gordon case shows that repository metadata can inherit execution authority when systems fail to separate content ingestion from instruction processing. That breaks the basic assumption that external text is safe until a user explicitly promotes it. The implication is that AI-assisted developer workflows need trust boundaries that classify content before it can influence tools.

A few things that frame the scale:

  • 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.
  • 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools, according to the Ultimate Guide to NHIs.

A question worth separating out:

Q: Should organisations require human approval before AI tools fetch external content?

A: Yes, whenever the fetch can influence sensitive data handling or downstream tool execution. Human approval is the right control when external content may become instruction-bearing, because it restores a promotion step between text and action. Without that gate, allowlisting alone does not stop trusted-source prompt injection.

👉 Read our full editorial: Docker's Ask Gordon shows how prompt injection hijacks AI tools



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.