Warning over 'flare' attacks