President Donald Trump plans to sign an executive order as soon as Wednesday that will slap sanctions on any foreign companies or people who interfere in U.S. elections, based on intelligence agency findings, two sources said.

Trump's decision coincides with intelligence agencies, military and law enforcement preparing to defend the Nov. 6 congressional elections from predicted foreign attacks even as Trump derides a special counsel investigation into Russian interference in the 2016 elections.

The White House declined comment.