WhatsApp Web is safe if you login only on trusted devices. You should log out after usafe if you're using WhatsApp Web on a non-trusted device.