A suspicious baggie found at a trick-or-treating event last week was confirmed to contain heroin, authorities said, before warning parents to use caution with Halloween candy this season.

The bag was found at a Friday “Trunk or Treat” event in Middle Township, Cape May County.

A parent checked their child’s candy sack and found the baggie before reporting it to authorities. The child did not ingest the substance, a police spokesman said. The department would not confirm if the substance in the bag was heroin before tests were completed.

Cape May County Prosecutor Jeffrey H. Sutherland, in a news statement Monday, said the lab analysis confirmed it was heroin.

Parents should check their children’s candy bags before letting them consume any, Sutherland said. This Halloween, “be cautious of any suspicious looking or unfamiliar packaging and baggies,” he added.

Sutherland did not mention any arrests, and urged anyone with information on suspicious candy in the area to contact his office at 609-465-1135. Tipsters can remain anonymous through the Cape May County Sheriffs Tip Line by visiting cmcsheriff.net and clicking on “TIP411″ at the bottom of the screen. You can also try the Cape May County Crime Stoppers at 609-465-2800.

Come see our officers at the Lighthouse Church Trunk or Treat! We have trading cards! Posted by Middle Twp. Police Officer's Association on Sunday, October 27, 2019

Joe Brandt can be reached at jbrandt@njadvancemedia.com. Follow him on Twitter @JBrandt_NJ. Find NJ.com on Facebook.

Have a tip? Tell us. nj.com/tips