Package thievery has only increased in recent years as more people shop online for large-scale gifts. Unfortunately, sometimes there's not much you can do about it if you don't have an outside camera and alarm system watching your home, and sometimes even that isn't enough. Apple engineer and YouTuber Mark Rober decided to go the extra mile recently to stop rampant package thieving at his house, building a complex glitter bomb and stink bomb trap hidden in the box of Apple's HomePod.

In a new video, Rober explains a bit of the early development of the trap, which took six months, multiple design iterations, and help from his friend Sean Hodgins to help build the smaller pieces of electronics inside the so-called "revenge package." Hodgins posted an in-depth video about building the glitter bomb as well, which you can check out here.

The brain of the trap is a custom printed circuit board with an accelerometer, which checks to see if it's left a set geofenced area of Rober's house when it's been moved. If it has, four included Android smartphones wake up and start recording using their wide-angle lenses, allowing Rober to capture every angle of the package thief's reaction when the top of the HomePod box is removed.

homepod glitter bomb

To top it all off, Rober included a mechanism that sprays fart spray into the area five times every 30 seconds once the lid has been removed. The engineer said that this ensured he could recover the package because the thief would likely end up throwing it outside of their car or home in frustration, but even if they didn't all four Android phones had LTE data plans and automatic cloud uploads. This way, he was going to be able to recover the video footage even if the package was permanently lost.

Rober even placed a reference to the film Home Alone directly on the package's shipping label, but it goes unnoticed by every thief in the video. Eventually, the engineer shares a collection of reaction shots from the glitter bomb's cameras, and once it begins working for him on multiple occasions, he passes it on to his friends who have also had online packages stolen from their porches. In every case recorded, the thieves eventually ditch the package without realizing there are four smartphones in it, and Rober is able to recover it.

You can check out more of Rober's science and design-themed videos on his YouTube channel.