Activated solder flux residues left on a PCBA can cause severe corrosion problems. The leads on the component shown below are severely corroded.
The elemental spectrum suggests that the needle like corrosion product is lead chloride & lead bromide.
Conclusion – avoid inadequate cleaning of PCBAs.
Check out SEM Lab, Inc. to learn more.