A group of bandits stalked private ATM cash couriers on their drop routes and managed to pilfer more than $1 million from the workers’ trucks in a series of movie-worthy heists, Brooklyn prosecutors alleged Wednesday.

Prosecutors say that from at least December 2017 to this past summer, the alleged thieves ran a “brazen scheme” in which they followed the couriers after they left two north Brooklyn warehouses with bundles of cash bound for non-bank affiliated ATMs at businesses like laundromats and bodegas.

From there, the men allegedly trailed the deliveries to businesses throughout the city — sometimes all the way to the couriers’ homes — and used a variety of creative methods to get their hands on the money.

In one instance, four of the suspects allegedly followed a courier to his home in Queens after he picked up $480,000 from a warehouse in Williamsburg.

Once the courier got out to open his garage, one of the men allegedly stole his vehicle — with the money still inside.

In other heists, the defendants allegedly let the air out of their targets’ tires and snatched the loot once the couriers stopped off at garages or gas stations.

In all, the crew allegedly pulled 15 jobs in all boroughs except for Staten Island, according to the Brooklyn DA.

The Brooklyn District Attorney’s Office unveiled an indictment against seven men allegedly involved in the scheme Wednesday.

Four of the alleged bandits were hauled before a Brooklyn judge for arraignment on charges from an 81-count indictment that include fourth and fifth-degree conspiracy, multiple grand larceny counts and third-degree burglary — none of which are eligible for bail under recent reforms.

William Jackson, 47, Lance Spearman, 39, Jamel Cooper, 44, and Sherrod Coleman, 45, all pleaded not guilty to charges against them.

As cops walked the four handcuffed defendants into Brooklyn Supreme Court Justice Dineen’s courtroom, Coleman let some expletives fly at reporters assembled outside.

“Suck my d–k, how ‘bout that?” Cooper shouted to the media.

Riviezzo acknowledged that she could not impose bail on the suspects, but said she would place them on a high level of supervised release in which they are required to check in with social workers at Brooklyn Justice Initiatives once a week.

“I do have concerns,” the judge said. “I don’t believe a straight” return on recognizance “is appropriate.”

As Coleman left the courtroom, he held up two middle fingers as he passed by reporters.

Spearman and Cooper, however, were not allowed to walk free because of pending charges against them in Manhattan.

A fifth suspect, Johnnie Cobett, 31, has turned himself in to police and was still awaiting arraignment Wednesday evening

Two others — Jeffrey Blount, 46, and Freddie Barnes, 55 — remain at large.