Paint doped with a bacterial toxin that attacks barnacles only when the creatures infiltrate the paint could keep other marine life from being collateral damage in the fight to keep hulls smooth. Cynthia Graber reports