Former President Donald J. Trump declared on Wednesday evening that he would start a “media powerhouse.” Its flagship operation would be Truth Social, a Twitter-like social network that would “stand up to the tyranny of Big Tech,” he said in a statement.
Within two hours, hackers had gained access to a private version of the social network, creating fake accounts for Mr. Trump; the far-right personality Stephen K. Bannon; Ron Watkins, the QAnon conspiracy theorist; and Twitter’s chief executive, Jack Dorsey, who barred Mr. Trump from Twitter after his supporters stormed the Capitol on Jan. 6.
Using a false “donaldjtrump” account, hackers posted images of defecating pigs, wrote expletive-laced rants aimed at Mr. Dorsey and inquired about the whereabouts of the former first lady Melania Trump. Images of the hackers’ handiwork were circulated on other social media platforms.
In interviews on Thursday, the hackers, who are affiliated with Anonymous, the loose hacking collective, said the effort was part of their “online war against hate.”
After a several-year hiatus, Anonymous has re-emerged as a digital force against the far right. The collective recently took down a Texas Republican website after the passage of an anti-abortion bill, replacing the site with a Planned Parenthood fund-raiser. And last month, Anonymous was behind a breach of Epik, an internet services company popular with the far right, dumping 220 gigabytes of data, including personal details of its customers.
In exposing the innards of Truth Social ahead of its launch, hackers demonstrated that Mr. Trump’s soon-to-be-released social network had lax safeguards and left open the ability to spoof anyone, including the former president.
Mr. Trump had revealed the social network in an online presentation on Wednesday as part of Trump Media and Technology Group, which aims to take on big social media platforms.
A representative for the Trump media company did not immediately respond to requests for comment.
“We had a fun time trolling it to high heaven,” Aubrey Cottle, a hacker affiliated with Anonymous who goes by the alias Kirtaner, said in an interview.
A Truth Social app was made available for “preorder” on Apple’s App Store on Wednesday, inviting anyone interested to join a waiting list for its release. The digital crumbs from that post, Mr. Cottle said, were enough for him and other Anonymous hackers to gain access to the prerelease version of the app.
Once inside, Mr. Cottle said, hackers posted memes from spoofed accounts for Mr. Trump, former Vice President Mike Pence and other prominent figures.
The activity forced the Trump Media & Technology Group’s app developers to bar new accounts and eventually shutter the development platform. (The New York Times viewed screenshots backing up hackers’ claims.)
The breach and its aftermath did not stop shares of Mr. Trump’s SPAC company, Digital World Acquisition, from surging as much as 400 percent to $52 per share on Thursday, after Wednesday’s news of the merger that would launch Mr. Trump’s social media platform.