The more I think about this, you could probably make a much safer solution for less than a few dollars if you forego the video capture. Is there a safe non-toxic stinky oil? All you would need is a box that once opened, is very difficult to put back together, that holds stinky oil.
I would probably also put wording on the package that says, "By taking or opening this package, you consent to recording and agree to manage the discharge of a very stinky oil. The opener of the packages assumes all responsibility and liability for any damage that results from touching this package".
Source: what my teenage self thought was a hilarious prank got to the attention of the FBI. Although the matter was cleared up in the end, being interviewed by an FBI agent at 17 taught me not to count on the understanding and second degree of law officers.
“Hello officer, I made a booby trapped package and I...” gets tased “argh no you don’t under- “ is handed off to the secret service
I doubt the cops would look kindly on what is at best (funny) vigilante justice, at worse a violation of some federal law.