From 128ef218b465768b7e4f44e0dc1cfcdce30f0d83 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Tue, 31 Dec 2024 13:28:17 -0800 Subject: [PATCH] feat(ses,pass-style): use no-trapping integrity level for safety --- packages/ses/src/permits.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/ses/src/permits.js b/packages/ses/src/permits.js index 283d861c34..6c79bd435c 100644 --- a/packages/ses/src/permits.js +++ b/packages/ses/src/permits.js @@ -488,6 +488,9 @@ export const permitted = { groupBy: fn, // Seen on QuickJS __getClass: false, + // https://github.com/endojs/endo/pull/2673 + isNoTrapping: fn, + suppressTrapping: fn, }, '%ObjectPrototype%': { @@ -1624,12 +1627,17 @@ export const permitted = { set: fn, setPrototypeOf: fn, '@@toStringTag': 'string', + // https://github.com/endojs/endo/pull/2673 + isNoTrapping: fn, + suppressTrapping: fn, }, Proxy: { // Properties of the Proxy Constructor '[[Proto]]': '%FunctionPrototype%', revocable: fn, + // https://github.com/endojs/endo/pull/2673 + prototype: 'undefined', }, // Appendix B