n8n has been around a lot longer than LLMs and, as explained in the article, can be a useful substrate for your LLMs to write custom tools with (for those uncomfortable with the terminal or wanting lots of API integrations)
15 karma · joined August 1, 2024
GitHub Copilot thinks it does this to capture shell-specific environment variables (like those set up in .zshrc) that you wouldn't necessarily get unless you open the app from a shell yourself. Given it's been like this for at least 4 years, I don't think it's necessarily anything nefarious, and it's likely unchanged in Cursor.