Skip to content
LowNewsLLM-specific

GitHub Copilot Custom Instructions and Risks

Published
Record updated
View JSON

Summary

GitHub Copilot can be augmented with custom instructions from the current repo, read from the .github/copilot-instructions.md file. Pillar Security highlighted the risks of such rules files, using custom Cursor rules in ./cursor/rules ending in .mdc, and included a GitHub Copilot demo that uses copilot-instructions.md. GitHub then changed its Web UI to highlight invisible Unicode characters, citing the Pillar Security post and a post about ASCII Smuggling.

Mitigation

GitHub made a product change that highlights invisible Unicode characters in the Web UI.