Failing String.to_integer/1 due to malicious requests

Thanks for all the answers.

To wrap up:

  • It’s not a security issue per se. However it might be, if the application relies on crashing process to succeed.
  • Of course it is in any way a good choice to pattern match against the result of Integer.parse/1