CHICAGO (WLS) -- Former Homeland Security officials and federal cybersecurity agencies are warning that artificial intelligence is increasingly being exploited by terrorists, criminals and foreign adversaries, raising concerns about potential threats to national security.

Former Homeland Security Acting Undersecretary for Intelligence and ABC News contributor John Cohen told the ABC7 I-Team that terrorist groups and criminal organizations are already using artificial intelligence to enhance their capabilities.

The growing use of AI presents significant national security concerns because it can accelerate the planning and execution of attacks, according to Cohen.

"Artificial intelligence has dramatically shortened the time it takes for a terrorist group to plan an attack, and it increases the likelihood that their attack plan will be successful," he said.

SEE ALSO | OpenAI flags concerning new AI behavior and vows to track it more closely Federal authorities, including the National Security Agency, have warned that adversaries such as China are working to exploit American-made AI technology and extract its capabilities.