How Digital Gangsters Nearly Killed PayPal—and Accidentally Created Palantir

Long before Palantir became synonymous with cutting-edge surveillance and counterterrorism tech, its origin story began with a street-level scam and a Silicon Valley payment startup on the brink of collapse.
In the early 2000s, PayPal was bleeding cash. Not from bad business decisions—but from global cybercriminals. According to Joe Lonsdale, one of the early minds behind Palantir, the company was losing millions of dollars every month. The cause? A sophisticated fraud network largely orchestrated by members of the Russian and Chinese mafia.
The Hustle: 7-Eleven to Siberia
The scam was deceptively simple. You swipe your credit card at a 7-Eleven, not knowing the underpaid cashier is skimming your card data and selling it online—100 numbers for $500. Those stolen digits ended up in the hands of Eastern European crime syndicates who would cycle them through PayPal accounts to simulate transactions. A few days later, an unsuspecting user sees a mysterious $200 charge: "PayPal."
You dispute the charge with your credit card company, and they reverse it. But PayPal? They eat the loss. Multiply that by thousands of transactions per day and it’s easy to see how the company was rapidly approaching insolvency.
Lonsdale described it bluntly:
“PayPal was losing like several million dollars a month back then. That was a lot of money.”
Building a Defense from the Inside Out
PayPal didn’t have the luxury of waiting on law enforcement to adapt to the digital age. So, the team built their own tools. Lonsdale and others repurposed internal customer service staff into digital investigators—people with no prior experience in cybersecurity, now working to trace patterns, flag bad actors, and ultimately cooperate with the Secret Service and FBI.
Through this scrappy and revolutionary approach, PayPal cut fraud by 90%, transforming what looked like a sinking ship into a thriving company—one eBay would later acquire for $1.5 billion.
But for Lonsdale and his team, this wasn’t just a battle won. It was a revelation.
From Payment Fraud to National Security
Then came 9/11.
The U.S. government suddenly began pumping billions into counterterrorism software. But what Lonsdale and his PayPal colleagues saw shocked them—not because of the ambition, but because of the technology. The systems being built were, in Lonsdale’s words, "based on principles from 20 years ago."
“They're not tech guys. They're just trying to figure out what the heck this internet thing is and how to deal with it and how to catch the bad guys.”
That disconnect sparked a new mission: bring Silicon Valley to national security.
The Palantir Vision
Out of the chaos and crisis of PayPal emerged Palantir—a company built to give law enforcement and intelligence agencies the kind of investigative and analytical tools that actually worked in the modern world. The vision: make software that could track money, movement, and behavior patterns across global networks of criminals and terrorists, without violating civil liberties.
What started as a defensive war against digital gangsters became a long-term vision to equip governments with the tech necessary to fight organized crime and terrorism effectively.
From Mafia Threats to Mission-Driven Tech
The irony is stark: had the Russian and Chinese mafia not attacked PayPal so aggressively, the founders might never have developed the tools—or the relationships—that would later underpin Palantir.
It’s a rare tale where organized crime, startup resilience, and national security innovation collide. And it all started with a fake transaction and a real threat.