by mabbo · 5y ago · 0 comments
Sounds like Parler, fearing that their OTP provider might go down, decided to fail-open, ie: if the dependency throws an exception, presume there's something wrong with the dependency and that the code provided is acceptable. It never occurred to them that the dependency could be down permanently, or that malicious actors[0] would be able to realize it and exploit to quickly.
Lesson learned: do not fail open where security matters, where authentication matters. Failing closed prevents new users/customers from signing up, but it protects your existing users/customers.
[0]From a security standpoint, these are malicious actors. I would also probably buy said malicious actors a beer if I met them, accompanied by a high five.
Edit: this is a hypothesis of course. Maybe the bug was somewhere else in the system- it could be in Twilio's provided integration library where the fail-open occurred.
I'd assume that Parler's engineers motivations had more to do with politics than providing a secure platform for protecting dissidents under duress.
(Or, if we look at the history of a recent major war, the mediocre engineers working for the other side thought they were the good guys.)
Fairly sure we could replace algorithm and data structure whiteboard interviews with security interviews and we'd all be better off
And I don't think an individual developer would have prevented this; this is an issue with the general security and monitoring policies at Parler. I mean how could they create millions of admin accounts and extract 70 TB of data without any alarm bells, flood control and circuit breakers engaging?
This and more generally their thoughts on how to handle other types of unexpected scenarios is an important part of delivering real world solutions. I'm shocked by the amount of engineers that don't have any thoughts on this topic.
But a far more expedient process is to just give candidates an essay exam to see if they are functionally literate in their profession.
Candidates who know there are things they don't know about I don't mind, but candidates who are unaware of these things at all are typically uninterested in broadening their knowledge, and not someone I'd like on my team.
Would it take the form of a standard interview question:
"Write a few paragraphs on what happens when you press a key on the keyboard"
Or would it use the medium to ask a question less appropriate in an oral interview process?
Genuinely curious what you envision with this format.
There are too many groups that are enjoying seeing the division of the American people.
"Allied intelligence noticed each captured tank had a unique serial number. With careful observation, the Allies were able to determine the serial numbers had a pattern denoting the order of tank production. Using this data, the Allies created a mathematical model to determine the rate of German tank production. They used it to estimate that the Germans produced 255 tanks per month between the summer of 1940 and the fall of 1942."
One source of many: https://www.wired.com/2010/10/how-the-allies-used-math-again...
This information was used to estimate force size and thus counter it, and it turns out this method was surprisingly accurate.
The Russians even went further, specifically engineering their tanks to only pass QA to last a very short amount of time (as little as a few dozen KM of use) during the first half of their involvement in the war because they'd be destroyed before then on average anyways.
On that note, using UUIDs would be more 'secure' than auto incremented numbers, wouldn't it? I don't like how much space they take up in my URLs though.
[1] - modern weaponry makes large-scale land war difficult to survive, e.g. the average survival time of a main battlefield tank is counted in minutes.
If one is to look at the LinkedIn for the tech leadership of Parler it would not be a stretch to say that they are way outside of their depth technologically speaking.
Does top talent only work for giant ad networks that thrive through undermining privacy (and hence, free speech) while manipulating public discourse to the point where these companies hardly have any defenders left? I suppose so, money will easily trump other considerations, especially among the naive, ignorant or just plain venal.
The sad fact is your comment exposes how difficult it is for anyone in the tech industry to hold a sincere conviction that free speech is a good thing, which until recently would've been astounding. It's a giant backwards step.
Twitter occasionally labels disputed/debunked political claims as such (but still lets them be published) and, after literally years of doing little more than that, finally took actions to ban a half-dozen high-profile accounts that kept pushing such claims after they arguably literally lead to an armed insurrection. Parler was literally designed with suppression of political viewpoints they disagree with in mind from the start. It should be crystal clear which of those networks "values free speech" to a higher degree.
So, no, your implicit claim that it's sad that top talent wouldn't work for Parler because that would demonstrate their commitment to free speech is silly at best and disingenuous at worst. Parler has demonstrably less commitment to free speech than Twitter does.
I'll be blunt: my sincere conviction is that "if you moderate anything it means you are not for free speech" is not a viable operational principle. It's a rhetorical device. Trolls -- alt-right or otherwise -- have always claimed that moderation suppresses their free speech. If you listen to them, you are running a forum for trolls, whether or not that is your intent. It is not Parler's publicly claimed intent to be doing so, but -- even based on the content on their site, let alone their ideologically-driven moderation which, again, goes far beyond anything Twitter, Facebook, et. al, have actually done -- it is painfully obvious it is their actual intent.
Free speech is a good thing. And if algorithmic ranking weren't involved, I would probably still hold to the notion that the appropriate cure for bad speech is usually more speech.
But I've come to understand that even when some of a thing is good, more of it is not always better.
By all means we need vigorous debate and principled stances arguing about where the line should be drawn, and what are the appropriate consequences for stepping over it, but "fire in a crowded theater" is just the obvious case when we have people nattering on about how it's stupid to prevent people from walking around with spare cans of cans of gasoline, just in case and ... "hey, did you know that if the fuel-to-air mixture is rich enough, gasoline actually won't catch fire? Here is your complimentary box of matches BTW."
We desperately need better models and mechanisms for regulating speech that don't require heavy handed censorship by the government or outright bans by private parties, and it would be great if these mechanisms can be meaningfully exercised at the edge of the network (or social graph) rather than centrally deployed, but I'm not sure how to get there from here without the various failure modes bringing everything crashing down around us anyway.
I think we have reached a good balance (for now). Government has to be hands off, and platforms can censor as they wish.
It’s hard to say whether this will work long term, though.
And online I think I read something about porn sites, who were working on large scale video streaming well before Youtube and Netflix (as streaming service) were a thing.
Seems like a pretty radical assumption and a pretty sad sign of the times if true.
Note: this message has nothing to do with Parler and being right or left. Just about the phrase “free speech” and what it now connotes.
Each degree you move to an extreme has a fair impact on your ability to hire the best in a very competitive market. Even if you’re a movement conservative a prudent question is how something on your resume might affect your future earning potential.
Mark Zuckerberg: "Trump says Facebook is against him, liberals say we helped Trump. Both sides are upset about ideas and content they don’t like. That’s what running a platform for all ideas looks like.”
Matt Cutts: "We don't condone the practice of googlebombing, or any other action that seeks to affect the integrity of our search results, but we're also reluctant to alter our results by hand in order to prevent such items from showing up"
How much are they paying, again? If they pay on par with FAANG, I'm sure they would have no problem attracting top tier talent. If they are paying multiples of FAANG, they would attract top of the FAANG talent. Of course if they are paying a fraction of FAANG, they are going to get a very mediocre talent.
And even if you did want to work for such a company, the impact on your resume in the future along might be enough to deter you.
Its like being angry at Signal because their encryption allows terrorists communicate securely.
Most of it could also be posted on Twitter and Facebook, although there it might get labeled as misinformation.
It's actually fairly difficult for the overwhelming majority of people to get legitimately kicked off of most mainstream social media. By "legitimately" I mean by actually violating the site's published rules. At the scale of these sites there are occasional mistakes made where someone gets banned who shouldn't, and it can be difficult to get that reviewed, but nevertheless for most people those sites are "free speech social networks".
Because of this, when you start a site like Parler you get almost all of your initial membership from those people who got kicked off of Reddit, Twitter, etc., or who are having to work at not getting kicked off because they want to post calls to violence, etc.
That sets the tone for the site from then on. Hence, when a site is specifically selling itself as a "free speech social network" it almost always can correctly be interpreted as "a social network for <X> extremists who could not follow basic norms for civilized discourse" for some X.
Can you name a "free speech social network" that isn't overrun by white supremacists and Nazis?
It turns out that if you prioritize free speech, then the people who congregate on your site are mostly those with beliefs that are sufficiently repugnant that decent humans don't want to be associated with them.
Much like, for example, the gadsden flag.
One of the things that's incredibly unhelpful in our current political debates is that there exists a very noisy (at least) minority on both sides of every one of those debates that assumes all the people on the other side are idiots. In general this is not true[0] and so, yes, even though Parler was a social network explicitly for conservatives, they would still have been able to hire smart people.
I don't say that Parler was for extremists, although an extremist contingent was certainly present, but it's worth remembering that even those that are unequivocally and uncontroversially agreed to be extremists by the vast majority of people (Bin Laden, Stalin, Hitler[1], et al) were always able to "hire", or perhaps disciple, very smart people.
Being smart is not the same thing as being ethical, by which what I really mean in this context is sharing the same set of ethics that you or I have.
(On a tangentially related note to both my first and last paragraphs, Boeing employ a very large number of very smart people and yet, as the 737 Max debacle clearly illustrates, they were nursing some absolutely horrendous culturual issues that led to a situation where that airliner was certified and sold even though it contained systems that incorporated severe safety failings.)
[0] And the culture of endless cheap shots, snobbish intellectualism, and disrespectful dismissiveness that surrounds political debate these days is not a force for good in the world.
[1] At the risk of invoking Godwin's law.
A lot of people just want to lead normal lives with their friends and family. I envy them. Truly.
In that context, and with folks with no regard for consequences in charge, an emergency decision to allow everything seems plausible.
You would, would you? Thousands of individuals who by and large wanted to try out a competitor to Facebook ended up getting their personal details downloaded and leaked (and we're talking about very sensitive details here), and you're going to buy a beer for the criminals who did this? I assume before you turn them into the authorities for their 10-20 year sentences?
That is a very, very generous take. And if that's all users were doing then their data being breached is regrettable but not world ending.
Example: In production, a load balancer or other proxy handles authentication and passes a signed JWT to the application but running locally the application will take a JWT directly and signature verification is disabled. In this case, the application has multiple checks in place to make sure it's running locally and in production environments it has network policies to only allow traffic from the authentication infrastructure.
I've had flakey dependencies. I've thought "maybe fail open is okay in this one case". You're growth hacking your company and you don't want to be held back because a dependency can't handle your scale. And hey, if a few fraudulent accounts get in, we'll just clean them up later. Cost benefit analysis here, right?
But the road to hell is paved with trying to improve user experience.
A thousand engineers just got PTSD from reading that!
I said it with a tone of "Oh shit, I could have done exactly the same thing". Empathy.
But it's a fun point of the nuances of language, isn't it? Maybe I misunderstood you.
Wasn't it something like 99% of e-mail was spam? The downsides of an open / decentralized platform.
Everything has/should have a "break window" escape, and yes, that's a security weakness, but I don't see many alternatives to that.