Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint: forbid github /files/ links as they may contain comment attachments #787

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tstromberg
Copy link
Contributor

GitHub /files/ links include comment attachments, meaning that anyone can upload a file that looks like it's official to a particular repository. Due to the opaqueness of who uploaded what, this rule forbids it's use.

See https://www.mcafee.com/blogs/other-blogs/mcafee-labs/redline-stealer-a-novel-approach/ for a recent attack that abused this feature.

NOTE: Do not merge this until we fix the one instance of this URL in wolfi: wolfi-dev/os#17679 is addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant