Assessment reports>Initia>Discussion>Suggestions for additional security checks

Suggestions for additional security checks

This section contains some suggestions for additional security checks and mitigations that could be considered for implementation.

MoveValue::convert_option

The MoveValue::convert_option could assert that the vector containing the option value has length zero or one.

readULEB128 maximum input length

The readULEB128 function (located in x/move/types/connector.go) does not limit the maximum length of the input.

Zellic © 2024Back to top ↑