GitHub should change this potential security issue #151976
Replies: 1 comment
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
People are "kind of" hiding code in the code preview window. Especially in python. Because you can insert multiple lines of code on 1 line in python, by putting a semi colon ; before the next action. People have been abusing this by hiding code far over the right side. So when you preview it, unless you scroll horizontally over to the far right, it won't be scene.
I did test to see if it could preview the same in this post but it doesn't work. However, just go careful that all code your reading has nothing hidden anywhere. Normally they are implementing features like browser token stealers.
A potential fix for this is if someone puts a bunch of spaces in their code, which moves something far off the page. Remove all the spaces, and replace them with a small semi transparent arrow pointing to the right. Letting users know the arrow isn't written by the author, but there is a bunch of spaces that move it off screen.
Another fix is auto formatting in the preview window. This doesn't apply when you download the code. Only when previewed on the website.
Beta Was this translation helpful? Give feedback.
All reactions