This is the code from my ElixirConf 2024 Lightning Talk, "Behavior Sanitizers." It's here so it doesn't get lost in a forgotten LiveBook somewhere, but it's not production-ready.
Blog post about this: https://blog.brycekerley.net/2024/09/01/elixir-behavior-sanitizer.html
This code is a prototype! If you are planning to use this to prevent SQL injection attacks in production, please reconsider! At time of writing, this code has never been run in production.
Don't. This code is a prototype and is probably not safe or useful!
Clone it?
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_sanitizer_prototype.
Copyright © 2024 Bryce Kerley
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.
This software is distributed without warranty.