Police in Amherst, N.S., and Westville, N.S., are investigating after parents reported a small white pill and a razor blade showed up in their kids' Halloween candy.

A family told Amherst police they found the pill in a bag of jellybeans, part of their young daughter's candy stash. Police said the girl was trick-or-treating in downtown Amherst on Monday evening.

The Amherst Police Department said it learned about the pill through a Facebook post and reached out to the family. The family told police they found the pill when they were going through the girl's candy bag.

Const. Randy Babineau said the pill looks to be an "illicit drug of some sort."

Police are sending it to Ottawa for forensic testing and will continue the investigation based on those results. Babineau said the pill is deteriorating and has no markings on it.

Amherst police said the pill was found in a bag of jellybeans a girl was given for Halloween. (Pixabay)

"It's unconfirmed what the pill actually is," he told CBC News. The police service is looking into the legitimacy of the incident and will be interviewing the family to help determine that. They do not know who placed the pill in the bag.

'We don't know a whole lot'

​In Westville, a mother told police she found a razor blade in a mini Kit Kat bar her teenage daughter was given while trick-or-treating. Police said the mother reported it Tuesday morning after she found the blade.

"We don't know a whole lot because it's trick-or-treating and you're dealing with a whole lot of homes," said Westville police Chief Don Hussher. "We're trying to narrow down as small as we can."

Hussher did not want to give specifics as to how the investigation is being carried out. CBC News has reached out to the mother but has not heard back.

It's a similar instance to the two cases currently being investigated by Halifax police, where they said a 12-year-old boy and a 13-year-old girl also found razor blades inside their Halloween chocolate bars.

These types of cases can be tricky to police.

"To my knowledge I don't think there's been charges in the past based on that children are going to numerous, numerous houses in sort of a vast area," said Halifax police spokeswoman Const. Dianne Woodworth.

"You don't know where the tampering took place."