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

Threat Model question about Permission Model #1288

Closed
4xpl0r3r opened this issue Apr 22, 2024 · 2 comments
Closed

Threat Model question about Permission Model #1288

4xpl0r3r opened this issue Apr 22, 2024 · 2 comments

Comments

@4xpl0r3r
Copy link

According to the threat model, loaded code is trusted. What I want to know is, if a vulnerability is requireing monkey-patching to bypass the permission model, is it still recognized as a valid vulnerability? The response will direct my security research, thank you.

@RafaelGSS
Copy link
Member

Most of the time, yes. If you find a way to use the official require('fs') module to bypass the capabilities imposed by the permission model, it is likely to be accepted. Important to note it should not be recognized as known limitation in https://nodejs.org/api/permissions.html#limitations-and-known-issues

@4xpl0r3r
Copy link
Author

Thank you, I see.

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

No branches or pull requests

2 participants