Many home inspection issues in the attic can be avoided by having a pre-listing home inspection to find potential issues and to correct them. Once the buyer has his home inspection done, then the transaction is at risk.
In the Los Osos, home inspection picture below we see a good example. We see a bathroom vent venting into the soffit of the attic. This is often allowed, but not always a good idea. As air is drawn in from the soffits into the attic, it can bring the moist air in from the vent with it. It is generally better to find another area to vent to if possible.