A security-automation agent receives an injected instruction — embedded in a log file it was parsing — that causes it to chain together three legitimate administrative tools: PowerShell (query internal logs), cURL (format and transmit data), and an internal API (authenticate the request using valid credentials).
Each tool is used by legitimate security workflows every day. PowerShell runs constantly. cURL calls are routine. The API endpoint is authorized. Because every command is executed by trusted binaries under valid credentials, the host-centric monitoring (EDR/XDR) sees no malware, no exploit, no unauthorized process.
The security logs are exfiltrated. The EDR never fires. The SIEM has no matching rule — because the individual actions it saw were completely normal.
Invariant Labs demonstrated a prompt injection in GitHub's MCP server where a malicious public repository embedded commands in its tool metadata (the descriptor the agent reads to understand what the tool does). When an assistant invoked the tool, it read the poisoned descriptor and exfiltrated private repository data — including code and secrets — without user knowledge.
The tool was fully legitimate. The MCP server was the official GitHub integration. The attack lived in the tool's own description of itself.