News for hackers. Stuff that matters.
Re:xz: A Microcosm of the interactions in Open Source projects by SuperHeavy256 on Sunday March 31, 2024 @04:10AM (#39882405)
So the first step of this huge mess was: a social engineering attack. Attacking a tired, burnt-out open source project developer and peer pressuring him into giving more control of the repo to the attacker.
Re:xz: A Microcosm of the interactions in Open Source projects by fulafel on Sunday March 31, 2024 @04:30AM (#39882477)
The tiredness or other problems of the developer seems an easy narrative, but did anything actually happen that wouldn't in any understaffed open source project? A contributor shows up and does work for 2 years, I feel most projects would have given the person full project developer status by then.
Re:xz: A Microcosm of the interactions in Open Source projects by orbital-decay on Sunday March 31, 2024 @05:01AM (#39882610)
It's not like organizations writing proprietary software are magically immune to sleeper agents either. Social engineering is not a software or tech problem in general. Trust is required to get anything done, and can also be abused to hell and back by a sufficiently motivated actor.

But important software needs to be identified and proportionally more scrutinized by multiple independent parties, that's the lesson. Identification is the hard part. You can't easily determine that half of the world relies on this particular piece of software, or that it enables access to desirable targets.

Re:xz: A Microcosm of the interactions in Open Source projects by bbarnett on Sunday March 31, 2024 @05:18AM (#39882688)
This is why OSS can be more secure. How much software has the build scripts, the code, all of it, locked away and hidden behind propriety software? Instead of lots of eyes, just 2 DEVs?

Yes, this almost succeeded... but can you imagine how many scenarios where someone such as Andres Freund would have found irregularities, but then.. what? Just had to report it to some webpage's contact page? Without being able to even dig further?

Would he have known what was happening, or would it have just ended up as an oddity, with no source code, and with the binary purposefully obscured, and so on?

Or... even worse, it's reported directly to the 2 guy team, and the guy who put the back door in... takes the bug report?!

From where I sit the sleeper/mole problem exists in companies, and can be far harder to detect.

Re:xz: A Microcosm of the interactions in Open Source projects by creato on Sunday March 31, 2024 @05:57AM (#39882871)
I think there are huge factors that push things both for and against open source here.

Yes, you get more eyes and people like Andres Freund.

However, if this had been a mole in a company, he wouldn't be able to hide behind a possibly anonymous fake persona and (likely) be immune from any consequences/fallout from this attack. It would be harder to gain entry in the first place, he would have needed a real identity. Background checks may not be a big hurdle, but they're at least something more than signing up for a GitHub account. He also wouldn't have had his posse of anonymous sock puppet accounts to add pressure to the original maintainer.

I also think that just being able to ramp up on liblzma and its dependencies to undertake this effort in the first place is a huge head start vs. trying to execute the same attack on a closed source corporate product.

At the same time, there are probably lower hanging fruits to attack if you really do get a mole inside a company, in addition to there being fewer eyes/opportunities for the attacks to be discovered as you pointed out.

I honestly don't know how all of these factors add up. I expect the argument opposite to yours to be raised (again) in the wake of this incident. I'd personally be hesitant to raise this argument (not that it matters here on HN).

Re:xz: A Microcosm of the interactions in Open Source projects by A1kmm on Sunday March 31, 2024 @06:23AM (#39882975)
> However, if this had been a mole in a company, he wouldn't be able to hide behind a > possibly anonymous fake persona and (likely) be immune from any consequences/fallout from > this attack. It would be harder to gain entry in the first place, he would have needed a > real identity.

Lots of companies hire remote workers sight unseen, and not all require proof of identity, and where they do, that proof can possibly be easily faked by someone willing to break the law.

Larger Open Source projects - e.g. Debian Developers, also have real-identity verification through chain of trust.

> Background checks may not be a big hurdle, but they're at least something more than > signing up for a GitHub account.

GitHub doesn't allow more than one free account per person. Companies might not look for employees sharing an IP address as much as GitHub does.

> He also wouldn't have had his posse of anonymous sock > puppet accounts to add pressure to the original maintainer.

Depending on the software, it might not be that hard to be a customer (or even pretend to be an employee of a known customer, if they aren't validating incoming requests claiming to be from customers enough) and add pressure for features that will provide cover for a backdoor, or even for a product that isn't a commercial success to be handed over to an external developer.

Re:xz: A Microcosm of the interactions in Open Source projects by WesolyKubeczek on Sunday March 31, 2024 @06:34AM (#39883020)
And yet industrial espionage in companies is quite common, by both competition and, if you’re big and important enough, state (yours or enemy). The means are different, though.
Re:xz: A Microcosm of the interactions in Open Source projects by nonrandomstring on Sunday March 31, 2024 @08:39AM (#39883731)
Organisations shield moles and infiltrators very effectively. They are rarely alone. It may be harder to get in as an outsider, but once in they've protections a lone wolf does not enjoy.

You can save a lot of time reading John LeCarre novels and take a short summary like this one of Adam Curtis [0].

If you watched the recent Oppenheimer film you'll know the name Klaus Fuchs. But what about Guy Burgess, Kim Philby and Anthony Blunt? If MI5, MI6 and GCHQ are. almost by tradition stacked to the rafters with defectors and spies, enclaves of enemies within, and enemies within enclaves of enemies... how does anyone expect a commercial company motivated by money and with such a weak perimeter as a "job market", to do better?

Trust does not have an organisational solution.

[0] https://www.bbc.co.uk/blogs/adamcurtis/entries/3662a707-0af9...

Re:xz: A Microcosm of the interactions in Open Source projects by barcist on Sunday March 31, 2024 @10:30AM (#39884613)
In a corporate proprietary code base this is REALLY easy. Just commit a bug. Happens every day, everywhere. Just that normally these are mistakes. You can easily mask a deliberately inserted exploitable bug as a mistake. Make the code a bit convoluted, leave out a crucial corner case from your test, slip this in in a moment when your code reviewers have time pressure and/or are stressed somehow, and even if you are caught, the plausible deniability is convincing. How many eyes will see it after the fact? None.
Re:xz: A Microcosm of the interactions in Open Source projects by cqqxo4zV46cp on Sunday March 31, 2024 @08:03AM (#39883493)
It’s pretty intellectually dishonest to call this a big win for open source. It’s completely and utterly bonkers that this was noticed. Unthinkably low odds. There are certainly other backdoors out there like this, already in production.

If this happened on a proprietary software project, …I have verified proof of identity documents for everyone on my team. These can of course be faked or fraudulently obtained, but it heightens the barrier to entry and leaves more of a paper trail. That’s not something that we have in this scenario. There’s way more give and take between open and closed source than open source purists make out. They just like the idea of being able to see source code.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @05:59AM (#39882879)
I see people saying "this almost succeeded". It didn't almost succeed, it succeeded entirely. It made it to production, for a long time (? I'm not sure how long it was in repos).

Success is making it to some machine, and then it's "how long it's successful for". Who knows how many other such vulnerabilities there are, and the openness of the source didn't protect us as quickly as we thought it would.

Re:xz: A Microcosm of the interactions in Open Source projects by cassianoleal on Sunday March 31, 2024 @06:14AM (#39882943)
> It made it to production, for a long time

Did it? At least in Debian, where it was found in the first place, it only existed in sid/unstable and I think perhaps in testing. It never made it into stable which is the only thing you should be running on a production system.

I think in Fedora it was also only in a testing or RC of the next stable version but I'm not sure. Also unsure about others. I have seen several distros putting out advisories (Gentoo, Arch, OpenSuse and more) but I didn't go into the specifics.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @06:16AM (#39882949)
I don't know specifics either, but Debian stable has years-old packages, so I'm not sure if it's a good indicator of how widespread this got. If it's in the latest Ubuntu release, I'd say it's pretty successful.
Re:xz: A Microcosm of the interactions in Open Source projects by mikeocool on Sunday March 31, 2024 @08:21AM (#39883613)
Fortunately, it didn’t make it into an Ubuntu release: https://discourse.ubuntu.com/t/xz-liblzma-security-update/43...

Though it was frighteningly close, 24.04 is scheduled to be released on April 25.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @08:29AM (#39883660)
Wow, ok, that's close. I wonder how many have actually made it.
Re:xz: A Microcosm of the interactions in Open Source projects by spacemanspiff01 on Sunday March 31, 2024 @07:46AM (#39883363)
My impression is that it did not get into latest Ubuntu, they were in the process of trying though.

The end goal seems to have been to get it into the LTS releases of rhel and Ubuntu. Since this was a valuable it's probably something kept around for when other methods fail. I doubt it would be used before the really valuable systems are compromised (rhel and Ubuntu in cloud and governments)

Re:xz: A Microcosm of the interactions in Open Source projects by cassianoleal on Sunday March 31, 2024 @10:45AM (#39884742)
I don't personally know anyone who would run any Debian release that's not stable on production systems. On your desktop? Fine. I do it myself. On a server, with ports open to the public Internet that's a big nope.

There's nothing wrong with Debian stable having years-old packages either. In any case:

> The current "stable" distribution of Debian is version 12, codenamed bookworm. It was initially released as version 12.0 on June 10th, 2023 and its latest update, version 12.5, was released on February 10th, 2024.

https://www.debian.org/releases/

That's just over 1 year. Sure, packages themselves will be older than that since they take some time soaking frozen in testing before they become part of stable but that's generally a good thing.

In any case, if there's pressing need for some newer packages, it's always possible to use apt pinning to pull those on top of a stable base.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @10:52AM (#39884795)
I didn't say there's anything wrong, I meant that choosing the OS distribution with the oldest packages isn't an indication for how widespread the distribution of this package was.
Re:xz: A Microcosm of the interactions in Open Source projects by cassianoleal on Sunday March 31, 2024 @12:11PM (#39885492)
I was initially responding to

> > It made it to production, for a long time

I never said it didn't make it to production. I was asking if that's the case, and giving one data point.

It apparently didn't make it into Ubuntu LTS either, so there's another one.

If you have information that proves or disproves either point, please present it.

Re:xz: A Microcosm of the interactions in Open Source projects by supriyo-biswas on Sunday March 31, 2024 @08:42AM (#39883754)
> Yes, this almost succeeded... but can you imagine how many scenarios where someone such as Andres Freund would have found irregularities, but then.. what? Just had to report it to some webpage's contact page? Without being able to even dig further?

You should check the thread posted yesterday, the Lastpass guy who raised a PR for a go binding for xz but was otherwise unrelated to this fiasco already faced a bit of questioning regarding their motivations from their employer based on a user reporting them from a contact form.

Moreover, many companies already have information from background checks, and in certain countries, they also have the tax identification number of the employee which can pretty much identify who put in the backdoor.

Re:xz: A Microcosm of the interactions in Open Source projects by o11c on Sunday March 31, 2024 @12:59PM (#39885886)
True, but organizations tend not to accept online-only identities.
Re:xz: A Microcosm of the interactions in Open Source projects by jrochkind1 on Sunday March 31, 2024 @09:58AM (#39884319)
The attacker really did useful work for 2 years, before taking over the project and injecting malware? I wasn't clear on the timeline.

That is pretty hard to defend against. I wonder if they were planning this all along, or if they wound up with a greedy plan later, or what.

Re:xz: A Microcosm of the interactions in Open Source projects by aborsy on Sunday March 31, 2024 @04:20AM (#39882444)
Enabled by customers who don’t pay or donate.
Re:xz: A Microcosm of the interactions in Open Source projects by grumpyprole on Sunday March 31, 2024 @04:25AM (#39882462)
Are these customers or additional attackers who have never posted before and will never post again?
Re:xz: A Microcosm of the interactions in Open Source projects by kijin on Sunday March 31, 2024 @04:55AM (#39882591)
Tired maintainers have no way to distinguish one from the other, that's the problem.

Even if we say "no payment, no customer," it won't prevent determined attackers from paying significant amounts of laundered money in order to be treated as customers.

Re:xz: A Microcosm of the interactions in Open Source projects by Ekaros on Sunday March 31, 2024 @05:34AM (#39882752)
Also one thing that is easy to come across at this type of work is money. I mean in the cases where someone is injecting backdoors or vulnerabilities. Might not be for individuals or criminal groups. But once agencies and corporations get involved, the sums are trivial...
Re:xz: A Microcosm of the interactions in Open Source projects by rini17 on Sunday March 31, 2024 @09:31AM (#39884080)
On the other hand, accepting significant amounts of money causes overhead (accounting, taxation). Plus it reinforces the psychological obligation and it's not fun anymore. Thus many maintainers avoid it.
Re:xz: A Microcosm of the interactions in Open Source projects by makapuf on Sunday March 31, 2024 @04:28AM (#39882466)
Well before that: letting a central lib and project to be maintained by a single tires burned out project dev (see xkcd2347)
Re:xz: A Microcosm of the interactions in Open Source projects by resource_waste on Sunday March 31, 2024 @05:09AM (#39882651)
I often debate if I should go into the hacking world, best case I get bug bounties, worst case I get rich and I contribute immoral actions.

I think its far easier to make $3,000,000 as a hacker than a worker/entrepreneur.

Its way easier to find flaws/bugs than to do the entire Capitalism thing correctly.

Then I see that half of these major attacks required social engineering.... Maybe being a hacker is significantly easier. I only need to fool 1 person, there are a lot of people, and merit isnt exactly how everyone got to their position.

Anyway point being: People are amazed by hacking, they shouldn't be, its relatively easy if you are a mere 10 year programmer. Most of us pick relatively moral work, so the number of attacks are small. It is also why we really need to treat security on computers like its no stronger than your home's front door lock. There are too many attack vectors to be perfectly safe.

Re:xz: A Microcosm of the interactions in Open Source projects by AndyMcConachie on Sunday March 31, 2024 @05:31AM (#39882737)
> People are amazed by hacking, they shouldn't be, its relatively easy if you are a mere 10 year programmer.

+1

Between roughly 1999 and 2013 I was primarily a test engineer for networking switches/routers/telephony products. I found bugs for a living and wrote them up, and in the process I found plenty of security vulnerabilities and wrote them up. Security bugs aren't really that different from other bugs. Yet for some reason we lionize people who find security bugs.

Most security issues are simply quality issues. But by calling them security issues we shift the focus away from the software producer creating shit code to an attacker doing something bad.

The case with xz is a little different, because we have someone who intentionally added bad code and tried to hide it. But for unintentional bugs that rise to security vulnerabilities it's 99% a QA problem.

Re:xz: A Microcosm of the interactions in Open Source projects by _kb on Sunday March 31, 2024 @09:43AM (#39884178)
QA is focused on testing a product or system against how it should work. Security analysis tests against how it shouldn't. The second of those is a much larger search space. Both are important.

The argument around blame shifting is apt. The same case has been made for the usage of the term 'bug' (aka an externality). It's 2024, we don't have moths crawling into relays on our computers. We have implementation faults, invalid designs, unsound architecture, inaccurate documentation, ambiguous requirements, and a myriad of other ways to express how software may be defective.

Using those terms hurts, and may even invoke some level of concern from those outside of the engineering org - this is a great reason to embrace them.

Re:xz: A Microcosm of the interactions in Open Source projects by manquer on Sunday March 31, 2024 @01:41PM (#39886259)
> QA is focused on testing a product or system against how it should work

It would be pretty poor QA who only tested happy paths . Any competent quality analyst will be expected to test for failure states, boundary conditions and so on .

Re:xz: A Microcosm of the interactions in Open Source projects by saulpw on Sunday March 31, 2024 @03:58PM (#39887515)
I think your worst case is a bit off. Worst case you go to prison for a very long time?

And if you do make that $3m as a hacker, now you have to spend your time worrying about whether someone will eventually catch you because of that one time you logged into a service without using enough VPNs.

Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Monday April 01, 2024 @07:47PM (#39900777)
Security engineer here. Your viewpoint is exceptionally skewed to the point of being wildly inaccurate. Being good at security work is like any other skill and has a payout distribution more akin to being a star performing artist than a 9-to-5 job. That is, everyone hears about the people that make millions, but they’re actually missing that most people make far less than that, even when they’re good at their jobs. And in your case the people who are not good at their jobs also end up in jail. And just like learning to play music, you can get really good at it if you practice for 10 years–but most people won’t, and even then if you’re in the top 1% but not the top 0.1% the difference in pay might be several orders of magnitude. Just being a software engineer is a far more reliable way to be well off.
Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @05:22AM (#39882704)
In the end you're only pressured as much as you allow yourself to be pressured.

"I don't feel like it, if it's important to you then feel free to fork".

That's really all that's needed. "I don't feel like it" is all the justification you need.

Some guy just made a compression tool, because some people like doing that kind of thing, or because it was useful for him. He didn't ask to be made "critical infrastructure" or to be responsible for the security of sshd or to have some business depend on it, or anything like that. No one even asked him.

Re:xz: A Microcosm of the interactions in Open Source projects by em-bee on Sunday March 31, 2024 @05:57AM (#39882869)
"I don't feel like it, if it's important to you then feel free to fork".

That's really all that's needed.

that's much harder than it sounds.

having someone fork your project can give you the feeling of loosing control over the project as potentially all your users might go with the fork. that fear is often strong enough to push yourself to do things that will avoid a fork.

it's a desire for harmony and a fear of conflict

Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @08:19AM (#39883593)
This fear doesn’t harmonize with the mantra about how no one owes anyone anything. If the code is OSS then you can’t lose control over the project since you have no inherent control over it to begin with.
Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @06:11AM (#39882926)
You're right of course, but there are cultural norms and expectations at play here, which I feel need to be modified somewhat.

And that doesn't really change that things really are that simple, kind of. How do you stop smoking? By not lighting up any cigarettes. Of course it's not that simple, but ... it also kind of is.

Re:xz: A Microcosm of the interactions in Open Source projects by em-bee on Sunday March 31, 2024 @07:50AM (#39883389)
there are cultural norms and expectations at play here, which I feel need to be modified somewhat

this is an important observation.

a change of culture is really what is needed here, because it implies that not only maintainers change their behavior, but everyone involved, and the question is not so much what any individual can do for themselves, but how we can help others with that change and spread it

Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @08:20AM (#39883598)
It's impossible for everyone to change their behaviour, because that's too many people. Some people are just assholes and don't care. Or they're idiots and don't understand. Nothing we can do about that. Most people are alright, but with 8 billion people on the planet even a small percentage being an asshole means a lot of assholes.

For the most part, the people who care already care (you, me, most others commenting here) are not really the problem.

So ultimately the only thing you can do as a maintainer is set your own boundaries for yourself. And the original message in that thread ("there is no activity, what are your plans?") is a fair question, although the follow-ups are not.

All of this is true for a lot of the internet by the way. The best thing of the internet is that anyone on the planet can talk to anyone else on the planet. When I was a kid I did some ham radio with scouting, and you could talk to people from places like Russia and the US. Wow!

The worst thing of the internet is that anyone on the planet can talk to anyone else on the planet. You're constantly exposed to a seemingly never-ending stream of assholes and idiots, and a single asshole can ruin the day of dozens, hundreds, or even thousands of people every day. Maybe this is just 1% of people, but 1% of 8 billion is 80 million.

Re:xz: A Microcosm of the interactions in Open Source projects by em-bee on Sunday March 31, 2024 @11:03AM (#39884884)
i would not say it's impossible, but for sure it's an uphill battle. and it might take a few centuries for people to change, just like it took a few centuries before we abolished slavery and we are still working on racism, gender, different orientations, etc.

being nice to each other is just one of the many things that we as humans need to work on. and we are working on it, and hopefully some day we will be able to achieve it.

Re:xz: A Microcosm of the interactions in Open Source projects by barcist on Sunday March 31, 2024 @09:11AM (#39883945)
> potentially all your users might go with the fork

That's the issue right there. Why would you care?

Clearly, the maintainer is invested in having a "community". Why? They must expect something positive coming out of it, so they are invested in having that community, which then means they have something to lose if that community moves somewhere else and they are left behind.

That's what enables this social exploit. A takeaway can be not to get so invested in having a community. These are users of your software, and their "utility" is in helping find bugs, perhaps suggest improvements or even provide patches, making the thing you as the original author made better. But that can clearly become a burden.

Re:xz: A Microcosm of the interactions in Open Source projects by ploxiln on Sunday March 31, 2024 @09:47AM (#39884211)
I'm reminded of this recent post about the Redis fork to be maintained by Drew Devault: https://andrewkelley.me/post/redis-renamed-to-redict.html

> Redict is a Finished Product

> Drew is a controversial person

(he's been rude/mean in the past)

xz should be pretty much finished as well, major overhauls like the "ifunc" feature to inject alternate function implementations are not really justified. Beware of busybodies and this whole "the community demands vibrant evolution of the project" thing. xz does its job already!

And being rude/mean is not a plus, it's a minus, but it does seem to correlate strongly with leading a high-quality project. Even if it's not the best way, this person has the guts to say no in unequivocal terms. You might just have to accept the downside of a rude/mean maintainer as a common unwanted side-effect of an effective maintainer. (Linus Torvalds also comes to mind of course.)

Re:xz: A Microcosm of the interactions in Open Source projects by forgotmyinfo on Sunday March 31, 2024 @10:08AM (#39884414)
It's important to note that rudeness is somewhat up for interpretation. Rejecting a patch because it's full of bugs might be considered rude to some people, but not to me. There are definitely times where Drew rubs me the wrong way, but I know he's good at what he does, and I know he's just as fed up as I am about the nonsense. He doesn't suffer fools, and that can seem rude and mean if, well, you're a fool. (To be clear, he's been totally out of line before, but I know he's been working hard to change that, and I think he's been successful.)
Re:xz: A Microcosm of the interactions in Open Source projects by UncleEntity on Sunday March 31, 2024 @11:18AM (#39885033)
I've made absolutely stupid 'contributions' to open source projects in the past, not out of malice but pure ignorance.

If someone had slapped me down for being an idiot I'd have most definitely found something else to spend my free time on.

Today, I'm not super great at coding but can hunt down segfaults like a truffle pig and submit bug reports (with code) that demonstrates the exact issue if it's something I can't figure out on my own.

Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Monday April 01, 2024 @07:32PM (#39900647)
xz sees continual improvement to e.g. make it faster. ifuncs are an important part of that. If you want to use the garbage slow version of xz that’s up to you but I don’t think most people would want this.
Re:xz: A Microcosm of the interactions in Open Source projects by account42 on Monday April 08, 2024 @11:31AM (#39970741)
> xz sees continual improvement to e.g. make it faster.

Yes, that makes sense.

> ifuncs are an important part of that.

No, IFUNCs have absolutely zero performance benefit over regular function pointers for internal functions. If anything, they can limit optimization oppertunities the compiler has with other approaches. The only benefit IFUNCs bring is being able to avoid another indirection when replacing already exported library functions in their entirety. That's what they are there for - different optimized implementations for things like memcpy in glibc.

Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Wednesday April 10, 2024 @06:53AM (#39989252)
Sure they do: they’re transparent to applications.
Re:xz: A Microcosm of the interactions in Open Source projects by gmerc on Sunday March 31, 2024 @05:27AM (#39882722)
When it was created, it was a different time. There was a sense of community around open source, much more tightly nit. And the more socially minded you are, the more vulnerable you are to these kind of attacks.
Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @05:37AM (#39882770)
2007 wasn't that long ago, and these type of maintainership issues aren't new – they were a thing when I was starting out in the early 2000s as well. What changed are the stakes, and also the amount of effort bad actors are willing to spend to mine their cryptoblahblah or whatever.

And sure, I understand why people feel a responsibility. And it's fine to take this responsibility too. I'm just saying: there is no need to.

The entire point of this Free Software/Open Source is to give people the freedom to do whatever you want with some piece of software, without having to be beholden to the original author. That's pretty much the entire point.

Anyone in the world can be a maintainer for xz. By forking it and applying useful patches.

Re:xz: A Microcosm of the interactions in Open Source projects by Klonoar on Sunday March 31, 2024 @06:10AM (#39882924)
> 2007 wasn't that long ago

It was almost 20 years ago, and no, I generally agree with the person you're responding to that OSS has changed significantly in these regards since the early-to-middle 2000s.

I'm not even disagreeing with the rest of your take, just poking at this idea that time hasn't passed and changed things. Some days I look around our industry and feel like it's nowhere near the one I was working in before.

Re:xz: A Microcosm of the interactions in Open Source projects by toyg on Sunday March 31, 2024 @07:17AM (#39883212)
2007 was 17 years ago, and it was another world. This time 17 years ago, the iPhone had not been released. Facebook was still new and hot, the first big operation to be unashamedly built on PHP (!). GitHub didn't exist, opensource happened on mailing lists, Sourceforge, private Subversion repos.

It was definitely another world. I do agree that maintainership issues were already there, but I think they were smaller in number. Between the explosion of projects and the explosion of users, they are now on a different scale.

Re:xz: A Microcosm of the interactions in Open Source projects by rrdharan on Sunday March 31, 2024 @10:08AM (#39884413)
MySpace, Yahoo! Mail, eBay and probably other large scale operations were all built on PHP long before Facebook and I don’t think any of them were particularly ashamed about it.
Re:xz: A Microcosm of the interactions in Open Source projects by toyg on Sunday March 31, 2024 @07:36PM (#39889303)
I doubt eBay was originally built with PHP - when it was founded in 1995, the very first PHP version had been available for barely 3 months. I expect the original EBay was mostly Perl, which was the standard at the time.

The others I don't know, but MySpace was not a particularly big operation. Before WordPress, most sites started as PHP at some point were expected to migrate to something else, because maintainability of PHP3/4 projects was a big challenge (hence the "shame"). Facebook was the first company that simply refused to do that, and focused on improving PHP instead.

Re:xz: A Microcosm of the interactions in Open Source projects by manquer on Sunday March 31, 2024 @01:38PM (#39886229)
PHP was a popular stack at that time ? Wikipedia and Wordpress existed and were very popular and unashamedly PHP.

What PHP lacked and Ruby had was rails like framework , the team from 37signals singlehandedly shifted the momentum out of PHP with their work on rails.

Re:xz: A Microcosm of the interactions in Open Source projects by cqqxo4zV46cp on Sunday March 31, 2024 @07:58AM (#39883453)
This is incredibly naive. Anyone that thinks that pressure doesn’t work is exactly who I’d personally put top of my list to try to social engineer. Everyone is human. Nobody has infinite strength against persistent pestering. Everyone is capable of finding oneself in a scenario where they feel unsolicited responsibility. All you’re saying here is that you haven’t personally experienced it.
Re:xz: A Microcosm of the interactions in Open Source projects by zelphirkalt on Sunday March 31, 2024 @08:35AM (#39883697)
The GP did not state that pressure does not work. They stated how to they think one should think about people trying to pressure. Or about contributions. They named the industry's self inflicted problems.
Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @09:04AM (#39883900)
I didn't say that; I just said you can maintain these projects with different attitudes.

"I feel a huge responsibility to please every user who reports a problem, shortcoming, or asks for a feature, which I need to address ASAP" is one attitude.

"I work on it whenever I feel like it, and if you don't like that then I don't care" is another.

Those are on the extreme end and for most people it's somewhere in-between.

It's very common for people doing volunteer work to lean too much towards the first. They have trouble saying "no" and bite off more they can chew, even without direct pressure. Learning when to say "no" and setting boundaries for yourself is absolutely a vital skill for any kind of volunteer work – without it sooner or later you will burn out.

When I was a scout leader burnout due to this was a major cause of attrition. We made it very clear and very explicit there was no pressure for anyone to do anything they didn't want to, and that there was no shame in not wanting to do something just because you didn't feel like it. But it still happened, because people still feel this pressure, even when it doesn't actually exist.

Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @09:14AM (#39883962)
Peer pressure works excellently against me as a teenager [when I was one] who just wants to fit in and have friends. It works much less well against me when I get unsolicited calls and contacts via phone and the Internet.
Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @05:55AM (#39882857)
This ignores the very fact that peer pressure works and puts the entire blame on the victim. No, people react differently when pressured vs when not pressured. That's the entire reason why peer pressure works.
Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @06:22AM (#39882972)
I didn't blame anyone; I just made some observations on how this type of thing can be avoided, partly based on my own experience doing volunteer work for the last 20 years (as open source maintainer and as scout leader), and being subject to the same pressures at times.

I hate this trend of shouting "victim blaming!" once someone tries to explain things or analyse anything. Not everything needs to be a value judgement. "X happened, and Y could have prevented it" is not a judgement.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @06:26AM (#39882994)
Well, when you say "the victim could just not have succumbed to the pressure" I don't see how that doesn't blame the victim. I understand it's not your intention, but peer pressure works exactly because it gets around people's "wait, I don't actually want to do this" defense, and to say "just don't do it, nobody is physically forcing you to" ignores that fact.

If I were in the maintainer's shoes, and was feeling ambivalent about handing over maintenance to a fairly unknown person, this kind of social attack would definitely push me over the edge, exactly as it was planned to.

Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @07:51AM (#39883400)
Anything can be viewed as a judgement statement if you paraphrase or stretch things enough. I don't think your paraphrasings are a fair representation of what I actually said.

But you can insert "I'm not trying to blame anyone, but here are some suggestions to modify cultural norms so these things are less likely to happen in the future" if you want. Or you can just assume good faith and take that as implied unless demonstrated otherwise.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @07:58AM (#39883459)
But what's the advice here? "When people are trying to peer pressure you, don't accept?"
Re:xz: A Microcosm of the interactions in Open Source projects by arp242 on Sunday March 31, 2024 @08:38AM (#39883728)
More or less, yes. Also see my other post: https://news.ycombinator.com/item?id=39883598

Also: as far as I'm concerned there is no "peer pressure" here because these people aren't "peers". They're just some random people who, as near as I can tell, have done fuck all. There is not even an attempt to help out. Not even the question on how to help out. These people are supposed to be the maintainer's peers? Yeah nah. They're just shouty entitled internet nobodies that have not even attempted to contribute anything constructive or signal any willingness to do so (not even "I have been using the patch in production for half a year without problems", which would actually be a small but useful way to help out).

When it comes to these types of things you need to accept that you can't change every person in the world; you can only change yourself. If you cycle a lot you better learn to anticipate assholes doing asshole things. Is that fair? No. But it beats being run over and getting hospitalized, or worse.

Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @09:16AM (#39883972)
> Also: as far as I'm concerned there is no "peer pressure" here because these people aren't "peers". They're just some random people who, as near as I can tell, have done fuck all. There is not even an attempt to help out. Not even the question on how to help out. These people are supposed to be the maintainer's peers? Yeah nah. They're just shouty entitled internet nobodies that have not even attempted to contribute anything constructive or signal any willingness to do so (not even "I have been using the patch in production for half a year without problems", which would actually be a small but useful way to help out).

That’s what I find incoherent about it.

1. The consumers are little ants that have no real power over anybody, certainly not to help the project itself

2. On the other hand they are powerful enough to peer pressure the only person who has the power to drive the project forward

Re:xz: A Microcosm of the interactions in Open Source projects by forgotmyinfo on Sunday March 31, 2024 @10:11AM (#39884441)
Yes? Block, move on. It's the internet, you aren't forced to interact with anyone. If you are, get a better source code hosting platform.
Re:xz: A Microcosm of the interactions in Open Source projects by nindalf on Sunday March 31, 2024 @08:26AM (#39883639)
> I don't think your paraphrasings are a fair representation of what I actually said.

I think their paraphrasing was a fair representation. You want to have it both ways. You said some incendiary victim-blaming thing, but now you're backpedaling with a "no no, you misunderstood".

Re:xz: A Microcosm of the interactions in Open Source projects by forgotmyinfo on Sunday March 31, 2024 @10:10AM (#39884438)
Giving out advice for concrete steps someone can take to prevent a problem isn't victim blaming. Unless we're all content with people just sitting and whining all the time instead of actually doing anything to help themselves. And let's be real, we're talking about open source contributions, not getting mugged for wearing the wrong clothing here.
Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @08:33AM (#39883685)
Peer pressure happens when someone like a teenager wants or has to be around some other peers (teenagers) but has to follow the whims of the peers in order to continue to be around them or to not be harassed by them.

The peanut gallery of non-contributors are only peers in the sense that they pretend to speak on behalf of some OSS community. And the fact that they are spokespersons is by default suspect. The attacker is a peer in the sense of being a contributor. So is he a peer pressurer? Again we come back to the teenager who has to follow the whims of his peers in order to be included. The maintainer is already inside of his own playground. So the pressure to be part of the “community” is really the incredibly abstract thing that the peanut gallery was referring to: you ought to do so-and-so in order to be whatever I think of in my head as an OSS maintainer.

This can be rejected out of hand if you really believe that maintainers don’t owe anyone anything (because of free labor).

But this gets incoherent if you want to assert both of these things:

1. There is no social contract for OSS maintainers: they can toss their PC out of the window and go on a five-year pilgrimage without telling anyone

2. There is some community which has power over the maintainer to peer pressure them

If you really want to double down on (1), the “cure” is what the OP suggested: say no and walk away.

Re:xz: A Microcosm of the interactions in Open Source projects by stavros on Sunday March 31, 2024 @08:43AM (#39883758)
Many maintainers want to please their users, and be helpful (which is admirable, and more power to them), which means #2 applies. Sure, the maintainer is entitled to say "fuck you, I want to sit on my project and you can fork it if you want", but he was, presumably, trying to be helpful and succumbed to pressure.

I don't think the maintainer is at fault to any degree here. Sure, this could have been avoided if the maintainer refused to be pressured and kept sitting on the project and letting it die, but it's not his fault that he didn't do that, and I wouldn't want that to be the default for maintainers either.

Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @09:12AM (#39883954)
> Many maintainers want to please their users, and be helpful (which is admirable, and more power to them), which means #2 applies. Sure, the maintainer is entitled to say "fuck you, I want to sit on my project and you can fork it if you want", but he was, presumably, trying to be helpful and succumbed to pressure.

All the pro-social benefits with a side-dish of the nuclear option. That’s coherent I have to admit.

In that case one can limit one’s interactions to other invested parties, i.e. contributors. Granted then you are still interacting with the attacker but you’re spared from the peanut gallery.

In real life volunteering you don’t get random drive-by input from outsiders. The input (and whatever peer pressure) is only from other invested parties.

> I don't think the maintainer is at fault to any degree here.

I’m having a hard time understanding moral arguments. “Fault” and “blame”. Everyone is condemning the peanut gallery for complaining about passing on the maintainer stick to someone else. Yes, including people who say that he could have just “not got peer pressured”. To be clear it’s not about the maintainer having “fault” or the peanut gallery/the attacker being wrong. Both can have “fault” in different ways. Like, clearly the attacker is the one who did something bad. Now there’s only a question of what other people could have done differently.

> Sure, this could have been avoided if the maintainer refused to be pressured and kept sitting on the project and letting it die, but it's not his fault that he didn't do that, and I wouldn't want that to be the default for maintainers either.

The maintainer could have done something different but he didn’t and that’s not his fault. It seems that we all agree that he had a live option. You just want to not associate it with “fault”.

In another comment[1] I asked what moral obligation a maintainer has to herself. Only to herself.[2] Focusing on that angle seems more fruitful than talking about “fault” in the abstract since that just leads to back and forths about whether people should protect their wallets better or whether or not people should just stop pickpocketing people.

The goal of this subthread seems to be about how maintainers might protect themselves (for their own sake) from this kind of thing. Laying out the options that are in their hands (and not just how the world around them should become better) seems pertinent to the issue.

[1] https://news.ycombinator.com/item?id=39882721

[2] Like asking about whether someone has a moral obligation to eat healthy. It’s not about other people.

Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Monday April 01, 2024 @07:37PM (#39900690)
> In real life volunteering you don’t get random drive-by input from outsiders.

Sure you do: everyone likes to comment on whether your volunteering work is an effective use of time and resources or not.

Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Tuesday April 02, 2024 @06:06AM (#39903991)
Not in my experience. People don’t complain about people doing pro-social volunteer work (IME).
Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Wednesday April 03, 2024 @06:15AM (#39915505)
I see a lot of people complaining about e.g. working on saving "some stupid animal" instead of solving hunger or similar.
Re:xz: A Microcosm of the interactions in Open Source projects by o11c on Sunday March 31, 2024 @12:57PM (#39885875)
If you think peer pressure is most relevant to teenagers, you really need to sit down and rethink peer pressure.
Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @01:15PM (#39886030)
It is certainly the most obvious and kind of archetypal kind of peer pressure, which doesn’t mean that it’s exclusive to teenagers.
Re:xz: A Microcosm of the interactions in Open Source projects by o11c on Sunday March 31, 2024 @03:01PM (#39887030)
That's still thinking of it the wrong way.

Peer pressure among adults is far more widespread and powerful than the limited peer pressure among teenagers.

Re:xz: A Microcosm of the interactions in Open Source projects by keybored on Sunday March 31, 2024 @04:54PM (#39887989)
What do you think like means?
Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Monday April 01, 2024 @07:36PM (#39900679)
Maintainers have an obvious contract with their users, even for open source projects. Everyone thinks what “Jia Tan” is unacceptable, even though he’s an open source maintainer! You have an obligation to not cause harm to people who use your software.
Re:xz: A Microcosm of the interactions in Open Source projects by tonnydourado on Sunday March 31, 2024 @08:44AM (#39883764)
The maintainer did mention mental health issues. It can be hard to say no in the best of times, let alone when your own mind is trying to screw with you.
Re:xz: A Microcosm of the interactions in Open Source projects by EasyMark on Sunday March 31, 2024 @09:42AM (#39884161)
That's brave on his part and honest. I would never admit that in public personally and shows his personal level of honesty, unfortunately it can make you the victim of even more predators. Just say "no" and move on with your own agenda on your own personal projects. It's none of anyone's business, but one may share at times, just realize that others may try to take advantage. That's just my take.
Re:xz: A Microcosm of the interactions in Open Source projects by EasyMark on Sunday March 31, 2024 @09:39AM (#39884141)
This is harsh but tree, but it's not simple. People are different. Some shrug off things naturally, others try to be empathetic almost to a fault. I've learned to be the former, but when I was younger was much more the latter. I try not to act like it's easy because it took me a while to have that skill. And it is a skill and not built in to me, I still feel the urge but built up the skill of saying "no"
Re:xz: A Microcosm of the interactions in Open Source projects by EasyMark on Sunday March 31, 2024 @02:59PM (#39887013)
true*
Re:xz: A Microcosm of the interactions in Open Source projects by 2OEH8eoCRo0 on Sunday March 31, 2024 @10:22AM (#39884541)
You don't even have to say, "I don't feel like it." You don't have to say anything.
Re:xz: A Microcosm of the interactions in Open Source projects by kqr on Sunday March 31, 2024 @01:59PM (#39886450)
I'm curious: do you maintain a popular open source project?

The reason I ask is maybe the people who do are (in general) self-selected from the subgroup of people who don't just say "sod off" when someone is rude or inconsiderate.

If that was their stance in life, they would likely not put up with maintaining a popular open source project for very long.

Re:xz: A Microcosm of the interactions in Open Source projects by WesolyKubeczek on Sunday March 31, 2024 @06:29AM (#39883002)
Here’s the rub: peer pressure counts if done by peers. Users who subscribed to a mailing list only to campaign for a governance change are not peers. Longtime contributors who have earned street cred, can be.

(I guess in the case of xz, Jia Tan has earned the cred before going rogue; the one-off “maintainer needs to be replaced” campaigners, however, haven’t.)

Re:xz: A Microcosm of the interactions in Open Source projects by wood_spirit on Sunday March 31, 2024 @07:02AM (#39883156)
Occams razor says that those commentators were not in on it; that pressure is common on all projects, there is no need to think that they were part of an attack.

In fact, Occam’s razor says that the malicious code was injected by a compromised account and not a malicious actor who spent years steadily getting into position to attack?

Re:xz: A Microcosm of the interactions in Open Source projects by acdha on Sunday March 31, 2024 @08:27AM (#39883644)
I don’t think that’s a good application of Occam. Does it really seem parsimonious to think that someone who shows up with no prior history or subsequent activity is really just a random open source user who cares deeply about new maintainers for a low-level library they’re otherwise silent about?
Re:xz: A Microcosm of the interactions in Open Source projects by wood_spirit on Sunday March 31, 2024 @09:05AM (#39883908)
But the point of the article, which matches my own observations, is that comments pouring guilt onto maintainers is commonplace. The depth of feeling it invokes in the maintainer is likely orders of magnitude more than the depth of caring on the part of the commentator.

The normal commentator who complains is probably not malicious, probably not aware of the pain they might cause, is probably just not even thinking of that angle.

Re:xz: A Microcosm of the interactions in Open Source projects by acdha on Sunday March 31, 2024 @10:49AM (#39884766)
Yes, I think that’s what made this attack so effective: that kind of abuse is normalized in much of the tech world so it’s very easy to miss that in this targeted case it was coming from accounts with no prior involvement in the community. I like the open feel we’ve had for the last 3 decades but I do think this will likely mean a lot of projects becoming less open, which is warranted but going to suck for people trying to start a career.
Re:xz: A Microcosm of the interactions in Open Source projects by AtlasBarfed on Sunday March 31, 2024 @11:04AM (#39884897)
Here's the deliciousness:

Let's take on face value that it was the Chinese, and that China is communist. I mean, "Kumar" and "Tan"? Maybe it wasn't, but it doesn't matter for my purposes:

They took an overworked peon of the capitalist enemy that provides a ...

... do I even need to expound? well it's fun ...

... collectively and idealistically produced common operating system "for the people"

... that is exploited and neglected by the rich and powerful, to a degree that society, not just computers, overall society operates on this operating system, and the profits from that are hoovered up by the powerful.

The communists attacked the exploited proletariat to get to the enemy. And they are forcing the enemy capitalists to either pay the proletariat properly (they won't) or continue to be vulnerable to the growing communist power in the far east.

That's what this distills so well, within a political/ideological conflict that has now spanned 100 years: capitalism vs communism.

To wit, a proper functioning capitalist system to reward market value for produced value would properly pass compensation to this poor soul, and incentivize others to help him. Barring that, a proper functioning government would recognize the public good of this and provide support to the core infrastructure software to enable other private enterprise to produce tax revenue.

THOSE AREN'T HAPPENING, so the Communists can attack this with impunity and in perpetuity.

Here's the thing folks, we've been living in, as they used to say "uninteresting times". Post-WWII Pax Americana, even the Cold War was basically peace, has been cranking for 80 years now.

People, that is coming to an end:

- Russia / China are destabilizing demographically and simultaneously becoming militant and totalitarian

- Global Warming will ramp up the pressure on populations, food shortages, production

- The US will likely retreat to a more regional focus as production is onshored, regionalized (or at least centralized to our hemisphere)

There's going to be more state conflict, the Ukraine war is just the beginning. The world stakes are rising.

Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Monday April 01, 2024 @07:53PM (#39900827)
> Let's take on face value that it was the Chinese, and that China is communist.

Let’s not.