-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Need helping finding some key areas of the source code (for sandboxing) #2789
Comments
@wysisoft I think the best thing you can do is look through the list of libuv functions and then grep for those in Node.js core? |
Thank you for the excellent answer! I will try it out and see how it works. Am I the first to attempt something like this, or is there previous work I can borrow from? |
@wysisoft I think the closest thing might be nodejs/node#33504 (and its predecessor nodejs/node#22112). Those operate at the C++ binding layer, instead of the libuv layer, though, so it’s a bit of a different approach with its own upsides and downsides |
Yes this was helpful thanks
…On Sun, Oct 18, 2020 at 12:53 PM Pooja D P ***@***.***> wrote:
@wysisoft <https://github.com/wysisoft> - is this issue still
outstanding? did @addaleax <https://github.com/addaleax> 's suggestion
help you to resolve your issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2789 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTZR3D7KLU5JS647IH6ORTSLM2TDANCNFSM4OEBLMYA>
.
|
closing the issue as it resolved. |
I would like help in finding 3 key areas of the Nodejs source code
1 - anywhere a file is written or read from the OS
2 - anywhere a network socket (or other networking item) is opened or closed
3 - anywhere a process is spawned / launched.
I can take it from there. Any help finding these .cc locations? I would like to try to remove these functionalities to better create a sandbox
The text was updated successfully, but these errors were encountered: