Patients' lives could be at risk by the NHS's growing reliance on foreign technology, an MP has warned.

Liberal Democrat parliamentarian Martin Wrigley, a member of the Commons' Science, Innovation and Technology Committee, issued the warning amid concerns Britain could be left dangerously exposed as global tensions escalate.

He said: "In today's world, we are more dependent on technology than ever. Our lives are in apps on our phones: our banking, health, friends and more. We come to rely on technological systems - and sometimes for our lives.

"This applies to defence, and critically also to NHS live systems."

The majority of Britons (90%) believe keeping data under UK control is important when new technology is used to deliver public services, a poll of 2,000 people found.

Nearly two-thirds (63%) said it was "very important" in a survey by Merlin Strategy.

Six in 10 (62%) said they would feel unsafe about NHS and patient records relying on technology or data owned by an overseas-headquartered company.

It comes as MPs on two Commons committees have urged Labour to scrap a £330million NHS contract with US-based Palantir, whose technology is used by more than half of NHS trusts in England.

Mr Wrigley said: "The Palantir implementation of the NHS Federated Data Platform is neither sovereign nor independent of the vendor in any way.

"If the US president decided - for whatever reason - to sanction the UK, they could switch off access to it in a heartbeat. Losing operational functions could literally cost lives, stopping theatre operations or stalling cancer diagnosis.

"Dependence on procuring US software giants' services and not building a UK sovereign technical solution takes away from our technical and health security, much like relying heavily on imported food removes our food security."

The US surveillance technology company, which was co-founded by the Trump-supporting tech billionaire Peter Thiel, has come under fire by Left-wing critics for being used by the US Immigration and Customs Enforcement (ICE), and the Israeli military.

A Department of Health and Social Care spokeswoman said: "As per standard practice, this contract will be reviewed ahead of the February 2027 break clause, but it is clear that thousands more patients are benefitting from the NHS Federated Data Platform every month, including through the reduction in the number of unnecessary days spent in hospital after treatment."

A Palantir spokesman said: "Palantir is proud that our software is helping to improve patient care nationally. Since the software has been rolled out, NHS trusts using it have recorded 110,000 additional operations, a 15 per cent reduction in discharge delays for long-stay patients, and a 6.8 per cent average improvement against the NHS's 28-day Faster Diagnosis Standard.

"But our role is to provide software. How that software is used is entirely under the control of the NHS with data only able to be processed in accordance with their strict instructions." He added: "Our software is built so that no one, including Palantir itself, can access a customer's data without their cooperation."