14 April 2014. Part 2:
2014-0582.htm Goldman Sachs Steals Open Source, Jails Coder 2 April 14, 2014
11 April 2014
Goldman Sachs Steals Open Source, Jails Coder
US master spy Clapper says spies steal open source, then immediately claims
ownership and classifies it, and prosecutes if the material is disclosed,
like Goldman Sachs.
Flash Boys: A Wall Street Revolt, Lewis, Michael. 2014. W. W. Norton
& Company. pp. 141-149.
After a few months working on the forty-second floor at One New York Plaza,
Serge came to the conclusion that the best thing they could do with
Goldmans high-frequency trading platform was to scrap it and build
a new one from scratch. His bosses werent interested. The business
model of Goldman Sachs was, if there is an opportunity to make money right
away, lets do that, he says. But if there was something
long-term, they werent that interested. Something would change
in the stock market an exchange would introduce a new, complicated
rule, for instance and that change would create an immediate opportunity
to make money. Theyd want to do it immediately, says Serge.
But if you think about it, its just patching the existing system
constantly. The existing code base becomes an elephant thats difficult
to maintain.
That is how he spent the vast majority of his two years at Goldman, patching
the elephant. For their patching material he and the other Goldman programmers
resorted, every day, to open source softwaresoftware developed by
collectives of programmers and made freely available on the Internet. The
tools and components they used were not specifically designed for financial
markets, but they could be adapted to repair Goldmans plumbing. He
discovered, to his surprise, that Goldman had a one-way relationship with
open source. They took huge amounts of free software off the Web, but they
did not return it after he had modified it, even when his modifications were
very slight and of general, rather than financial, use. Once I took
some open source components, repackaged them to come up with a component
that was not even used at Goldman Sachs, he says. It was basically
a way to make two computers look like one, so if one went down the other
could jump in and perform the task. Hed created a neat way for
one computer to behave as the stand-in for another. He described the pleasure
of his innovation this way: It created something out of chaos. When
you create something out of chaos, essentially , you reduce the entropy in
the world. He went to his boss, a fellow named Adam Schlesinger, and
asked if he could release it back into open source, as was his inclination.
He said it was now Goldmans property, recalls Serge. He
was quite tense. Open source was an idea that depended on collaboration
and sharing, and Serge had a long history of contributing to it. He didnt
fully understand how Goldman could think it was okay to benefit so greatly
from the work of others and then behave so selfishly toward them. You
dont create intellectual property, he said. You create
a program that does something. But from then on, on instructions from
Adam Schlesinger, he treated everything on Goldman Sachss servers,
even if it had just been transferred there from open source, as Goldman
Sachss property . (Later, at his trial, his lawyer flashed two pages
of computer code: the original, with its open source license on top, and
a replica, with the open source license stripped off and replaced by the
Goldman Sachs license.)
The funny thing was that Serge actually liked Adam Schles-inger, and most
of the other people he worked with at Goldman. He liked less the environment
the firm created for them to work in. Everyone lived for the year-end
number, he said. You get satisfied when the bonus is sizable
and you get not satisfied when the number is not. Everything there is very
possessive . It made no sense to him the way people were paid individually
for achievements that were essentially collective achievements. It
was quite competitive. Everyones trying to show how good their individual
contribution to the team is. Because the team doesnt get the bonus,
the individual does.
More to the point, he felt that the environment Goldman created for its employees
did not encourage good programming, because good programming required
collaboration. Essentially there was very minimal connections between
people, he says. In telecom you usually have some synergies between
people. Meetings when people exchange ideas. They arent under stress
in the same way. At Goldman it was always, Some component is broken
and were losing money because of it. Fix it now . The
programmers assigned to fix the code sat in cubicles and hardly spoke to
one another. When two people wanted to talk they wouldnt just
do it out on the floor, says Serge. They would go to one of the
offices around the floor and close the door. I never had that experience
in telecom or academia.
By the time the financial crisis hit, Serge had a reputation of which he
himself was unaware: He was known to corporate recruiters outside Goldman
as the best programmer in the firm. There were twenty guys on Wall
Street who could do what Serge could do, says a headhunter who recruits
often for high-frequency trading firms. And he was one of the best,
if not the best. Goldman also had a reputation in the market for
programming talent for keeping its programmers in the dark about their
value to the firms trading activities. The programmer types were different
from the trader types. The trader types were far more alive to the bigger
picture, to their context. They knew their worth in the marketplace down
to the last penny. They understood the connection between what they did and
how much money was made , and they were good at exaggerating the importance
of the link. Serge wasnt like that. He was a little-picture person,
a narrow problem solver. I think he didnt know his own value,
says the recruiter. He compensated for being narrow by being good.
He was that good.
Given his character and his situation , its hardly surprising that
the market kept finding Serge Aleynikov and telling him what he was worth,
rather than the other way around. A few months into his new job, headhunters
were calling him every other week. A year into his new job, he had an offer
from UBS, the Swiss bank, and a promise to bump up his salary to $ 400,000
a year. Serge didnt particularly want to leave Goldman Sachs just to
go and work at another big Wall Street firm, and so when Goldman offered
to match the offer, he stayed. But in early 2009 he had another call, with
a very different kind of offer: to create a trading platform from scratch
for a new hedge fund run by Misha Malyshev.
The prospect of creating a new platform, rather than constantly patching
an old one, excited him. Plus Malyshev was willing to pay him more than a
million dollars a year to do it, and he suggested that they might even open
an office for Serge near his home in New Jersey. Serge accepted the job offer
and then told Goldman he was leaving. When I put in the resignation
letter, he said , everyone comes to me one by one. The common
perception was that if they had the right opportunity to quit Goldman they
would do that in no time. Several hinted to him how much they would
like to join him at his new firm. His bosses asked him what they could do
to persuade him to stay. They were trying to pursue me into this monetary
discussion, says Serge. I told them it wasnt the money
. It was the chance to build a new system from the ground up. He missed
his telecom work environment. Whereas at IDT I was really seeing the
results of my work , here you had this monstrous system and you are patching
it right and left. No one is giving you the whole picture. I had a feeling
no one at Goldman really knows how it works as a whole, and they are just
uncomfortable admitting that.
He agreed to hang around for six weeks and teach other Goldman people everything
he knew, so that they could continue to find and fix the broken bands in
their gigantic rubber ball. Four times in the course of that last month he
mailed himself source code he was working on. The files contained a lot of
open source code he had worked with, and modified, over the past two years,
mingled with code that wasnt open source but was obviously proprietary
to Goldman Sachs. He hoped to disentangle one from the other in case he needed
to remind himself how he had done what he had done with the open source code;
he might need to do it again. He sent these files the same way he had sent
himself files nearly every week since his first month on the job at Goldman.
No one had ever said a word to me about it, he says. He pulled
up his browser and typed into it the words : free subversion
repository. Up popped a list of places that stored code for free and
in a convenient fashion. He clicked the first link on the list. To find a
place to send the code took about eight seconds . And then he did what he
had always done since hed first started programming computers: He deleted
his bash history the commands he had typed into his own Goldman computer
keyboard. To access the computer, he was required to type his password .
If he didnt delete his bash history, his password would be there to
see, for anyone who had access to the system.
It wasnt an entirely innocent act. I knew that they wouldnt
be happy about it, he said, because he knew their attitude was that
anything that happened to be on Goldmans servers was the wholly owned
property of Goldman Sachs even when Serge himself had taken that code
from open source . When asked how he felt when he did it, he says, It
felt like speeding. Speeding in the car.
FOR MUCH OF the flight from Chicago hed slept. Leaving the plane, he
noticed three men in dark suits waiting in the alcove of the Jetway reserved
for baby strollers and wheelchairs. They confirmed his identity, explained
that they were from the FBI, handcuffed him, searched his pockets, removed
his backpack, told him to remain calm, and then walled him off from the other
passengers . This last act was no great feat. Serge was six feet tall but
weighed roughly 140 pounds: To hide him you needed only to turn him sideways.
He resisted none of these actions, but he was genuinely bewildered. The men
in black refused to tell him his crime. He tried to guess it. His first guess
was that theyd gotten him mixed up with some other Sergey Aleynikov.
Next it occurred to him that his new employer, Misha Malyshev , then being
sued by Citadel, might have done something shady. Wrong on both counts. It
wasnt until the plane had emptied and theyd escorted him into
Newark Airport that they told him his crime: stealing computer code owned
by Goldman Sachs.
The agent in charge of the case, Michael McSwain, was new to law enforcement.
Oddly enough, hed spent twelve years, until 2007, working as a currency
trader on the Chicago Mercantile Exchange. He and others like him had been
put out of business by Serge and people like him or, more exactly,
by the computers that had replaced the traders on the floors of every U.S.
exchange. It wasnt an accident that McSwains career on Wall Street
ended the same year that Serges began.
McSwain marched Serge into a black town car and drove him to the FBI building
in lower Manhattan. After making a show of stashing his gun , McSwain led
him into a tiny interrogation room, handcuffed him to a rod on the wall,
and , finally, read him his Miranda rights. Then he explained what he knew,
or thought he knew: In April 2009 Serge had accepted a job at a new
high-frequency trading shop, Teza Technologies, but had remained at Goldman
for the next six weeks. Between early April and June 5, when Serge left Goldman
for good, he sent himself, through the so-called subversion repository, 32
megabytes of source code from Goldmans high-frequency stock trading
system . McSwain clearly found it damning that the website Serge used was
called a subversion repository, and that it was in Germany. He also seemed
to think it significant that Serge had used a site not blocked by Goldman
Sachs, even after Serge tried to explain to him that Goldman did not block
any sites used by its programmers but merely blocked its employees from porn
sites and social media sites and suchlike. Finally, the FBI agent wanted
him to admit that he had erased his bash history. Serge tried to explain
why he always erased his bash history, but McSwain had no interest in his
story. The way he did it seemed nefarious, the FBI agent would
later testify.
All of which was true, as far as it went, but, to Serge, that didnt
seem very far. I thought it was like, crazy, really, he says.
He was stringing these computer terms together in ways that made no
sense. He didnt seem to know anything about high-frequency trading
or source code. For instance, Serge had no idea where the subversion
repository was physically located. It was just a place on the Internet used
by developers to store the code they were working on. The whole point
of the Internet is to abstract the physical location of the server from its
logical address, he said. To Serge, McSwain sounded like a man repeating
phrases that hed heard from others but that to him actually meant nothing.
There is a game in Russia called Broken Phone, he said
a variation on the American game Telephone . It felt like he was playing
that.
What Serge did not yet know was that Goldman had discovered his downloads
of what appeared to be the code they used for their proprietary high-speed
stock market trading just a few days earlier, even though Serge had
sent himself the first batch of code months ago. Theyd called the FBI
in haste and had put McSwain through what amounted to a crash course in
high-frequency trading and computer programming. McSwain later conceded that
he didnt seek out independent expert advice to study the code Serge
Aleynikov had taken, or seek to find out why he might have taken it. I
relied on statements from Goldman employees, he said. He had no idea
himself of the value of the stolen code ( representatives from Goldman
told me it was worth a lot of money), or if any of it was actually
all that special ( representatives of Goldman Sachs told us there were
trade secrets in the code). The agent noted that the Goldman files
were on both the personal computer and the thumb drive that hed taken
from Serge at Newark Airport, but he failed to note that the files remained
unopened. (If they were so important, why hadnt Serge looked at them
in the month since hed left Goldman?) The FBIs investigation
before the arrest consisted of Goldman explaining some extremely complicated
stuff to McSwain that he admitted he did not fully understand but trusted
that Goldman did. Forty-eight hours after Goldman called the FBI, McSwain
arrested Serge. Thus the only Goldman Sachs employee arrested by the FBI
in the aftermath of a financial crisis Goldman had done so much to fuel was
the employee Goldman asked the FBI to arrest.
On the night of his arrest, Serge waived his right to call a lawyer. He called
his wife, told her what had happened, and said that a bunch of FBI agents
were on the way to their home to seize their computers, and to please let
them in, although they had no search warrant. Then he sat down and politely
tried to clear up the confusion of this FBI agent who had arrested him without
an arrest warrant. How could he figure out if this was a theft if he
didnt understand what was taken? he recalls having asked himself.
What hed done, in his view, was trivial; what he stood accused of
violating both the Economic Espionage Act and the National Stolen Property
Act did not sound trivial at all. Still, he thought that if the agent
understood how computers and the high-frequency trading business actually
worked, hed apologize and drop the case. The reason I was explaining
it to him was to show that there was nothing there, he said. He
was completely not interested in the content of what I am saying. He just
kept saying to me, If you tell me everything, Ill talk to the
judge and hell go easy on you. It appeared they had a very strong
bias from the very beginning. They had goals they wanted to fulfill. One
was to obtain an immediate confession.
The chief obstacle to the FBIs ability to extract his confession, oddly,
wasnt Serges willingness to provide it but its own agents
ignorance of the behavior to which Serge was attempting to confess. In
the written statement he was making some very obvious mistakes, computer
terms and so on, recalled Serge. I was saying, You know,
this is not correct. Serge patiently walked the agent through
his actions. At 1: 43 in the morning on July 4, after five hours of discussion,
McSwain sent a giddy one-line email to the U.S. Attorneys office:
Holy crap he signed a confession.
Two minutes later, he dispatched Serge to a cell in the Metropolitan Detention
Center. The prosecutor, Assistant U.S. Attorney Joseph Facciponti, argued
that Serge Aleynikov should be denied bail. The Russian computer programmer
had in his possession computer code that could be used to manipulate
markets in unfair ways. The confession Serge had signed, scarred by
phrases crossed out and rewritten by the FBI agent, later would be presented
by prosecutors to a jury as the work of a thief who was being cautious, even
tricky, with his words. Thats not what happened, said Serge.
The document was being crafted by someone with no previous expertise
in the matter.
Sergey Aleynikovs signed confession was the last anyone heard from
him, at least directly. He declined to speak to reporters or testify at his
trial. He had a halting manner , a funny accent, a beard, and a physique
that looked as if it had been painted by El Greco: In a lineup of people
chosen randomly from the streets, he was the guy most likely to be identified
as the Russian spy, or a character from the original episodes of Star
Trek. In technical discussions he had a tendency to speak with extreme
precision, which was great when he was dealing with fellow experts but
mind-numbing to a lay audience. In the court of U.S. public opinion, he
wasnt well suited to defend himself, and so, on the advice of his attorney,
he didnt. He kept his long silence even after he was sentenced, without
the possibility of parole, to eight years in a federal prison.
|