rules_js icon indicating copy to clipboard operation
rules_js copied to clipboard

[Bug]: node:fs/promises is not patched, leading to sandbox/runfiles escape

Open matthewjh opened this issue 1 year ago • 0 comments

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

matthewjh avatar Jun 28 '24 12:06 matthewjh