Quinn Norton had some pretty damning things to say about libpurple and its lack of security in 2014: https://medium.com/message/everything-is-broken-81e5f33a24e1
It's possible libpurple's security has improved since then, but I wouldn't count on it.
It's possible libpurple's security has improved since then, but I wouldn't count on it.