Skip to main content

Ink! version


Using an old version of ink! can be dangerous, as it may have bugs or security issues. Use the latest version available.

Exploit Scenario

Consider the following ink! contract:

ink = { version = "5.0.0", default-features = false }

Problems can arise if the version is not updated to the latest available.

The vulnerable code example can be found here.


Use the latest stable version available.

The remediated code example can be found here.