Remix.run Logo
Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft(legitsecurity.com)
21 points by chillax 9 hours ago | 6 comments
cedws 6 hours ago | parent | next [-]

Until prompt injection is fixed, if it is ever, I am not plugging LLMs into anything. MCPs, IDEs, agents, forget it. I will stick with a simple prompt box when I have a question and do whatever with its output by hand after reading it.

hu3 5 hours ago | parent [-]

I would have the same caution, if my code was any special.

But the reality is I'm very well compensated to summon CRUD slop out of thin air. It's well tested though.

I wish good luck to those who steal my code.

mdaniel an hour ago | parent [-]

You say code as if the intellectual property is the thing an attacker is after, but my experience has been that folks often put all kinds of secrets in code thinking that the "private repo" is a strong enough security boundary

I absolutely am not implying you are one of them, merely that the risk is not the same for all slop crud apps universally

mdaniel an hour ago | parent | prev | next [-]

Running Duo as a system user was crazypants and I'm sad that GitLab fell into that trap. They already have personal access tokens so even if they had to silently create one just for use with Duo that would be a marked improvement over giving an LLM read access to every repo in the platform

nusl 6 hours ago | parent | prev [-]

GitLab's remediation seems a bit sketchy at best.

reddalo 6 hours ago | parent [-]

The whole "let's put LLMs everywhere" thing is sketchy at best.