To me it seems more like the equivalent of leaving booby trapped packages to be found by porch pirates. Or putting laxatives (or worse) in your sandwich to get back at the unknown coworker stealing your lunch. Both of which are considered illegal in the US.
Assuming these files actually contain exploits. Maybe they do maybe they don't. You feeling lucky Cellebrite?