The Case of the Robot Web Thief

If you ask an AI agent to build you an application, can you be sure it&#x27;s not helping itself to somebody else&#x27;s code?