Im honestly at a loss. Its an animation, if it was a particle effect it would be simple. Just watch your chests or bury the important stuff. But people with griefcraft will quickly detect buried things, so I don't think its possible to build a 100% idiot proof defense.
Design challenge: Machine that senses if a chest is open or not!