(Though if the ball is metallic, you can use a magnet. This kind of tampering can be detected by putting one on the inside of your package.)
This is only because the sort of person who would rough up a package and only then figure out how to 'fix' it, becomes a computer programmer instead.
npm ERR! code ENOENT
npm ERR! errno 66
npm ERR! Additional logging details can be found in ...
npm ERR! ... eh, who are we kidding. Don't quit your day job.
You'd want the widget to have a tracking number on it though, because otherwise they could just rip the whole widget off and slap on a fresh one.
I'm hoping that's what the purpose of the number along the right edge is.
Unless they have fixed them, the bearings are metallic and can be reset with a magnet. (I had to do this a few times when I bumped the thing putting it on)
This isn't a low-fi analog sensor used for taking novel measurements of things. It's meant to be affixed to packages to determine if they were mishandled during shipment. If a package was dropped or overturned, the ball bearings will fall out of place and (presumably) be almost impossible to return to their original positions.
Pretty cool.