A Bahamian man hacked into celebrities’ email accounts to steal unreleased movie and TV scripts and private sex tapes and sought to sell some of the scripts, boasting to an undercover agent that he had dossiers on at least 130 accounts of stars and executives in entertainment, sports and media, federal prosecutors said.

Alonzo Knowles was being held without bail after a court appearance Tuesday on criminal copyright infringement and identity theft charges, as prosecutors described a scheme that also involved proffering an actor’s passport, Social Security numbers for three professional athletes, unreleased tracks from a singer-songwriter’s upcoming album and an explicit video grabbed from a radio host’s email account.