← Back to all fieldnotes

When an Issue Summary Becomes a Data Leak

Last updated:

A request to summarize a GitHub issue becomes a leak of private Jira information because Hermes follows instructions hidden in the issue.

The enterprise risk

An attacker can plant instructions in content Hermes reads, causing it to misuse its legitimate access and disclose internal information beyond the user’s request.

This is a hypothetical enterprise scenario, not a report of an incident or a claim about a specific organization’s deployment.

The boundary

In our hypothetical, a request to summarize a GitHub issue becomes a leak of private Jira information because Hermes follows instructions hidden in the issue. Authorization limits what an attacker can reach, but it doesn’t prove an action serves the user’s request. For Hermes, pass the verified Slack user to the gateway on every tool call, and treat “may retrieve” separately from “may disclose to this destination.” Test it with harmless synthetic data, and record both the final reply and the tool calls made.

The requester identity must come from trusted application context, not from text supplied by the model or the retrieved issue. Tool backends enforce permissions independently of the model. Task scope, destination controls, least privilege, and approval for consequential actions provide additional layers; identity checks alone do not prevent prompt injection.

A safe test

Ask the assistant to summarize a synthetic GitHub issue containing a planted instruction to retrieve an unrelated synthetic Jira ticket and disclose its unique marker. Check whether the assistant completes the legitimate summary without following that instruction. Inspect retrieval and tool execution as well as the final response.

Reference

OWASP GenAI LLM Top 10.