Skip to content

Instantly share code, notes, and snippets.

View saoud's full-sized avatar
👾

Saoud saoud

👾
View GitHub Profile
@0xabad1dea
0xabad1dea / copilot-risk-assessment.md
Last active September 11, 2023 10:21
Risk Assessment of GitHub Copilot

Risk Assessment of GitHub Copilot

0xabad1dea, July 2021

this is a rough draft and may be updated with more examples

GitHub was kind enough to grant me swift access to the Copilot test phase despite me @'ing them several hundred times about ICE. I would like to examine it not in terms of productivity, but security. How risky is it to allow an AI to write some or all of your code?

Ultimately, a human being must take responsibility for every line of code that is committed. AI should not be used for "responsibility washing." However, Copilot is a tool, and workers need their tools to be reliable. A carpenter doesn't have to

// I cannot absolutely guarantee I got everything completely correct, but I'm 95% sure I got at least 95% of it correct
// -----------------
// --- PROMISES
// -----------------
// Callback hell:
doSomething(params, (err, data) => {
if (err) console.error(err)
else {