const addReplyToEvent = (event: any) => {
  event.reply = (...args: any[]) => {
    event.sender.sendToFrame(event.frameId, ...args);
  };
};
The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.