Don't think this is the best with TSA. They know what shit looks like and If they see something, they will probably act on it. Like if they found a joint or one of my small clear bead containers with something in it while snagging my jet lighter recently, I have no doubts they would have thrown it out or worse - alerted local authorities. I was clean other than jet lighters and clean vapes for the most part (and buzzed!), so wasn't too worried about it. I think the trick is to keep it all on the very downlow - in your checked bag a 1/2 gram or 2 "accidentally" left in different pants pockets or gram of hash/trate in something that looks right mixed in with your toiletries? Probably not an issue from experiences SWIM has told me of, as they're scanning many checked bags at the same time and usually trying to move them through as quickly as possible.
All of this of course much different when dealing with customs (international) coming in or going out. For instance I was in Jamaica a couple years ago. They don't play down there, whether coming in or going out. I was totally clean both ways. Took a new FlowerMate (cheap and eh effective - tested once at home and cleaned very well) that served me OK. Well worth the $60 or so it had cost me IMO. Though must admit, I combusted more in that 10 days than I have otherwise for past 8 - 9 years combined! So, if I go again I'll just plan on smoking and take a pack of papers and a couple plain old Bic lighters.
Didn't even consider bringing FM or anything else home - even threw out my rolling papers. I did some wheeling & dealing for trinkets with my leftover stash from the dude that was apparently the boss man for all the young dudes selling on fringes of resort, and left the FlowerMate with my favorite poolside bartender. He was psyched to get it (I had passed him a few hits here and there, and he was digging it), and I felt good about leaving him with a special gift. And, felt even better knowing I was clean - especially when they were roaming around the airport with little dogs obviously looking for something other than explosives. Even saw them escort a young couple away to who knows where after one of the dogs marked them. Hope all went well for them, but was very glad it wasn't me!
Not saying it is ever a good idea to travel with anything that could get you in trouble, material itself or dirty gear. But if you do, do some research (like right in this thread!) and KNOW - don't think so - what your situation is and plan accordingly. In some places (like international travel and Texas for instance), you could find yourself in a world of shit for a small amount. In others, not so much and less concern (eg NYC to LA & back), because they couldn't care less about your little bit. They aren't really looking for it, but if they see it, it will probably at least be confiscated. Also, keep in mind that TSA agents are probably living locally wherever you are, and you should be aware of what local is like.
FWIW, I'd never do any of this! Interstate - or worse international - transfer of illegal substances, can get you in some serious shit pretty quickly, and depending on where you happen to be could be very expensive or have you on an extended vacation in a cell for a while. If you choose to take the risks, it's on you, NOT anything you may mistakenly take as advice from my musings here!