"Wonder what procedures are present at the ports to deal with this possible angle of attack? "
They don't need to even bring one into port.  They only need to have a cargo or fishing ship approach the 12-mile limit and fire a short-range missile from a container on the deck.
https://www.youtube.com/watch?v=mbUU_9bOcnM
"the trend of weaponizing civilian freighters"