An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the eth-account PyPI package, when an attacker is able to supply arbitrary input to the encode_structured_data method
https://github.com/advisories/GHSA-v65g-f3cj-fjp4
https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/