Snapchat, the red-hot private messaging service, said on Thursday that it knew for months about a security loophole that allowed hackers this week to harvest millions of phone numbers and announced changes to its systems.

An anonymous group called Snapchat DB posted the usernames and phone numbers of 4.6 million Snapchat users on New Year\'s Eve, days after the startup - headed by 23-year old founder Evan Spiegel - brushed off warnings that its app still contained security loopholes.

The hacker group, which claimed to be based in the United States and Europe, made the entire database available for download but redacted the last two digits of every phone number. Snapchat DB said it was working to raise awareness about Snapchat\'s security holes, not out of malicious intent.

In its first public statement since the leak, Snapchat said in a blog post on Thursday that no "snaps" - the contents of messages - were compromised or accessed as part of the hack.

Snapchat was first alerted to the vulnerability in August by a security group called Gibson Security. Snapchat said it made changes to its system to address the weaknesses, but the company also published a blog post downplaying the threat as "theoretical" on Dec. 27.

Snapchat DB carried out the hack and disclosed the phone numbers just four days later.

The hack was a rare black eye for a high-flying appmaker started by Stanford University undergraduates in 2011. Snapchat has soared in popularity over the past year because it allows its users - mostly teens - to send private pictures and messages that self-destruct after 10 seconds at most.

Snapchat\'s immense popularity among young users has made it one of the most closely watched social media companies in the world, and Facebook Inc reportedly offered $3 billion last year in a failed acquisition bid.

TERMS OF USE: The views expressed in comments published on indianexpress.com are those of the comment writer's alone. They do not represent the views or opinions of The Indian Express Group or its staff. Comments are automatically posted live; however, indianexpress.com reserves the right to take it down at any time. We also reserve the right not to publish comments that are abusive, obscene, inflammatory, derogatory or defamatory.