That said, the TSA's own statement points out that its mission is security, and its priority is detecting threats to passengers and aircraft. The agency's security officers aren't searching for your edibles, but if they discover any during screening, they'll let a law enforcement officer handle it.