In recent years, AI companies and investment firms have sustained losses amounting to tens of billions of dollars in their efforts to cultivate user habits. However, the staggering gap of over $400 billion between their investments and revenues has compelled them to resort to advertising as a means of monetization. According to Neowin, Microsoft Copilot has been automatically inserting advertisements into GitHub pull requests, impacting more than 1.5 million PRs, with GitLab merge requests also being affected. Melbourne-based software developer Zach Manson uncovered that after team members utilized Copilot to rectify spelling errors, promotional text was appended to the PR descriptions. Conducting a search for this text on GitHub unveiled over 11,000 PRs with identical content across numerous repositories. The advertisement appears to be self-promotion for Raycast. However, upon scrutinizing the original Markdown code of the affected PRs, hidden HTML comments were found preceding the ad, suggesting that the injection originated from Microsoft. Neowin's investigation revealed that PRs injected with ads were not confined to Raycast; some copies promoted sending tasks from Slack or Teams to the Copilot coding agent to transform conversations into code, while others advertised the ability to launch Copilot programming agent tasks directly from editors such as VS Code. Microsoft responded by asserting that this was a programming glitch and not a deliberate act, categorizing the issue as a code logic defect and subsequently removing the smart assistant prompt feature from the pull request comment section.
