News for hackers. Stuff that matters.
Re:GitHub Copilot emits GPL code by jschrf on Friday April 21, 2023 @03:42PM (#35658962)
Also, re: maps, fake streets and cul-de-sacs that don't exist.

I've set a "trap" myself years ago in code in a novel solution at the time for uploading photos from iOS non-interactively after the fact. It was to support disconnected field workers taking photos from iPhones/iPads, with the payloads uploaded at a later date.

Chunked form data constructed in userland JS was the solution. Chunk separator was 17 dashes in a row (completely arbitrary), company name in 1337 speak, plus 17 more dashes.

Found a competitor that had copied the code, changing only the 1337 speak part. 17 dashes remained on each side. Helped me realize that they had unminified and indeed ripped off our R&D work.

Wonder if Copilot could be gamed the same way.

Re:GitHub Copilot emits GPL code by peteradio on Friday April 21, 2023 @04:40PM (#35659769)
How did you manage to find that your competitor copied your code?
Re:GitHub Copilot emits GPL code by aetch on Friday April 21, 2023 @05:14PM (#35660280)
Javascript
Re:GitHub Copilot emits GPL code by jschrf on Saturday April 22, 2023 @11:28AM (#35667535)
Yeah. The feature set offerred by the competitor was similar to ours, and we went through the wringer building that solution, so i unminified their code and sure enough...it easn't exactly theirs.

Oh yeah and they ripped off our website too. That was the first clue haha.