Do the TSA screeners get training on identifying drugs?
https://www.tsa.gov/travel/security-screening/whatcanibring/...
It is basically an end-run around the constitution -- if the police were searching through your bags without your consent any evidence they found could be challenged on constitutional grounds. The courts have (afaik) found that the TSA's searches are a different category, "administrative searches," and therefore not unconstitutional; somehow, though, there is no problem with using evidence found by the TSA in a criminal case.
Also, since the TSA's mission is not limited to aircraft, it is entirely possible that "administrative searches" are coming to a public transit system near you. Presumably the same rules would apply.