As a teenager, Keoni Gandall already was operating a cutting-edge research laboratory in his bedroom in Huntington Beach, California.

While his friends were buying computer games, he acquired more than a dozen pieces of equipment – a transilluminator, a centrifuge, two thermocyclers – in pursuit of a hobby that once was the province of PhDs in institutional labs.

“I just wanted to clone DNA using my automated lab robot and feasibly make full genomes at home,” he says.

​Gandall was far from alone. In the past few years, so-called biohackers across the country have taken gene editing into their own hands. As the equipment becomes cheaper and the expertise in gene-editing techniques, mostly Crispr-Cas9, more widely shared, citizen scientists are attempting to re-engineer DNA in surprising ways.

Until now, the work has amounted to little more than DIY misfires. A year ago, a biohacker injected himself at a conference with modified DNA that he hoped would make him more muscular. (It did not.)

Earlier this year, at Body Hacking Con in Austin, Texas, a biotech executive injected himself with what he hoped would be a herpes treatment. (It didn’t work.) His company already had livestreamed a man injecting himself with a home-brewed treatment for HIV. (His viral load increased.)

Gandall, now 18 and a research fellow at Stanford, says he only wants to ensure open access to gene-editing technology, believing future biotech discoveries may come from the least expected minds.

But he is quick to acknowledge that the do-it-yourself genetics revolution one day may go catastrophically wrong.

“Even I would tell you, the level of DNA synthesis regulation, it simply isn’t good enough,” Gandall says. “These regulations aren’t going to work when everything is decentralised – when everybody has a DNA synthesiser on their smartphone.”

A researcher pipettes DNA to use for gene editing of stem cells (Alamy)

The most pressing worry is that someone somewhere will use the spreading technology to create a bioweapon.

Already a research team at the University of Alberta in Canada has recreated from scratch an extinct relative of smallpox, horsepox, by stitching together fragments of mail-order DNA in just six months for about $100,000 (£75,000) – without a glance from law enforcement officials.

The team purchased overlapping DNA fragments from a commercial company. Once the researchers glued the full genome together and introduced it into cells infected by another type of poxvirus, the cells began to produce infectious particles.

To some experts, the experiment nullified a decades long debate over whether to destroy the world’s two remaining smallpox remnants – at the Centres for Disease Control and Prevention in Atlanta and at a research centre in Russia – since it proved that scientists who want to experiment with the virus can now create it themselves.

The study’s publication in the journal PLOS One included an in-depth description of the methods used and – most alarming to Gregory D Koblentz, the director of the biodefence graduate programme at George Mason University in Virginia – a series of new tips and tricks for bypassing roadblocks.

“Sure, we’ve known this could be possible,” Koblentz says. “We also knew North Korea could someday build a thermonuclear weapon, but we’re still horrified when they actually do it.”

Experts urged the journal not publish the article, one calling it “unwise, unjustified, and dangerous”. Even before publication, a report from a World Health Organisation meeting noted that the endeavour “did not require exceptional biochemical knowledge or skills, significant funds or significant time”.

But the study’s lead researcher, David Evans, a virologist at the University of Alberta, says he alerted several Canadian government authorities to his poxvirus venture, and none raised an objection.

Many experts agree that it would be difficult for amateur biologists of any stripe to design a killer virus on their own. But as more hackers trade computer code for the genetic kind, and as their skills become increasingly sophisticated, health security experts fear that the potential for abuse may be growing.

“To unleash something deadly, that could really happen any day now – today,” says George Church, a researcher at Harvard and a leading synthetic biologist. “The pragmatic people would just engineer drug-resistant anthrax or highly transmissible influenza. Some recipes are online.”

“If they’re willing to inject themselves with hormones to make their muscles bigger, you can imagine they’d be willing to test more powerful things,” Church adds. “Anyone who does synthetic biology should be under surveillance, and anyone who does it without a license should be suspect.”

Authorities in the United States have been hesitant to undertake actions that could squelch innovation or impinge on intellectual property. The laws that cover biotechnology have not been significantly updated in decades, forcing regulators to rely on outdated frameworks to govern new technologies.

The cobbled-together regulatory system, with multiple agencies overseeing various types of research, has left gaps that will only widen as the technologies advance.

Academic researchers undergo strict scrutiny when they seek federal funding for “dual-use research of concern”: experiments that, in theory, could be used for good or ill. But more than half of the US’s scientific research and development is funded by nongovernmental sources.

In 2013, a quest to create a glowing plant via genetic engineering drew almost half a million dollars through Kickstarter, the crowdfunding website.

“There really isn’t a national governance per se for those who are not federally or government funded,” says William So, a biological countermeasures specialist at the FBI.

Home laboratories are becoming increasingly popular among citizen scientists in America (Alamy)

Instead, he says, the agency relies on biohackers themselves to sound the alarm regarding suspicious behaviour.

“I do believe the FBI is doing their best with what they have,” says Dr Thomas V Inglesby, director of the Johns Hopkins Centre for Health Security in Baltimore.

“But if you really want to do this, there isn’t a whole lot stopping you.”

The FBI has befriended many white-hat biohacking labs, among them Genspace in New York City. Behind an inconspicuous steel door on a gritty, graffiti-lined street, biohackers-in-training – musicians, engineers, retirees – routinely gather for crash courses in genetic engineering.

Participants in “Biohacker Boot Camp” learn basic technical skills to use in homegrown genetics projects, like concocting algae that glows.

“The double helix is the most iconic image of the 20th century, perhaps rivalled only by the mushroom cloud,” the boot camp’s leader, Michael Flanagan, says to a class.

Genspace’s entryway resembles a university dormitory, complete with sagging couch, microwave, mini-fridge.

But the lab itself is palatial: two stories of white brick walls, industrial kitchen counters marked with marker pen notes, shelves towering with glassware and reagents.

World news in pictures Show all 50 1 /50 World news in pictures World news in pictures 14 September 2020 Japan's Prime Minister Shinzo Abe, Chief Cabinet Secretary Yoshihide Suga, former Defense Minister Shigeru Ishiba and former Foreign Minister Fumio Kishida celebrate after Suga was elected as new head of the ruling party at the Liberal Democratic Party's leadership election in Tokyo Reuters World news in pictures 13 September 2020 A man stands behind a burning barricade during the fifth straight day of protests against police brutality in Bogota AFP via Getty World news in pictures 12 September 2020 Police officers block and detain protesters during an opposition rally to protest the official presidential election results in Minsk, Belarus. Daily protests calling for the authoritarian president's resignation are now in their second month AP World news in pictures 11 September 2020 Members of 'Omnium Cultural' celebrate the 20th 'Festa per la llibertat' ('Fiesta for the freedom') to mark the Day of Catalonia in Barcelona. Omnion Cultural fights for the independence of Catalonia EPA World news in pictures 10 September 2020 The Moria refugee camp, two days after Greece's biggest migrant camp, was destroyed by fire. Thousands of asylum seekers on the island of Lesbos are now homeless AFP via Getty World news in pictures 9 September 2020 Pope Francis takes off his face mask as he arrives by car to hold a limited public audience at the San Damaso courtyard in The Vatican AFP via Getty World news in pictures 8 September 2020 A home is engulfed in flames during the "Creek Fire" in the Tollhouse area of California AFP via Getty World news in pictures 7 September 2020 A couple take photos along a sea wall of the waves brought by Typhoon Haishen in the eastern port city of Sokcho AFP via Getty World news in pictures 6 September 2020 Novak Djokovic and a tournament official tends to a linesperson who was struck with a ball by Djokovic during his match against Pablo Carreno Busta at the US Open USA Today Sports/Reuters World news in pictures 5 September 2020 Protesters confront police at the Shrine of Remembrance in Melbourne, Australia, during an anti-lockdown rally AFP via Getty World news in pictures 4 September 2020 A woman looks on from a rooftop as rescue workers dig through the rubble of a damaged building in Beirut. A search began for possible survivors after a scanner detected a pulse one month after the mega-blast at the adjacent port AFP via Getty World news in pictures 3 September 2020 A full moon next to the Virgen del Panecillo statue in Quito, Ecuador EPA World news in pictures 2 September 2020 A Palestinian woman reacts as Israeli forces demolish her animal shed near Hebron in the Israeli-occupied West Bank Reuters World news in pictures 1 September 2020 Students protest against presidential elections results in Minsk TUT.BY/AFP via Getty World news in pictures 31 August 2020 The pack rides during the 3rd stage of the Tour de France between Nice and Sisteron AFP via Getty World news in pictures 30 August 2020 Law enforcement officers block a street during a rally of opposition supporters protesting against presidential election results in Minsk, Belarus Reuters World news in pictures 29 August 2020 A woman holding a placard reading "Stop Censorship - Yes to the Freedom of Expression" shouts in a megaphone during a protest against the mandatory wearing of face masks in Paris. Masks, which were already compulsory on public transport, in enclosed public spaces, and outdoors in Paris in certain high-congestion areas around tourist sites, were made mandatory outdoors citywide on August 28 to fight the rising coronavirus infections AFP via Getty World news in pictures 28 August 2020 Japanese Prime Minister Shinzo Abe bows to the national flag at the start of a press conference at the prime minister official residence in Tokyo. Abe announced he will resign over health problems, in a bombshell development that kicks off a leadership contest in the world's third-largest economy AFP via Getty World news in pictures 27 August 2020 Residents take cover behind a tree trunk from rubber bullets fired by South African Police Service (SAPS) in Eldorado Park, near Johannesburg, during a protest by community members after a 16-year old boy was reported dead AFP via Getty World news in pictures 26 August 2020 People scatter rose petals on a statue of Mother Teresa marking her 110th birth anniversary in Ahmedabad AFP via Getty World news in pictures 25 August 2020 An aerial view shows beach-goers standing on salt formations in the Dead Sea near Ein Bokeq, Israel Reuters World news in pictures 24 August 2020 Health workers use a fingertip pulse oximeter and check the body temperature of a fisherwoman inside the Dharavi slum during a door-to-door Covid-19 coronavirus screening in Mumbai AFP via Getty World news in pictures 23 August 2020 People carry an idol of the Hindu god Ganesh, the deity of prosperity, to immerse it off the coast of the Arabian sea during the Ganesh Chaturthi festival in Mumbai, India Reuters World news in pictures 22 August 2020 Firefighters watch as flames from the LNU Lightning Complex fires approach a home in Napa County, California AP World news in pictures 21 August 2020 Members of the Israeli security forces arrest a Palestinian demonstrator during a rally to protest against Israel's plan to annex parts of the occupied West Bank AFP via Getty World news in pictures 20 August 2020 A man pushes his bicycle through a deserted road after prohibitory orders were imposed by district officials for a week to contain the spread of the Covid-19 in Kathmandu AFP via Getty World news in pictures 19 August 2020 A car burns while parked at a residence in Vacaville, California. Dozens of fires are burning out of control throughout Northern California as fire resources are spread thin AFP via Getty World news in pictures 18 August 2020 Students use their mobile phones as flashlights at an anti-government rally at Mahidol University in Nakhon Pathom. Thailand has seen near-daily protests in recent weeks by students demanding the resignation of Prime Minister Prayut Chan-O-Cha AFP via Getty World news in pictures 17 August 2020 Members of the Kayapo tribe block the BR163 highway during a protest outside Novo Progresso in Para state, Brazil. Indigenous protesters blocked a major transamazonian highway to protest against the lack of governmental support during the COVID-19 novel coronavirus pandemic and illegal deforestation in and around their territories AFP via Getty World news in pictures 16 August 2020 Lightning forks over the San Francisco-Oakland Bay Bridge as a storm passes over Oakland AP World news in pictures 15 August 2020 Belarus opposition supporters gather near the Pushkinskaya metro station where Alexander Taraikovsky, a 34-year-old protester died on August 10, during their protest rally in central Minsk AFP via Getty World news in pictures 14 August 2020 AlphaTauri's driver Daniil Kvyat takes part in the second practice session at the Circuit de Catalunya in Montmelo near Barcelona ahead of the Spanish F1 Grand Prix AFP via Getty World news in pictures 13 August 2020 Soldiers of the Brazilian Armed Forces during a disinfection of the Christ The Redeemer statue at the Corcovado mountain prior to the opening of the touristic attraction in Rio AFP via Getty World news in pictures 12 August 2020 Young elephant bulls tussle playfully on World Elephant Day at the Amboseli National Park in Kenya AFP via Getty World news in pictures 11 August 2020 French Prime Minister Jean Castex is helped by a member of staff to put a protective suit on prior to his visit at the CHU hospital in Montpellier AFP via Getty World news in pictures 10 August 2020 Locals harvest their potatoes as Mount Sinabung spews volcanic ash in Karo, North Sumatra province, Indonesia Antara Foto/Reuters World news in pictures 9 August 2020 Doves fly over the Peace Statue at Nagasaki Peace Park during the memorial ceremony held for the 75th anniversary of the atomic bombing EPA World news in pictures 8 August 2020 Anti-government protesters try to remove concrete wall that installed by security forces to prevent protesters reaching the Parliament square, during a protest against the political elites and the government after this week's deadly explosion in Beirut AP World news in pictures 7 August 2020 A protester throws a stone towards Israeli forces in the village of Turmus Aya, north of Ramallah in the occupied West Bank, following a march by Palestinians against the building of Israeli settlements AFP via Getty World news in pictures 6 August 2020 A woman yells as soldiers block a road for French President Emmanuel Macron's visit the Gemmayzeh neighborhood. The area in Beirut suffered extensive damage from the explosion at the seaport AP World news in pictures 5 August 2020 Damage at the site of Tuesday's blast in Beirut's port area, Lebanon Reuters World news in pictures 4 August 2020 A large explosion in the Lebanese capital Beirut. The blast, which rattled entire buildings and broke glass, was felt in several parts of the city AFP via Getty World news in pictures 3 August 2020 A general view shows the new road bridge in Genoa, Italy ahead of its official inauguration, after it was rebuilt following its collapse on August 14, 2018 which killed 43 people Reuters World news in pictures 2 August 2020 Empty stall spaces are seen hours before a citywide curfew is introduced in Melbourne, Australia EPA World news in pictures 1 August 2020 People take part in a demonstration by the initiative "Querdenken-711" with the slogan "the end of the pandemic - the day of freedom" to protest against the current measurements to curb the spread of COVID-19 in Berlin, Germany AFP via Getty World news in pictures 31 July 2020 Pilgrims circumambulating around the Kaaba, the holiest shrine in the Grand mosque in Mecca. Muslim pilgrims converged today on Saudi Arabia's Mount Arafat for the climax of this year's hajj, the smallest in modern times and a sharp contrast to the massive crowds of previous years Saudi Ministry of Media/AFP World news in pictures 30 July 2020 The Mars 2020 Perseverance mission lifts off at the Kennedy Space Centre in Florida. The mission is part of the USA's largest moon to Mars exploration. Nasa will attempt to establish a sustained human presence on and around the moon by 2028 through their Artemis programme EPA World news in pictures 29 July 2020 A woman refreshes herself in a outdoor pool in summer temperatures in Ehingen, Germany dpa via AP World news in pictures 28 July 2020 Malaysia's former prime minister Najib Razak speaks to the media after he was found guilty in his corruption trial in Kuala Lumpur AFP via Getty World news in pictures 27 July 2020 North Korean leader Kim Jong Un poses for a photograph after conferring commemorative pistols to leading commanding officers of the armed forces on the 67th anniversary of the "Day of Victory in the Great Fatherland Liberation War". Which marks the signing of the Korean War armistice KCNA via Reuters

It’s a significant upgrade for Genspace. Daniel Grushkin, a founder, used to host bacterial experiments in his living room over pizza and beer.

The group later moved into a rental for creatives – roboticists, organic fashion designers, miniature-cupcake makers – and constructed a makeshift lab using old patio screen doors. It was Grushkin who reached out to the FBI.

“People might be calling you because we are nonscientists doing science in a busted-up old building,” he recalls telling bureau agents. “But we aren’t a meth lab, and we aren’t bioterrorists.”

Grushkin has become a trailblazer in biohacking risk management, in part because he recognises that letting neophytes manipulate live organisms is “less like a ‘hackerspace’, more like a pet store”.

He has posted community guidelines, forbidden infectious agents in the lab, and accepted a grant of almost $500,000 to design security practices for some four dozen similar labs across the country.

A Genspace researcher puts DNA into a tube during a conference in Germany (Alamy)

Most of them report not having heard so much as a greeting from the FBI. At many, the consequence for breaking safety guidelines is simply the loss of membership – leaving the perpetrator to experiment in isolation, but still among thousands of enthusiasts huddled online in Facebook groups, email lists and Reddit pages.

Many find their inspiration in Josiah Zayner, a Nasa scientist turned celebrity biohacker who straps a GoPro camera to his forehead and streams experiments on himself from his garage. He’s the man who tried to make his muscles bigger.

“This is just normal Scotch packing tape,” Zayner, chief executive of a biohacking startup called The Odin, tells his YouTube audience one summer night, muttering expletives as he strips the top layer of skin from his forearm. “This is Day 1 of my experiment to genetically engineer myself.”

In an interview, Zayner concedes that among his biohacking followers, an accident – not a premeditated offence – is conceivable.

“I guess I can see why they don’t let the entire public have access to Ebola,” he says. “The risk is, if they’re working with Ebola and their house burns down, the Ebola could somehow get out.”

Even Zayner is apprehensive of the movement he helped begin; he plans to include live frogs in The Odin’s DIY Crispr kits to encourage his followers to experiment on animals instead of themselves – or others.

“I have no doubt that someone is going to get hurt,” he says. “People are trying to one-up each other, and it’s moving faster than any one of us could have ever imagined – it’s almost uncontrollable. It’s scary.”

If nefarious biohackers were to create a biological weapon from scratch – a killer that would bounce from host to host to host, capable of reaching millions of people, unrestrained by time or distance – they would probably begin with some online shopping.

A website called Science Exchange, for example, serves as a Gumtree for DNA, a commercial ecosystem connecting almost anyone with online access and a valid credit card to companies that sell cloned DNA fragments.

Gandall, the Stanford fellow, often buys such fragments – benign ones. But the workarounds for someone with ill intent, he says, might not be hard to figure out.

Biohackers will soon be able to forgo these companies altogether with an all-in-one desktop genome printer: a device much like an inkjet printer that employs the letters AGTC – genetic base pairs – instead of the colour model CMYK.

A similar device already exists for institutional labs, called BioXp 3200, which sells for about $65,000. But at-home biohackers can start with DNA Playground from Amino Labs, a genetic oven that costs less than an iPad, or The Odin’s Crispr gene-editing kit for $159.

Scientists are concerned someone will use the technology to create a bioweapon (Alamy)

Tools like these may be threatening in the wrong hands, but they also helped Gandall start a promising career.

At age 11, he picked up a virology textbook at a church book fair. Before he was old enough for a driver’s licence, he was urging his mother to shuttle him to a research job at the University of California, Irvine.

He began dressing exclusively in red polo shirts to avoid the distraction of choosing outfits. He doodled through high school – correcting biology teachers – and was kicked out of a local science fair for what was deemed reckless home-brew genetic engineering.

Gandall barely earned a high school diploma, he says, and was rebuffed by almost every university he applied to – but later gained a bioengineering position at Stanford University.

“Pretty ironic, after they rejected me as a student,” he says.

He moved to East Palo Alto – with 14 red polo shirts – into a house with three nonbiologists, who don’t much notice that DNA is cloned in the corner of his bedroom.

​Gandall’s mission at Stanford is to build a body of genetic material for public use. To his fellow biohackers, it’s a noble endeavour.

To biosecurity experts, it’s tossing ammunition into trigger-happy hands.

“There are really only two things that could wipe 30 million people off of the planet: a nuclear weapon, or a biological one,” says Lawrence O Gostin, an adviser on pandemic influenza preparedness to the World Health Organisation.

“Somehow, the US government fears and prepares for the former, but not remotely for the latter. It baffles me.”