by jofzar · 4mo ago · 0 comments
Why does this section not have when it was fixed or GitHub acknowledge/rejected this?
Did they not fix this?
The answer is you should not allow LLMs access to untrusted input and sensitive data at the same time.
It can't leak a private repo if it can't open it to begin with.
https://github.github.com/gh-aw/reference/cross-repository/#...
It seems like the proper fix is for GitHub not to allow their agentic workflow to execute in a public repo context if it also has private repo access. Or, to use your phrasing, for GitHub to flag and disallow this easily-detectable and dangerous type of misconfiguration.
It’s like saying that an OS should enforce that home directories can only have 0600 permissions. Yes, it prevents accidentally configuring world readable on files, but there are legit reasons for wanting to share a file from your home dir.
Misconfiguration isn’t really the best word choice, either, because it’s definitely a both-sides problem.