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

Add parametrization for default deep, and limit for max depth #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jacopobonomi
Copy link

Hey Christofer,
However, I encountered a security problem related to a possible DOS attack if the API is called with the deep parameter, . This causes the application to go out of memory and if it is managed through a process manager it is restarted, otherwise it crashes. I added in this fork a control with variables inserted directly into the .env file to allow users to customize the maximum and default depth.

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