Brazil held 10 presumed Islamist militants in isolation cells at a maximum security jail on Friday as police combed their computers and mobile phones for information about possible threats to next month's Olympics in Rio de Janeiro.

Justice Minister Alexandre Moraes said after the arrests on Thursday that the men formed a disorganized group of "amateurs" who had contacted each other via social media and had little clue of how to become terrorists.

His statements did not go down well at ABIN, Brazil's intelligence agency, or the Federal Police, where sources said he had underplayed the terrorist threat by portraying the group as a bunch of crazy young men.