bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Safe Mode using isolated-vm

Open helloanoop opened this issue 1 year ago • 1 comments

This PR is aimed at improving security in Bruno while running javascript code. The user can choose between two options:

  • Safe Mode: This mode will run the code in a sandboxed environment, which will prevent the code from accessing the filesystem other sensitive resources.
  • Developer Mode: This mode will run the code in a non-sandboxed environment, which will allow the code to access the filesystem and other sensitive resources.

helloanoop avatar Aug 10 '24 10:08 helloanoop

Test Results

0 files   -  1  0 suites   - 29   0s :stopwatch: -14s 0 tests  - 32  0 :white_check_mark:  - 32  0 :zzz: ±0  0 :x: ±0  0 runs   - 48  0 :white_check_mark:  - 48  0 :zzz: ±0  0 :x: ±0 

Results for commit a18e5e5b. ± Comparison against base commit 7e305be8.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Aug 10 '24 10:08 github-actions[bot]

Closing the PR as this has been already merged as a part of another PR.

helloanoop avatar Aug 23 '24 19:08 helloanoop

Hello @helloanoop You're talking about a PR in your last comment. Which one is it? Because I don't see any PR related to the safe mode merged in the main branch.

tibo36 avatar Jul 03 '25 12:07 tibo36