-
Notifications
You must be signed in to change notification settings - Fork 505
Resource Upload Policy Needs Stricter Validation #29
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
Comments
you are absolutely right but it is hard to define what is a docs will be approved if it has more than 30 github stars. wdyt? |
Stars aren't a good proxy for legitimate reputation metric because they can be easily farmed. I suggest figuring out a different strategy for it. |
agreed, open to suggestions? |
If it was straight-forward we wouldn't have an npm or PyPI malware attacks every Sunday ;-) Hard to say without a deep-dive and I haven't spent more than a few minutes looking at this and context7 but perhaps an easy pull it running heuristics on the underlying artifacts. For example:
Other security controls can be:
|
The current system allows unrestricted uploading of any resource type, which poses security risks and results in duplicate entries. This permissive policy could be exploited for malicious purposes.
We should implement stricter validation rules to ensure only appropriate resources can be uploaded while preventing duplication.
The text was updated successfully, but these errors were encountered: