An abduction attempt in Sydney’s Upper North Shore on Monday was likely a prank gone wrong.

Police said a primary school student was walking home from Warrawee Public School about 3.15pm on Monday when he was approached by two older boys who were driving a silver or white sedan.

They allege the car, which may have had red P-plates, pulled up on Campbell Drive and the older boys approached the student.

The two youths then allegedly tried to drag the student into the car.

Luckily, the student managed to escape and alerted his parents.

Speaking to NewsWire, a NSW Police spokesperson said early indications suggest the two older boys were just “mucking around”.

They said the incident may have been a prank gone wrong, with no real target or “malicious” intent.

In an email sent to parents on Tuesday, the public school’s principal Meriki Barnes called for extra caution while walking to and from school.

They advised parents and guardians to pick their children up directly from the school gates.

“Please consider your child’s mode of transport to and from school, to ensure they remain as safe as possible,” the email read.

Parents at the school were “pretty concerned” about the ongoing safety of their children as they walk to school.

“We really want (our son) to be independent, but it’s quite scary,” a father told The Sydney Morning Herald.

“It’s concerning because a lot of kids walk home that way and there’s quite a bit of traffic so it is pretty brazen to be doing that.”

Anyone with CCTV, mobile phone or dashcam footage of the vehicle in the streets surrounding Campbell Drive Wahroonga, Roland Ave, Lucinda Ave South, Rothwell Rd, Mitchell Crescent and Fox Valley Way is urged to contact Crime Stoppers on 1800 333 000.

Read related topics:Sydney