You want an anti-pirate system that will work? That's easy, we've had a working system for centuries!
You hang 'em from the yardarm as a warning to others, and then you burn their ships to the water line.
Pardon? Oh, you mean the OTHER kind of piracy.