Terraria item ID 5132. Terraria 1.4.5.7.
The Stinkbug is a harmless critter which spawns on the surface. The Stinkbug has only 5 health and no defense, and can be damaged by other enemies and players. The Stinkbug can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Stinkbug Cage). Once crafted, the Stinkbug cannot be released again, unless the furniture item is de-crafted via Shimmer. The Stinkbug can be used as bait for fishing, with 10% bait power. Stinkbugs can also be used to craft the Flymeal and Stinkbug Blockers.
Description from the Terraria Wiki.