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

Fix more sandbox escapes #2

Merged
merged 6 commits into from
Jul 31, 2024
Merged

Fix more sandbox escapes #2

merged 6 commits into from
Jul 31, 2024

Conversation

netroy
Copy link
Member

@netroy netroy commented Jul 31, 2024

No description provided.

@netroy netroy force-pushed the more-updates branch 2 times, most recently from c072809 to 6457c28 Compare July 31, 2024 11:31
};

const globalPromiseThen = globalPromise.prototype.then;
globalPromise.prototype.then = function then(onFulfilled, onRejected) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is unfortunately polluting the global prototype. but until we replace vm2, I can't find an alternative way to do this.

Copy link

@tomi tomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@netroy netroy merged commit 53c2d0b into master Jul 31, 2024
2 checks passed
@netroy netroy deleted the more-updates branch July 31, 2024 12:09
@netroy netroy changed the title More fixes Fix more sandbox escapes Jul 31, 2024
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

Successfully merging this pull request may close these issues.

2 participants