Things I’ve discovered in my carry-on (accidentally): a bottle of wine, box cutter, a weed pen, another weed pen, a large Anker battery, more wine, a chef’s knife.
They have no authority to take a weed pen or detain you for having one.
They can call cops but they can only confiscate items deemed to be threats to a plane and only detain you for the same.