Currently anyone can create a shop on any chest, and then access its inventory. This is obviously pretty bad.
Possible way to check permissions - use event priority MONITOR and check that no one else has cancelled the event. Need to test with Lockette, LWC, Grief Prevention, etc.