This is truly what it means to be hoist on one’s own petard, especially considering a “bomb” was used!

A former UBS PaineWebber (UBSN.VX) employee was sentenced to eight years in prison on Wednesday for planting a computer “logic bomb” on company networks and betting its stock would go down.

The investment scheme backfired when UBS stock remained stable after the computer attack and Roger Duronio lost more than $23,000.

A federal judge in New Jersey sentenced Duronio, 64, to 97 months in prison and ordered him to make $3.1 million in restitution to his former employer, the U.S. attorney’s office said in a statement.

Shiny. Talk about royally screwing up. This dickhead deserves everything that happened to him, especially as he did it to himself. That’s Karmic justice.