Singapore’s Energy Markets Authority has started using technology developed for the maritime industry to help thwart terrorist attacks on ships passing through the Strait of Malacca.

The technology, first used by the government in 2004, uses artificial intelligence to analyse information being posted on the web and in publications to detect early warning signs of possible attacks.

The authority has been using the technology, called Rah (risk assessment and horizon scanning), since 2006 but the government has only just revealed its use.

Instead of security, however, the Energy Markets Authority has been using Rah to test out any of its plans alongside the movements of the energy market, from oil shocks to the rise and fall of domestic fuel demand.