ALSO READWe're locked & loaded to retaliate if you act unwisely: Trump warns N Korea We're dead meat if North Korea launches ballistic missile: Guam islanders Trump praises Kim Jong-un for backing down on Guam threat For Indians, Donald Trump's America is a land of lost opportunity N Korea compares Trump to Hitler, slams 'America-first' policy as Nazism
The weekly data, which tracks fund flows from Wednesday to Wednesday, showed investors pulled $1.3 billion from stock funds with outflows clustered from Thursday to Monday after tensions spiked between the United States and North Korea.
Investors fled for the perceived safe haven of bonds, which attracted $3.5 billion, and precious metals, which pulled in $500 million, their biggest inflows in 10 weeks, BofA-ML said. Gold is currently trading at nine-month highs.
Within equities, it was the US stocks that again bore the brunt of the selling with $4 billion of redemptions. The S&P 500 fell 1.4 percent last week, its biggest fall since March.
Emerging market stocks also suffered their first outflows in 22 weeks, losing $1.6 billion as investors recoiled from riskier assets.
Emerging market debt funds suffered their first outflows in 29 weeks - albeit a modest $100 million - whilst $2.3 billion was pulled from high yield bond funds, the biggest outflows in almost six months.
BofA-ML noted that high yield spreads jumped 36 basis points (bps) last week from 364 bps to 400 bps over Treasuries.
Looking ahead, the bank suggested there could be a big risk-off trade in markets in August or September if growing geopolitical, political or tax reform volatility showed up in weaker August US consumer confidence or the European Union and Japanese business confidence data.
So far investors continue to favor European and Japanese equities, which attracted $500 million and $2.5 billion respectively over the week, with Japan enjoying its biggest inflows in 20 weeks.
Other 'risk-off' scenarios that BofA-ML suggested included a rising US dollar fuelled by risk aversion, despite lower U.S. Treasury yields and a further drop in US presidential approval ratings, or if US high yield credit spreads rose further towards 500 basis points.