I'm not that worry about the border. If push come to shove, China could just send PLA into Afghan side of the border to take whatever position it deem important to secure. China need to make taliban understand, supporting terrorists that attack China is as costly as supporting terrorists that attack America.