The robot apocalypse has arrived ... if you happen to be a crown-of thorns starfish.

Why target these poor, innocent starfish? Well, the truth is that they aren't so innocent. When crown-of-thorns starfish population densities are under control, these beautiful creatures play a balanced role in the ecosystem of the Great Barrier Reef. But when their population booms, they can quickly become a plague, consuming coral reefs — their favorite food — with a frenzied fervor.

Unfortunately, such population booms have been happening more and more frequently along the Great Barrier Reef over the last several decades. The problem has become so ubiquitous that scientists now believe that crown-of-thorns starfish are responsible for an estimated 40 percent of the Great Barrier Reef’s total decline in coral cover.

Queensland University of Technology researchers created a killer robot in 2016 with the singular purpose of seeking out and terminating crown-of-thorns starfish, reports Techie News.

The robot, called COTSbot (short for Crown-of-Thorns Starfish robot), is a Terminator-esque killing machine. It is designed to hunt down crown-of-thorns starfish and inject them with a lethal brew of bile salts. It is capable of diving for as long as eight hours in order to deliver its poisonous mixture to as many as 200 starfish. Equipped with stereoscopic cameras for depth perception, five thrusters for stability, GPS and pitch-and-roll sensors, as well as a unique pneumatic injection arm, it is an efficient executioner. The only thing missing is an audio track proclaiming "Hasta la vista, baby" each time it vanquishes a starfish.

A smaller and mightier robot

In 2018, the same team developed a smaller version of the COTSbot called the RangerBot. It is less expensive and more agile in the water. "RangerBot will be designed to stay underwater almost three times longer than a human diver, gather vastly more data, map expansive underwater areas at scales not previously possible, and operate in all conditions and all times of the day or night," the university said on its website.

Researchers hope that by releasing a fleet of COTSbots they might restore some balance to the fragile ecology of the Great Barrier Reef, which is already under threat from pollution, tourism, coastal development and global warming.

The bots are autonomous, meaning they are capable of acting independently. For this reason especially, researchers want to make sure they are intelligent enough to identify crown-of-thorns starfish accurately. The last thing the reef needs is a fleet of assassin machines indiscriminately killing the wrong starfish species or other creatures that are healthy contributors to the ecosystem.

The robots' advanced computer vision and learning algorithm allow it to learn to target crown-of-thorns starfish more accurately. If for any reason the system struggles to identify its target, it can also record images and send them to researchers for visual confirmation.

If they are successful, the hope is to use these robots in other reefs around the world.

"The systems software architecture has been developed with task expansion in mind," Matthew Dunbabin, a professor of electrical engineering and robotics at Queensland University of Technology, told the Daily Beast. "The system can be easily upgraded with new detection modules, similar to the way plugins in apps work, without the need to change hardware."

Editor's note: This article has been updated since it was originally published in September 2015.