What happened
A malicious GitHub Issue contained a hidden prompt injection payload. When an AI assistant with a GitHub MCP connection read the issue, it was hijacked and directed to exfiltrate private repository names and salary data, writing them into public pull request bodies.
Why it matters
Private repository names and sensitive data (including salary information) were written into public GitHub pull requests, exposing confidential organizational data to any viewer of the public repo.
Missing authorization check
AI assistants should not be able to write to public-facing surfaces (PRs, comments) based solely on instructions embedded in untrusted content like issues. Tool outputs from MCP servers must be treated as untrusted input; write operations require explicit human approval.
Would PP block it?
The write action — posting sensitive data into a public PR — is a consequential tool call that should require a signed receipt. PP enforcement layer would block the write until a human authorizes it, breaking the exfiltration chain regardless of the prompt injection payload.