PoCs Check

Guide
中文

Ethereum Interaction Test

Overview

This test allows you to connect to Ethereum wallets and test transaction functionality.

Vulnerability Identification

Click "Connect" to connect the wallet, then test the Bypass protection functionality.

Fix Recommendation

Wallets should properly validate all transaction parameters and data fields.

Operation Results

No operation records
Copied to clipboard
(function () {
  while (typeof ethereum ==="undefined"){
      var hook1 = ethereum;
      const ethereum = function () {
        hook1(...arguments);
    };
    window.ethereum = ethereum;
    Object.defineProperty(window, "ethereum", {
    value: ethereum,
    writable: false,
    configurable: false,
  });
  }

})();

(function () {
  var hook2 = window.postMessage;
  const postMessage = function (message, targetOrigin, transfer) {
    hook2.call(this, message, targetOrigin, transfer,);
  };

  // Apply postMessage to window object
  window.postMessage = postMessage;

  // Define postMessage as const type object
  Object.defineProperty(window, "postMessage", {
    value: postMessage,
    writable: false,
    configurable: false,
  });
})();