An oil tanker missing for a week off the coast of West Africa was attacked by pirates who stole its cargo, the company that managed…