Several U.S. prisons have reported the use of drones to deliver drugs, cellphones and other contraband to inmates. German-based company Dedrone shows how a drone can be used for smuggling at a prison. (Dedrone)

Several U.S. prisons have reported the use of drones to deliver drugs, cellphones and other contraband to inmates. German-based company Dedrone shows how a drone can be used for smuggling at a prison. (Dedrone)

Prison inmates, a remarkably ingenious bunch, are disrupting long-standing methods of smuggling drugs, porn and cellphones the same way online retailers hope to one day deliver socks and underwear to American homes — through the air, with drones.

By coordinating with wingmen on the outside for shipments of contraband, inmates can bypass the need to bribe corrupt guards or persuade family members to hide forbidden items in body ­cavities.

Though nobody is precisely sure just how many drones are landing every day in prisons, the threat is global. Last year, there was a melee at an Ohio prison after a drone dropped heroin into the exercise yard. In April, security cameras at a London prison recorded a drone delivering drugs directly to an inmate’s window.

And in Western Maryland earlier this year, prosecutors convicted a recently released inmate and a prisoner serving a life sentence on charges of attempted drug distribution and delivery of contraband after they completed several nighttime missions netting them $6,000 per drop in product sales. It was such a lucrative scheme that the former inmate had purchased a new truck for himself with the profits.

In many cases, the drones soaring over prison walls are the same $50-to-$500 devices that show up under Christmas trees only to be promptly crashed into trees by their new owners. Flight paths are somewhat more clear in the stark nothingness surrounding many prisons.

Maryland corrections officials display a drone used in a smuggling operation at a Western Maryland prison last year. (Anthony DePanise/Maryland Department of Public Safety and Correctional Services)

[Wear a helmet: All those Christmas drones are falling out of the sky]

“These things can be fun toys if you’re not trying to smuggle contraband into a prison,” said Alleghany County assistant state’s attorney Erich Bean, who prosecuted the Maryland case, calling it “one of the most interesting ones I’ve ever handled.”

Prison officials are dealing with this new threat even as inmates continue using older, higher-risk methods. Earlier this month, more than 50 correctional officers and inmates were charged in a smuggling scheme at Eastern Correctional Institution, Maryland’s largest prison.

Drone deliveries, while clever, aren’t all that surprising given how much time inmates spend watching television news, security officials say. They’ve likely seen stories about retailers such as Amazon (founded by Washington Post owner Jeffrey P. Bezos) pushing the concept.

“We are trying to keep up with technology just like everyone else,” said Stephen T. Moyer, secretary of public safety and correctional services for Maryland. “So this is a huge challenge for all of us in corrections.”

And prisons aren’t the only secure facilities grappling with consumer drones. Last winter, an errant pilot crashed a drone onto the White House grounds. A few months later in Japan, a man was arrested after landing a drone carrying radioactive material on the prime minister’s roof. Power plants, nuclear facilities, chemical companies, data centers, airports and stadiums have also reported nefarious drone incursions.

The threats to prisons and other facilities have given rise to start-ups selling anti-drone detection systems that use thermal imaging and other technology to spot airborne infiltrators. Some executives have jokingly compared the technology to “Star Wars” — not the movies, but the Reagan-era missile defense system.

Maryland corrections officials display evidence from a drone smuggling operation at a Maryland prison last year. (Anthony DePanise/Maryland Department of Public Safety and Correctional Services)

[A drone of your very own: These aren’t your dad’s remote-controlled aircraft]

The industry is even attracting former Defense Department and senior counterterrorism officials.

DroneShield, with offices in Herndon, Va., and Australia, was started by John Franklin, a former researcher in the Air and Missile Defense Sector at the Johns Hopkins University Applied Physics Laboratory. The company’s board members include Samantha Ravich, who was Vice President Richard B. Cheney’s deputy national security adviser.

DroneShield installs shoe-size boxes near potential targets — at the Boston Marathon, they were attached to light posts — that listen closely for motor and propeller sounds that drones make in the air. The system then sends alerts to law enforcement. The company is working with prisons in several U.S. states and in Europe.

In New York, the Suffolk County jail recently installed a competing product made by Dedrone, a German company co-founded by a former executive at a consumer drone maker. (Irony alert.) Dedrone shoots infrared video and scans radio frequencies for specific signals from pilot remote controls indicating drone movements.

“If it looks like a drone, if it sounds like a drone, if it’s acting like a drone — it’s a drone,” said Jörg Lamprecht, DeDrone’s founder.

Michael Sharkey, chief of staff for the Suffolk County Sheriff’s Office, said that he was not aware of any drone deliveries before Dedrone was installed and that there have been no attempts since then.

“But we have to stay ahead of the curve,” he said. “There are access points available now that weren’t available before. We don’t want any special deliveries made into our correctional facilities.”

Following the arrests in the Maryland drone case, Moyer, the state’s corrections secretary, asked Gov. Larry Hogan (R) for $1.5 million to test detection products. The funds have been allocated in the 2017 budget.

Bean, the prosecutor in the case, said Moyer was concerned and in close contact with him throughout the trial, which revealed how remarkably easy it was for the scheme to unfold.

Charles Brooks, convicted of conspiracy to commit murder in Prince George’s County in 2002, was on a special tier at the Western Correctional Institution for inmates taking part in a rehabilitative program training rescued dogs. He became friends with Thaddeus Shortz, a 25-year-old serving time for drug offenses.

Somewhere along the way, they quietly co-founded their airborne contraband operation, which commenced with Shortz’s release in early 2015.

Shortz would tightly wrap drugs, cellphones and pornography in bags and attach them to a drone. Late at night, Shortz would drive to an access road near the prison and land the drone in the prison yard.

Brooks, walking his dog, would detach the package. Then the drone would disappear again into the night sky.

Corrections officials learned about the scheme from inmate tips and set up a sting with local law enforcement. They caught Shortz near the prison in a brand-new truck loaded with a drone and several packages containing drugs, cellphones and DVDs.

“The titles written on them indicate they are pornographic movies,” a police report said.

Shortz, apparently proud of his accomplishments, told investigators exactly how the conspiracy worked, describing himself as “one of the ‘top’ guys on the outside,” according to the police report. He weighed each package to make sure it did not exceed 10 ounces — the maximum payload weight.

Officers asked him what he did with the proceeds. He used $20,000 to buy a new truck. Also, he had just ordered a custom-built drone capable of carrying more than 16 ounces in an attached basket.

A Smith & Wesson .380 pistol weighs 11.85 ounces.

“The worst-case scenario,” said Lamprecht, of Dedrone, “is that they get a gun over the walls.”