Scientists are one step closer to creating a drug that could prevent HIV infection and even remove all the dormant copies of the deadly virus from patients with the more advanced disease.

Researchers at Salk Institute for Biological Studies in the US said such a drug could become a reality by customising a powerful defense system used by many bacteria and training this scissor-like machinery to recognise the HIV virus.

When a copy of the HIV virus sneaks into a human cell, it co-opts the cell’s own molecular machinery to make copies of the virus’s genetic material and then buries these copies in the cell’s own genes.

From there, the host’s cell becomes an HIV factory, making new copies of the virus to spread throughout the body.

Existing HIV drugs target individual steps of this lifecycle; some stop the virus from integrating into cells’ DNA, for instance, while others try to stop the affected cells from producing more virus.

Hsin-Kai Liao, first author of the study and a research associate in the lab of Juan Carlos Izpisua Belmonte, a professor of Salk’s Gene Expression Laboratory and senior author of the study, said the problem with these drugs is that they don’t actually remove the copies of the virus that are hidden within cells’ DNA.

These copies can remain dormant for years and then activate again.

Liao and Belmonte turned to a molecular defense system called CRISPR that bacteria use to cut up foreign DNA at specified spots.

Liao and Belmonte were intrigued by its defensive ability and wondered if CRISPR could be programmed to slice and destroy viruses inside human cells.

CRISPR uses bits of genetic material called guide RNAs to dictate its cuts, so the scientists developed guide RNAs that bind to unique spots on the HIV virus.