Most of my ultra low current projects required ultrasonic cleaning of my PCBs to get the lowest currents.
Under microscope, you can clearly see micro grains of solder tin caught in the flux inbetween adjacent IO pins resistively pulling them high or low against my driven OP settings when I set the processor into ultra low power down. I've seen current as high as 1ma before cleaning and down to the proper nanoamps after. Note that old fashioned leaded solder was nowhere near as bad as lead free, no clean flux variants.
Before I had an ultrasonic cleaner, I did use an ultrasonic vibrating electric toothbrush with both both a super strong cleaner, then a flux remover, then water. It was a hassle to truly clean the pcb, but once done, the excess current was gone.
*** Also, leave no IO floating. Always have every IO tied to GND or VCC, or, drive them to GND or VCC, or make sure if you have weak pull-ups enabled, that those IO reach VCC completely at rest for the least amount of current draw.