A software developer claims he has found a security weakness in Virgin Mobile phones that allows hackers to intercept calls and text messages, lock users out of their accounts and buy a new phone with their credit card.

In a blog post, Kevin Burke said the vulnerability stems from the fact that the wireless carrier requires subscribers to use their phone numbers as their username and a 6-digit number as their password.

Burke said this is “horribly insecure” compared with a randomly generated 8-letter password containing uppercase letters, lowercase letters, and digits. He warned a hacker could determine a Virgin Mobile subscriber’s PIN “inside of one day.”

“Pretty much anyone can log into your Virgin Mobile account and wreak havoc, as long as they know your phone number," he said, adding “there is no way to defend against this attack."

Burke works as a developer at Twilio, which helps developers add calls and text messages to their applications. He said he reported his findings to Virgin Mobile USA a month ago, but said the company had not taken action so he decided to disclose his findings publicly.

Burke said Virgin Mobile should take several steps to improve its security, like allowing subscribers to set more complex passwords and freeze their accounts after five failed password attempts.

Virgin Mobile is a wireless carrier that offers pre-paid handsets through Sprint. A spokesperson for Virgin Mobile and Sprint did not immediately return requests for comment.

On its web site, Virgin Mobile says the company is “strongly committed to protecting the privacy of our customers” and “uses standard industry practices to safeguard the confidentiality of your personally identifiable information.”

Also on HuffPost:

Loading Slideshow...
  • #10 - Sofia Vergara

    Sofia Vergara, Emmy Award nominee actress of the TV show "Modern Family," poses during an interview in New York, Tuesday, Aug. 28, 2012. (AP Photo/Bebeto Matthews)

  • #9 - Salma Hayek

    Actress Salma Hayek poses for photographers during a photocall and prior a tribute for her career at the 38th American Film Festival, Saturday, Sept. 8, 2012, in Deauville, Normandy, France. (AP Photo/Michel Spingler)

  • #8 - Cameron Diaz

  • #7 - Shakira

    Colombia's pop star Shakira gestures during a land titling for Afro-Colombian communities event in Cartagena, Colombia, Sunday, April 15, 2012. (AP Photo/Fernando Llano)

  • #6 - Megan Fox

    <a href="http://www.flickr.com/photos/nicogenin/3620099992/sizes/l/in/photostream/" target="_hplink">Flickr: nicogenin</a>

  • #5 - Halle Berry

    Actress Halle Berry attends the premiere of "Cloud Atlas" during the Toronto International Film Festival on Saturday Sept. 8, 2012 in Toronto. (Photo by Evan Agostini/Invision/AP)

  • #4 - Selena Gomez

    Actress Selena Gomez participates in a photo call and press conference for the film "Hotel Transylvania" at TIFF Bell Lightbox during the Toronto International Film Festival on Saturday Sept. 8, 2012 in Toronto. (Photo by Evan Agostini/Invision/AP)

  • #3 - Eva Mendez

    <a href="http://www.flickr.com/photos/nicogenin/" target="_hplink">Flickr: nicogenin</a>

  • #2 - Jessica Biel

    Jessica Biel appears on ABC's "Good Morning America" on Friday, Aug. 3, 2012 in New York. Biel stars in the upcoming film, "Total Recall." (Photo by Charles Sykes/Invision/AP)

  • #1 - Emma Watson

    Wikipedia: David Shankbone