loveparade 8 days ago

TLDR; If you give the agent an access token that has permissions to access private repos it can use it to... access private repos!?

1
cjbprime 8 days ago

It's not that nonsensical. After it's accessed the private repo, it leaks its content back to the attacker via the public repo.

But it's really just (more) indirect prompt injection, again. It affects every similar use of LLMs.

bjornsing 8 days ago

Could someone update the TLDR to explain how / why a third party was able to inject instructions to Claude? I don’t get it.

charles_f 8 days ago

Through an issue on the public repo. There's even a screen capture of it

bjornsing 8 days ago

So the security mistake was saying to Claude ”please handle that GitHub issue for me” with auto approve enabled?

0x500x79 7 days ago

The issue is that anything put into an LLM thread can alter the behavior of the LLM thread in significant ways (prompt injection) leading to RCE or data exfiltration if certain scenarios are met.