Libya's collapse into a chaotic mess of competing militias since the overthrow and death of dictator Moamer Kadhafi has made it an ideal stomping ground for Islamic State.
US strike kills head of Islamic State in Libya: Pentagon
Islamic State militants gradually built up control of several towns that were of minimal interest to other militias, most notably Kadhafi's coastal home town of Sirte, east of Tripoli.
Libya not only offers an alternative base if the group is forced out of Syria and Iraq, experts fear it could also take advantage of tribal conflicts to expand south into the Sahel desert region of central Africa, particularly Chad, Niger and Sudan.
"IS is provoking tensions and making alliances," particularly between the competing Tuareg and Toubou tribes, said Kader Abderrahim of the Institute of Strategic and International Relations in Paris.
For now, Islamic State has only a limited foothold in Libya, but it is enough to project violence into neighbouring countries, particularly Tunisia where the group has claimed three attacks this year.
"Tunisia is the most threatened," said Abderrahim. "The terrorists cannot accept the idea of a functioning democracy just a few dozen kilometres away."
Libya also lies just 500 miles across the Mediterranean from Italy, and is a route for thousands of refugees, another weakness Islamic State could exploit.
"There is still this old historical fantasy of reconquering territory they held in Spain... of returning Andalucia to before the Middle Ages," Abderrahim said.
Libya nonetheless represents a much less hospitable environment for IS than Syria and Iraq.
"Libya without a state is not really a functioning place. Islamic State in Libya would be vulnerable to the same problems as the Kadhafi regime -- including the need to import 70 % of its food -- and there's a much smaller population from which to extort revenue and taxes," said Geoff Porter, head of the US-based North Africa Risk Consultancy.
"Were they to be eradicated in Syria and Iraq, they could try to relocate the bulk of their activities to Libya, but they would be a potentially more manageable threat."
Tunisia closing border with Libya after deadly bus bombing
Libya's long coastline and desert plains leave IS vulnerable to outside attack, said Frederic Wehrey, a senior associate with the Carnegie Endowment for International Peace who visited several cities there in September.
But as in Syria and Iraq, the problem for the West is finding partners on the ground to fight Islamic State.
"The Libyan actors that are capable of confronting the Islamic State are not really doing so for reasons of capacity but also of will," Wehrey said.
"They're holding the line, but both the main factions have other priorities."
Libya has two governments vying for power -- a militia alliance including extremists that overran Tripoli in August 2014, and the internationally recognised administration that fled to eastern Libya.
Western efforts have focused on fostering a reconciliation between the two sides, hoping they will then turn their firepower on Islamic State and other militant groups, but months of UN-brokered talks have made little progress.
For now, Islamic State has been held in check by the "super-abundance" of armed opponents in the country, Porter said.
It was driven out of the city of Derna in June by an Al qaeda affiliate and is jostling for control in other areas.
"It is not threatening the entire country," added Wehrey. "But it has a beach-head and the human catastrophe of the civil war is fertile ground for them to expand.
"We are already seeing militants from older groups defecting to the Islamic State, which has a powerful brand."
Despite the threat, there is little chance the West will intervene in Libya any time soon while attention is almost entirely focused on Syria.
Italian Prime Minister Matteo Renzi has been one of the few leaders to focus on Libya, warning last week that it could be the "next emergency".
The United States has been quietly targeting Islamic State in the country, claiming to have killed its Libyan leader, Abu Nabil, with a drone strike on a compound in Derna on November 13.
But ramping up its military involvement remains highly unlikely with the US presidential election less than a year away, Porter said.
Islamic State in Libya fights to emulate Iraq, Syria success
The Republicans have been desperately seeking to tarnish leading Democratic candidate Hillary Clinton over her handling of the Libya crisis while she was secretary of state -- particularly the death of US ambassador Christopher Stevens in 2012.
"With Clinton as frontrunner, the White House will avoid anything that will propel Libya to the front of the news cycle," said Porter.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ