Police seized grenades, pistols and bullets from a house in a northern Bangladeshi village on Monday, a day after an explosion killed two suspected militants.

Authorities believe the house in the Sherpur area of Bogra district was occupied by members of a banned Islamist militant group, Jumatul Mujahedeen Bangladesh, and that the bomb blast Sunday was an accident, local police chief Mohammed Asaduzzaman said.

"We suspect that the home was being used as a den for making bombs," he said.

Witnesses told police the explosion occurred inside the one-story building, but could not identify the two dead men, suggesting they were not local people.

Asaduzzaman said the building's owner, who lives elsewhere, said a man who identified himself as an auto-rickshaw driver rented the home about five months ago. Police said they could not locate the man after Sunday's blast.

A 12-member bomb disposal unit searched the house on Monday and recovered 20 grenades, four pistols and 25 bullets, Asaduzzaman said. The grenades were then defused, he said.

A wave of deadly attacks last year on foreigners, secular writers and members of the minority Shiite and Ahmadiya communities has raised concerns about security in Bangladesh. The Islamic State group claimed responsibility for some of the attacks, but Bangladesh authorities dismissed those claims and instead blamed local militant groups, including Jumatul Mujahedeen Bangladesh.

The government insists it has the security situation under control and has arrested several suspects.