Github copilot adding viruses to code #181817
Replies: 2 comments
-
|
GitHub Copilot cannot install software or infect your machine by itself — it only generates code suggestions. If Copilot referenced something called “evogen,” that was just text in a suggestion, not something that executed automatically. What to do:
Copilot can sometimes hallucinate package names or unsafe examples, so its output should always be reviewed before use. If no code was executed, there is very likely no risk to your system. |
Beta Was this translation helpful? Give feedback.
-
|
To add to @itsrakesshchauhan's excellent response: Copilot cannot install viruses. Here's why: What Copilot Does | What Copilot Cannot Do -- | -- Suggests code as text | Execute code on your machine Autocompletes based on patterns | Install packages automatically Generates code snippets | Access your file systemWhat likely happened: Copilot may have suggested code that references a package name like "evogen" - this is a hallucination (making up package names that sound plausible but may not exist or could be malicious if they do exist). Action items:
Best practice: Always review Copilot suggestions before accepting, especially:
You're safe as long as you didn't execute the suggested code! 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Today, Github copilot tried to add evogen which is a type of virus that installs other types of viruses and malware to your device. what do i do now?
Beta Was this translation helpful? Give feedback.
All reactions