Basically rotten bark
If composted correctly, bark can resist disease. On the other hand, new bark and fine particles can cause problems. In addition it helps to have properly sized chunks of bark which will help to aid in porosity.
Needless to say, it's a lot easier just to buy the stuff and know that you can trust what you buy.