Courtney Cardoza, 24, attempted to kick drugs under the police car after officers arrived to investigate her car, police said.
Police said Cardoza had a plastic baggie containing approximately 20 grams of cocaine.
Police said they searched the vehicle and found two small plastic bags containing marijuana.
During booking procedures, police said, Cardoza was found with two more baggies containing approximately 45 grams of cocaine and three small bags of a substance police suspected was heroin.
Cardoza has been charged with trafficking cocaine, possession with attempt to distribute heroin and possession with intent to distribute marijuana. She was arraigned today at Wareham Fourth District Court.