Skip to content
Discussion options

You must be logged in to vote

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 system

What 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:

  1.  Don't panic - if you didn't run the code, you're safe
  2.  Delete any suspicious suggested code
  3.  Never blindly install packages Copilot suggests…

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DevBenCodes
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Security Build security into your GitHub workflow with features to keep your codebase secure Question Ask and answer questions about GitHub features and usage
7 participants