Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

United Airlines has awarded millions of frequent flier miles to hackers who have uncovered gaps in the carrier's web security, in a first for the U.S. airline industry.

United confirmed with Reuters that it has paid out two awards worth 1 million miles each, worth dozens of free domestic flights on the airline. United did not confirm tweets from individuals who say they have been paid smaller awards as well.

The Chicago-based carrier has hoped to trailblaze in the area of airline web security by offering "bug bounties" for uncovering cyber risks. Through the program, researchers flag problems before malicious hackers can exploit them. The cost can be less than hiring outside consultancies.

Byers Market Newsletter Get breaking news and insider analysis on the rapidly changing world of media and technology right to your inbox. This site is protected by recaptcha

Three of United's competitors declined to comment on bug bounty programs. A fourth was not immediately available for comment.

Trade group Airlines for America said in a statement that all U.S. carriers conduct tests to make sure their systems are secure.

Read More: Want a Million Air Miles? Try to Hack United Airlines

United unveiled the approach in May just weeks before technological glitches grounded its entire fleet twice, underscoring the risks that airlines face. One incident locked the airline out of its reservations system, preventing customers from checking in, and another zapped functionality of the software United needed to dispatch its flight plan.

"We believe that this program will further bolster our security and allow us to continue to provide excellent service," United said on its website, declining additional comment.