Article I, Section 8, paragraph 11 of the U.S. Constitution authorizes Congress to “grant Letters of Marque and Reprisal, and make rules concerning captures on land and water.”
Marque & Reprisal suggested in 2001 as an option to fight stateless terrorism.
Apparently, Thomas Jefferson used this authority to fight the Barbary Pirates.