A teenage girl was chased by a costumed suspect, prompting a warning to the public