by RunSet · 4y ago · 0 comments
> "You are responsible for ensuring the security and quality of your code. We recommend you take the same precautions when using code generated by GitHub Copilot that you would when using any code you didn’t write yourself. These precautions include rigorous testing, intellectual property scanning, and tracking for security vulnerabilities."
I can't help but recall:
"Linux is a cancer that attaches itself in an intellectual property sense to everything it touches."
- Steve Ballmer, while CEO of Microsoft
With "normal" code I can generally see (or figure out) who posted/published it and reach out for explicit permission. It's not uncommon for me to do this.
How is one supposed to do that for the generated stuff? Seems like an awefully hands-off attitude. As challenging as it is, they really ought to be qualifying the input samples of training code before ingesting.
There are some vendors in this space too (BlackDuck comes to mind) but they're $$$ so only within the scope of large corporations.
If anybody has any ideas relating to this type of analysis, I'd be excited to chat. I am working on a project[1] in this space for "Software Composition Analysis" which could potentially overlap with snippet detection for code like Co-Pilot. (We basically just have a big pipeline of analysis jobs that run on code and store the results. I need to update the docs!)
0: https://yangdanny97.github.io/blog/2019/05/03/MOSS
1: https://github.com/lunasec-io/lunasec/tree/master/lunatrace
On the one hand stating plainly that mixing in copy-left code and similar can be disastrously dangerous because it is a rampant virus. On the other hand not understanding why people think it might be a problem that their tool could encourage mixing in copy-left code.
According to the opinions about what inclusion of open source code into your projects does, as per the ex-CEO of the company. That seems a bit of a far fetched conclusion, but then, Ballmer did say it.
Seems like best practice recommendation that everyone should apply when downloading a torrent.
They have some really good blow in Redmond.
If anybody could win an award for being coked up and sweaty on stage...
See also this Domo video that turned it into a song. :) https://www.youtube.com/watch?v=f7ZDH45OAt8