GitLab's remediation seems a bit sketchy at best.
Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
11–20 of 57 posts
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#12Does that mean Gitlab Duo can run Doom?
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#13Until 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.
The method they presented, if implemented correctly, apparently can effectively stop most prompt injection vectors
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#14GitLab's remediation seems a bit sketchy at best.
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#15Until 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.
Prompt injection is unlikely to be fixed. I'd stop thinking about LLMs as software where you can with enough effort just fix a SQL injection vulnerability, and start thinking about them like you'd think about insider risk from employees. That's not to say that they are employees or perform at that level, they don't, but it's to say that LLM behaviours are fuzzy and ill-defined, like humans. You can't guarantee that y…
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#16Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#17Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#18Earlier quoted context omitted.
Prompt injection is unlikely to be fixed. I'd stop thinking about LLMs as software where you can with enough effort just fix a SQL injection vulnerability, and start thinking about them like you'd think about insider risk from employees. That's not to say that they are employees or perform at that level, they don't, but it's to say that LLM behaviours are fuzzy and ill-defined, like humans. You can't guarantee that y…
The thing that I'd worry about is that an LLM isn't just like a bunch of individuals who can get tricked, but a bunch of clones of the same individual who will fall for the same trick every time, until it gets updated. So far, the main mitigation in practice has been fiddling with the system prompts to patch up the known holes.
Why? Output isn't deterministic.
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#19Earlier quoted context omitted.
The thing that I'd worry about is that an LLM isn't just like a bunch of individuals who can get tricked, but a bunch of clones of the same individual who will fall for the same trick every time, until it gets updated. So far, the main mitigation in practice has been fiddling with the system prompts to patch up the known holes.
> The thing that I'd worry about is that an LLM isn't just like a bunch of individuals who can get tricked, but a bunch of clones of the same individual who will fall for the same trick every time Why? Output isn't deterministic.
Re: Remote Prompt Injection in Gitlab Duo Leads to Source Code Theft
#20Until 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.