"with the agent's credentials." - so you are surprised that agent can respond with private repository details when it has access to it? WoW! anyone and anything with credentials can access it. Github action, Jenkins, me.
"injected" is so fancy word to describe prompting - one thing that LLMs are made to do - respond to a prompt.