Closed DharunKumar04 closed 11 months ago
@tan-nhu Thanks for your feedback and for considering the change. I've updated the configuration as 'code' as you suggested to simplify the script. This change aligns with the current usage pattern and reduces potential complexity.
Regarding the use of restful-react, we'll keep an eye on its deprecation and plan to transition to the new library when needed.and thanks for the input !!
I've also ensured that Prettier has been run against the changed files as requested.
If you have any further suggestions or concerns, please feel free to let me know. Your input is greatly appreciated!
Hi @hitesharinga, the PR has been approved by @tan-nhu. Please merge it so that we can close this. Thank you.
Hey @DharunKumar04, Thank you for the Fix. I have merged it. Really appreciate it.
This pull request addresses a path traversal vulnerability in the codebase, as reported by Snyk. The vulnerability arises from unvalidated user input being used as a path in the
fs.readFileSync
function, potentially allowing an attacker to read arbitrary files.Changes Made