Back to feed
Dev.to
Dev.to
7/7/2026
The original title is: "GitHub Agentic Workflows Vulnerable to GitLost Data Leak Exploit"

The original title is: "GitHub Agentic Workflows Vulnerable to GitLost Data Leak Exploit"

Original: GitHub Agentic Workflows Vulnerable to GitLost Data Leak Exploit

Short summary

GitHub's Agentic Workflows can be exploited via indirect prompt injection: attackers embed malicious instructions in public issues that agents misinterpret as directives, potentially exfiltrating private repos through cross-repo tokens. Mitigation requires strict token scoping per repository, treating issue bodies as untrusted data, separating read/write permissions, and comprehensive audit logging.

  • GitLost is an indirect prompt injection attack where adversaries post instructions in public issues that agents execute
  • The vulnerability chains untrusted input consumption with broad token permissions and public comment posting
  • Fixes: narrow token scope, isolate issue bodies from instructions, separate read/write workflows, log all agent actions

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more