Apple (AAPL -2.19%) is a vigilant and effective guardian against consumer fraud, or at least the company would like people to believe that. The tech giant said in a press release Tuesday that its App Store software marketplace prevented over $1.5 billion in potentially fraudulent transactions last year.

According to Apple statistics, the App Store rejected over 48,000 apps for being loaded with hidden or undocumented elements and more than 215,000 for privacy violations. Around 1 million transgressing customer accounts were banned from making transactions entirely.

A hooded hacker using phones and a PC.

Image source: Getty Images.

"While it's impossible to catch every act of fraud or ill intent before it happens, thanks to Apple's industry-leading antifraud efforts, security experts agree the App Store is the safest place to find and download apps," the company wrote in the press release.

In what's probably not a coincidence, the announcement came just after the start of an important antitrust lawsuit that prominent developer Epic Games brought against Apple. The dispute centers around the fairly hefty fee (typically 30%) Apple charges developers that sell apps and add-ons through the App Store.

The fight began when Epic built a workaround into its Fortnite game, with which users could bypass the App Store and make purchases directly from the developer. Apple unceremoniously removed Fortnite from its platform, then pulled Epic's developer account.

It should be noted that Epic got into a similar dispute with Alphabet, whose Google Play platform had basically the same pricing regime.

Given that the trial is sure to be closely watched and very contentious, it seems that with its security announcement Apple is trying to beef up the reputation of the App Store. Perhaps if consumers see the platform as beneficial and protective rather than predatory, it might win the Epic dispute in the court of public opinion, at least.