Roaming packs of feral dogs have killed six children in the last week in north India, terrifying villagers who have begun keeping their children at home and killing any dogs they encounter.

At least two dozen more children have been injured in attacks. The young people, between the ages of five and 12 years old, have been killed in and around the town of Sitapur, about 80km (50 miles) from Lucknow, the capital of India’s Uttar Pradesh state, said senior police officer Anand Kulkarni.

Many of the attacks have occurred when children were out gathering mangoes or when they left their homes to use outhouse toilets, he said. Many homes in the area lack indoor plumbing.

A total of 12 children have been killed in dog attacks in the area since November, officials say.

It was not clear how many dogs were involved in the attacks, but India has millions of strays that wander the streets in even the most exclusive neighbourhoods. The feral dogs often survive on leftover food set in alleys for them, but also face relentless cruelty by people, and regularly fight other dogs over territory. While injuries from dog attacks are fairly common, a string of fatalities in one area is rare.

Some villagers believe the attacks began after a nearby illegal slaughterhouse was closed, making the dogs more aggressive after they were left without a major source of food.

Education officials say some schools have seen a significant drop in attendance because of the attacks. Parents have been told to accompany their children to and from school.

The recent deaths included three children killed by a pack of strays on 1 May, Mr Kulkarni said. Two more children were killed on 4 May.

On Friday, a seven-year-old girl named Gita had gone with two other children to pick mangos from an orchard when a pack of dogs attacked them, police said. Two children escaped but Gita was surrounded by the dogs. Her screams alerted villagers who ran to help, but she had died by the time they reached her.

Sitapur magistrate Harshdeo Pandey said villagers have been told not to allow their children to use outhouses on their own.

“Public announcements have been made in villages regarding this,” he said. “We also suggest that children should not be allowed to go out to play for a few days, until all these dogs are caught.”

Villagers have been shooting and strangling stray dogs, believing they have no choice.

“The administration does not care about the plight of the people,” said Sitapur resident Pankaj Singh Gaur.

Four teams of dog-catchers have captured 24 strays in recent days, said district magistrate Sheetal Verma. But she acknowledged the menace is not over.