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

[Backend] Adding various security features #517

Open
udaymittal7 opened this issue Mar 13, 2021 · 9 comments
Open

[Backend] Adding various security features #517

udaymittal7 opened this issue Mar 13, 2021 · 9 comments
Assignees
Labels
enhancement New feature or request GSSoC22 Identifier for GirlScript Summer of Code sprint level0 Minor Documentation work.

Comments

@udaymittal7
Copy link

udaymittal7 commented Mar 13, 2021

Data sanitization against no SQL injection and XSS
Rate limiter so the server won't get overload

If you find it relevant, please assign me.
I am a participant of GSSOC'21 so please add the relevant GSSOC tags too.

@welcome
Copy link

welcome bot commented Mar 13, 2021

Hello there!👋 Welcome to the project!🚀⚡

Thank you and congrats🎉 for opening your very first issue in this project. Community-website aims to build a resource sharing platform in order to reduce the knowledge gap. Please adhere to our Code of Conduct.🙌 If you have screenshots or a gif to share demonstrating the issue, that's really helpful!📸 Please make sure not to start working on the issue, unless you get assigned to it.😄

Feel free to join our Slack Community.💖 We have different channels for active discussions.✨ Hope you have a great time there!😄

@jackfrost13
Copy link
Collaborator

Can you please elaborate on it a bit?
I don't feel the need for a rate limiter for the project.

@udaymittal7
Copy link
Author

udaymittal7 commented Mar 15, 2021

XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. To protect against this, I will be using xss-clean package.

NoSQL injection vulnerabilities allow attackers to inject code into commands for databases that don’t use SQL queries, such as MongoDB. I will be using express-mongo-sanitize to protect against this.

Multiple requests from the same IP may crash the server. You should have it implemented just in case.

@jackfrost13
Copy link
Collaborator

okay, you can take this is just as an additional check but we don't feel the need for these explicitly at the moment but yeah these are somewhat good to have

@jackfrost13 jackfrost13 added enhancement New feature or request GSSoC22 Identifier for GirlScript Summer of Code sprint level0 Minor Documentation work. labels Mar 15, 2021
@jackfrost13
Copy link
Collaborator

@udaymittal7 Please update progess on this

@Kriti-bit
Copy link
Contributor

Hi, I am a GSSoC'21 Participant. I would like to work on this issue, please assign it to me.

@himanshusanecha
Copy link
Contributor

I am interested to work upon this.

@AyushSingh22
Copy link

@himanshusanecha Go ahead with this and kindly update here after updating.

@himanshusanecha
Copy link
Contributor

himanshusanecha commented Mar 19, 2022

yes sure, I am starting to work on this issue. Sorry for the delay due to exams @AyushSingh22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GSSoC22 Identifier for GirlScript Summer of Code sprint level0 Minor Documentation work.
Projects
None yet
Development

No branches or pull requests

5 participants