CHARLESTON, W.Va. (AP) — A Massachusetts woman will remain jailed without bail on a federal charge alleging she crossed state lines while posing as a teenage boy to sexually prey on a West Virginia girl.

Carissa Hads is considered a flight risk and a danger to the community, U.S. Magistrate Judge John Kaull said in a detention order Friday.

The 24-year-old Quincy woman began an online relationship in late 2010 with the girl while pretending to be a 17-year-old boy named James Puryear Wilson, according to a sworn statement by State Police Sgt. Robert Talkington of the West Virginia Internet Crimes Against Children Task Force.

The criminal complaint alleges Hads flew to West Virginia in February, and had a sexual encounter with the 15-year-old at her Lewis County residence. The woman’s disguise included colored contact lenses and a back brace that covered her chest, and Hads did not undress during the encounter, Talkington said in his affidavit.

Talkington’s statement alleges that Hads earlier sexually abused the girl in December 2011 after they met up at a Pennsylvania motel. The girl also took naked photos of herself, on a cell phone provided by Hads, and texted them to her, the affidavit said.

While posing as Wilson, Hads also tried to pretend that she was the father of twin sons by posting a picture online that actually came from an ad for a North Carolina photography company, the State Police statement said.

Another West Virginia teen had become suspicious of Hads’ true identity and alerted authorities in March when Hads threatened her, Talkington wrote. Hads was arrested May 25, and remains at the North Central Regional Jail.

A federal public defender representing Hads was not immediately available for comment Monday.