rules_js
rules_js copied to clipboard
[Bug]: node:fs/promises is not patched, leading to sandbox/runfiles escape
What happened?
Hi, I noticed that the fs patches apply to node:fs but not to node:fs/promises. This causes problems with sandbox escape in some tools.
Version
Development (host) and target OS/architectures:
Output of bazel --version:
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
rules_js 1.41.1
Language(s) and/or frameworks involved: node v18.16
How to reproduce
No response
Any other information?
No response