Security against spywares

Is whatsapp also secure against spywares secretly installed on a smart phone.