Brooke Major isn’t about to cast the first stone when it comes to her past.

“I’m not ashamed,” she said, to admit that she’s made mistakes.

But the 31-year-old mother of four is outraged that a well-known defense attorney would resort to attacking her character — as a means of trying to convince a judge overseeing a dangerousness hearing last week to release a man accused of molesting her young daughter.

Although she claims an appeals court three years ago dismissed drug charges against her for lack of evidence, Major also admits to having been held for 10 months in a state prison — the result, she said, of being at the wrong place at the wrong time during a 2006 Brockton drug sweep.

And although she said she’s been happily married for the past six years to a man with whom she has had two children, she also acknowledges two previous relationships resulting in two other children.

But Major said James Fagan crossed the line of decency at last Friday’s dangerousness hearing in Taunton District Court when he argued that his client, Edward Travers, was not a threat to the community and should not be held without bail for up to 90 days.

Travers, 58, formerly of 19 Old Colony Ave., is accused of indecent assault on a child under 14; He also faces illegal gun possession charges.

He was arrested on the assault charge after Major, who is his stepdaughter, and her mother, who is still married to Travers, reported to police they suspected him of having engaged in improper, physical conduct with the little girl.

Fagan, during the public hearing, mocked Major’s credibility, stating she’d been “incarcerated for most of her kid’s life.”

But Major said it was his remarks regarding her alleged sexual mores that most offended her personally and denigrated the reputation of her immediate family.

“She’s been playing the child lottery to see who the next father will be to her children,” Fagan told judge Frances Marini, who stopped him short.

“That does not matter. Every kid deserves to be free of molestation,” said Marini, who, over the protestations of Bristol County District Attorney Sam Sutter, eventually released Travers on personal recognizance.

“I didn’t know he would go as low as that to destroy a mother,” Major said, adding “What does that have to do with a dangerousness hearing?”

Anne Malone, spokeswoman for the Massachusetts Society for the Prevention of Cruelty to Children, said a dangerousness hearing involving an allegation of underage molestation should always “focus on the well-being of the child.”

“It’s the judge’s job to keep everything clear and focused at hand and not issue a decision based on the [alleged] credibility of anybody,” Malone said.

Travers, according to comments by his wife to police, allegedly also threatened to “slice her throat and burn down the house” if Major and her daughter moved out of his house.

Fagan convinced Marini that Travers was not a flight risk. He also stated his client had “substantial roots” within the community — on the basis of having been a Taunton business owner who previously ran a videotape rental store and as an individual who for many years coached Taunton East Little League baseball.

Travers is due back in district court Jan. 11 for a status review hearing. The charge of illegal gun possession with three or more prior violent or serious drug offenses will be heard in superior court, Marini said.

Major said she’s not just concerned about her reputation. She also worries that her 14-year-old son could experience a backlash from his peers as a direct result of Fagan’s comments.

But her chief concern, Major said, is the well-being and security of her four-year-old.