At this point, Pakistan needs a quality spinner. The part-timers are not doing their job and this was very evident during the ongoing ODI Word Cup in India. In fact, I would say that the absence of a quality spinner was one of the main reasons why Pakistan got kicked out of the world cup during the group phase itself. The addition of Shoaib Malik would not just boost their spin attack, but it will also strengthen their middle order batting. This guy averages 34.55 with the bat in ODI cricket and has scored over 7,000 runs in this format.
Of course, every team always has a sniper in every tournament who is capable of creating problems for the opposing team, but unfortunately such a sniper is sorely lacking in the current team. Absence of quality spinner along with absence of quality fast bowling was the main reason for Pakistan's failure. I think we should look for new spinners to replace an old player who can represent Pakistan for the next few years.
All teams in the world give a chance to develop new talent after a few years and even experienced players have a certain period after which they give way to new talent, but unfortunately there is no opportunity to develop new talent in Pakistan.i think Shoaib Malik is basically a batsman, you have mentioned his score average and total runs, but his number of matches is also very high. He is not a good spinner but was used only for part-time bowling.