If you get mold, you need to establish what kind it is. The most common mold to effect cannabis IME is Botrytis Cinerea. This leads to grey mold/rot on cannabis and can quickly decimate your flowers. If you had this develop on your jarred material, your material was probably not adequately dried after harvest.
As you can see from the above list suggesting temps for cooking out mold, this kind of mold is not included there. I wouldn't use nugs that have been heated to treat mold like this personally for vaping - but they could indeed be cooked with with little-no risk at all (ONLY if the mold you are dealing with is botrytis that is! After all, botrytis is deliberately exposed to some wine grape varieties in dry conditions to cause a condition called 'noble rot' that brings out a sweet flavor sought after in desert wines - if you are dealing with a toxic form of mold; DO NOT TRY TO SALVAGE IT, NOT EVEN THE MATERIAL IT WAS IN CONTACT WITH, GET RID OF ALL OF IT!). In the rare case I have ever found mold (always botrytis), there are a few things you need to do. I typically throw out mold effected flowers though - I don't wanna contaminate my hash equipment with mold spores.
First, all mold effected flowers MUST be separated from the main bulk of the flowers. DO NOT STORE MOLDY BUD WITH GOOD BUD!
Do not use solvents with mold, the mold can be extracted into the resulting product. However, you can use bubble hash tek to get the resin heads out of moldy material, assuming they are unaffected.
If the mold was white and your nugs have not yet become either squishy, grey and sticky and still have resin - use a separate set of bubble bags and separate machine (or manual agitation preferably) to run the nugs. The mold will float on top of water, whilst the resin heads will sink. In this way, you can separate mold from non-rotten material and salvage some of it.
You could also get creative and use water to remove the mold in other ways.
DO NOT HANDLE MOLDY MATERIAL NEAR OTHER MATERIAL, PROCESSING EQUIPMENT OR VAPES/VAPING STUFF! A mold outbreak in your handling/preparation areas will make life difficult! Isolate any moldy material into it's own sealed container kept in a complete other area to where your uneffected flowers/concentrates are. Dispose of any relevant containers unless you can sterilize them with more than just solvents! Do not fuck with mold and it won't fuck with you
I will point out one thing though - botrytis is hardly dangerous to your health. It just ruins buds and resin. It'll quickly destroy the actives you have on your meds.
What is said in the previous post about mold spores getting onto the material is true. It is possible, reasonably likely that the nugs you have leftover will get moldy as they continue sit in a sealed jar with too much moisture.
You need to remove your nugs from the jars in a cool dry room (below 50% RH is preferable). If RH goes over 55%, you have conditions where mold will propagate. Let them dry out completely until the stems snap very easily without any need for twisting it around to get the stem broken. If they don't snap readily, they're not dry and should not be in a sealed container. Remove as much visible stem and leaf from the nugs as possible. leaf is predominately made up of water.
Do not store your unaffected material that has been in the same container as moldy material with boveda packs. This is likely to be trouble.
I hope this helps you guys