https://github.com/ruby/psych defaults to only loading permitted classes since 4.0 so that seems less of a concern now?
I'm honestly not sure, though, how much I should be worried about the fact that someone who has write access to my database can maybe escalate that to an arbitrary code execution if I use pstore. Literally not sure. Write access to my DB seems pretty disastrous already...