In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.
Start learningUpgrade @openzeppelin/confidential-contracts to version 0.3.1 or higher.
@openzeppelin/confidential-contracts is a Smart Contract library for use with confidential coprocessors
Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the wrap and onTransferReceived functions used by the ERC7984 contract. An attacker can cause users to lose funds by triggering a silent failure in the _mint function, resulting in the underlying tokens being sent without receiving the corresponding confidential wrapped tokens. By default, this overflow happens after wrapping ~18.4 trillion tokens.