A good model would not allow wallet attack...
The key management involved in a Bitcoin wallet faces the same problems and complications as any other implementation of crypto and user key management faces. Some have implemented it well, some have implemented it poorly.