Skip to content

Commit

Permalink
add disclaimer and link
Browse files Browse the repository at this point in the history
  • Loading branch information
simonDos committed Dec 8, 2023
1 parent ece4e54 commit cde8781
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contracts/common/ContextMixin.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
pragma solidity 0.6.6;

/**
* @notice DISCLAIMER:
* Do not use NativeMetaTransaction and ContextMixin together with OpenZeppelin's "multicall"
* nor any other form of self delegatecall!
* Risk of address spoofing attacks.
* Read more: https://blog.openzeppelin.com/arbitrary-address-spoofing-vulnerability-erc2771context-multicall-public-disclosure
*/

abstract contract ContextMixin {
function msgSender()
internal
Expand Down
8 changes: 8 additions & 0 deletions contracts/common/NativeMetaTransaction.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
pragma solidity 0.6.6;

/**
* @notice DISCLAIMER:
* Do not use NativeMetaTransaction and ContextMixin together with OpenZeppelin's "multicall"
* nor any other form of self delegatecall!
* Risk of address spoofing attacks.
* Read more: https://blog.openzeppelin.com/arbitrary-address-spoofing-vulnerability-erc2771context-multicall-public-disclosure
*/

import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

Expand Down

0 comments on commit cde8781

Please sign in to comment.