IR spectroscopy will never be anything like a tricorder for one simple reason: infrared radiation doesn't penetrate much further than normal light, meaning all you get is a surface reading. Some things will vary in ways they don't in the visible spectrum(and vice versa), but almost never in any way that says "this is safe" or "this is dangerous".