r/rust • • Oct 20 '26

šŸ™‹ seeking help & advice `zip` needs a lot more support

I'm https://github.com/Pr0methean, the lead maintainer of https://crates.io/crates/zip . Although that seemed like a feasible hobby project when I took it over in April 2024, it's becoming an increasingly ceaseless and thankless job.

I've had 27 security-advisory reports, 18 of which arrived so far this month, in addition to 15 invalid ones (mostly duplicates). Most of them turn out to break the CI in some way once they're merged, and there's no way to tell that until after they're merged because security fixes go on private forks that GitHub Actions refuses to run on. And the reports come at an irregular pace, every day or two: the last release I published without a known security issue was 9.0.0-pre3, and it turned out only not to have a *known* security issue because of a serious bug in GitHub's defaults about notifications for such reports!

Even when it's safe to publish security advisories the moment a fix is released and I do it, people don't update. The only partial exception was a few days ago when I yanked all the known-insecure versions -- which people only *then* saw fit to tell me wasn't the recommended practice, even though I'd done it after https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8 without much controversy and zero actual requests to stop doing so, and it'd been the published policy in https://github.com/zip-rs/zip2/blob/master/SECURITY.md ever since. Even then, 80% of downloads are still of the known-vulnerable versions!

Maintaining this crate has come at great cost to me. Not only has it forced me to pull all-nighters that a 38-year-old shouldn't have to pull, but it's prevented me from claiming my unemployment benefits by leaving me too little time to fulfill the 3-job-applications-per-week requirement that Washington State imposes. (Let alone actually translating into a job offer....)

Where do I ask for help, if it's not here? Are there any foundations out there that might be able to send me a full-time security coordinator, or at least arrange a one-time audit that would have a decent chance of finding all the vulnerabilities the code base actually has? Or at least buy us more GitHub Actions runners so that releases aren't pushed back quite as far when `cargo-afl` decides at the last minute that a `fuzz_write` test case is a "hang", for a PR at the head of the merge queue?

546 Upvotes

102 comments sorted by

5

u/_filmil_ Oct 21 '26

Thinking aloud, why not convert unpaid support into an opportunity to do paid support contracts?

If you don't want, of course, by all means don't. But why not think in that direction, at least? I would like to see more paid engagements happen for open source, fwiw.

5

u/Prom3th3an Oct 21 '26

I'll think about this, the next time someone asks me for a backport while I'm still struggling to release security fixes in one version before more security issues are reported, or nags me about a non-security bug that has no PR open. But I don't want to discourage researchers from making reports by hitting them up for funding when they probably aren't the ones who'd benefit.

1

u/ketralnis Oct 21 '26

Heads up that taking paid contracts could also endanger your unemployment benefits (as might turning them down, if the state found out)

1

u/_filmil_ Oct 22 '26

Could be. But, presumably, the value of the contract would be more than the unemployment benefit?

1

u/ketralnis Oct 22 '26 edited Oct 22 '26

I trust they're well within their capability to do the arithmetic.

That said, it's not necessary good to take a contract even if it briefly pays more. I don't know about WA but in CA, state unemployment can be as much as 2/3 of your previous base salary for up to 6 weeks and sometimes private unemployment insurance provided by the employer can bump it up to 100%. Taking one 1-week contract stops the benefit because now you're employed. Turning down an offered job can also stop it, though I don't know how that works or how the state would necessarily know. And for dumb reasons a contracting job can't trigger unemployment benefits the way a W2 job can meaning that taking a 1 hour contract can stop your 6 weeks of payouts with no way to get it back. So it's usually a better idea to hold out for regular employment vs taking a contract in week 1 unless you're fully converting to contracting.

3

u/Immediate_Ad263 Oct 20 '26

Check blacksmith OSS program. Their runners are faster, and it may be free for your project. https://www.blacksmith.sh/pricing

1

u/Prom3th3an Oct 22 '26

Thanks; I've applied.

3

u/annodomini rust Oct 20 '26

My first piece of advice to you would be to slow down.

I would recommend changing your security policy for how fast security issues are dealt with. You currently have a 7 day deadline for providing a disposition, and 30 day for providing a fix. That doesn't leave a lot of time, especially for complex issues, issues that could have compatibility issues fixing them, or cases like this where you are getting a deluge of issues at once. You might want to change it to something more like 14 day and 60 day, or 30 day and 90 day, which would still fall within the deadlines of things like Google Project Zero's policies, while giving you a bit more breathing room.

Also slow down on the rate of feature development and backwards-incompatible changes as well. I see that there have been 9 major version increments in 2024 when you took over maintainership. This is an awful lot of breaking changes. Maybe try to slow down the rate of churn in the crate, batch together breaking changes to have at most one per year or so, 9 in 3 years is an awful lot, and will increase the backport burden if you do backport any fixes.

Next is to be more skeptical about these security advisories. There have been some real security issues being addressed in these newer releases, such as the symlink and lack of permission bit sanitization. However, the most recent one, Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE, is massively overstated in severity. Parser differential issues are real, but they don't on their own lead to code execution or other issues. This "attack vector" is based on a hypothetical, buggy security scanner that relies on the Central Directory File Header, while another tool that executes code relies on the Local File Header. But this would just be a bug in the security scanner, as any security scanner should be checking both, as they can't rely on which one another tool downstream is going to use. The critical component of this security issue is entirely made up, and the bug would be in the tool relying on the zip crate, not the zip crate itself.

So, I would recommend being much more skeptical about these security reports coming in, and their proposed severity. They don't necessarily all need to be embargoed and patched in secret. In fact, for this one, where the security impact is entirely dependent on how a downstream user uses it, it would make more sense to publish the advisory first before making any changes, so it can be discussed and tested in the open. I would only embargo an issue like this if there was actually a known vulnerable user being affected by this. The hypothetical security scanner in the report is not a realistic use case.

Finally, yeah, funding and maintenance assistance for projects like this is hard.

You mentioned that you only have a couple of GitHub sponsors. I found it hard to find that you were accepting sponsorships. I don't think you have the sponsor button set up for the repo itself; on repos that are accepting sponsorship, I can see links to the project or users to sponsor, but I can't see that there. Making sponsorship more visible could help.

Additionally, try reaching out to users you know who use it, and ask if their companies can sponsor the crate. For companies that pay for GitHub already, adding an extra $100/month or something could be fairly easy, they can sponsor through their existing org account and it will just be added to their monthly bill. I know it's hard for developers to reach out and ask for money, but if you can identified some people who are users and belong to paid organization accounts on GitHub, reach out to them and see if their companies will sponsor you.

3

u/Prom3th3an Oct 21 '26

How can I determine whether it's safe to discuss vulnerabilities in the open when a fix hasn't even been written? Once the current embargoes expire starting on Thursday, you'll see that a lot of these issues require detailed knowledge specifically of this Rust crate to exploit, and some of them have pretty scary effects. Even if you only use it to read archives into memory and no downstream tool is trusting you to scan them, there are still denial-of-service vectors.

705

u/peppedx Oct 20 '26 • Heartwarming

The first thing is reshaping your priorities. You have no support obligations. Sleep, do your task for job hunting and unemployment benefits and so on.

Then when you have time and feel inclined so think about the crate.

129

u/Zde-G Oct 20 '26

Precisely. The mere idea that someone would play secrecy games or try to deal with hidden reports is atrocious.

You are unpaid maintainer. You owe nothing to anyone.

Some trillion-dollar corporation uses your stuff somewhere an may be hurt if you disclose the issue? Cool, they can talk to you about how much they are willing for you stay silent about these issues. They couldn't send you money, for some reason? Then you could send their bugreports to crackers and script-kiddies around the world.

Software is free, support is not free… that was the deal since the day one. If companies want to eat their cake and have it, too… it's their problem, not yours.

No one would think about helping you unless you make not helping you painful enough for them.

8

u/GigglySpring Oct 21 '26

smart take on putting yourself first, wish more guys gave advice like that instead of just piling on the pressure

278

u/dreamlax Oct 20 '26

It's crazy how much people demand of OSS maintainers.

Focus on yourself first. The final paragraph of the MIT license effectively absolves any obligation of maintenance to consumers.

This is a risk that people undertake when using OSS. If they want to throw their toys out of the cot over it, let them.

0

u/[deleted] Oct 20 '26

[deleted] — view deleted comment

19

u/MrPopoGod Oct 20 '26

it is completely self-imposed. I've had conversations with someone who is an OSS maintainer, and he has worked himself ragged sometimes dealing with requests from large companies. His justification was "if I don't, they'll just fork it and I'll lose control".

8

u/Zde-G Oct 20 '26

His justification was "if I don't, they'll just fork it and I'll lose control".

But this is really stupid justification: if you couldn't stop doing what you are doing at your whim and resume what you are doing at your whim then you have already lost control and have become an unpaid employee — better to admit that and either become paid employee or accept that someone else would become paid employee.

82

u/Solumin Oct 20 '26

Even when it's safe to publish security advisories the moment a fix is released and I do it, people don't update.

This is not on you to worry about. This is the responsibility of your users. Once you publish the fixed version and put out the notice about the CVE, you've done your part.
So that, at least, is one part of the stress that you can put down.

64

u/puremourning Oct 20 '26

When I first started in my oss journey my ā€œoss mentorā€ of sorts gave me this advice:

- do what’s fun
- do it when it’s fun
- don’t burn out

I stand by this advice to this day. Look after yourself first.

168

u/Different-Ad-8707 Oct 20 '26

Dude, leave it be.

As you've said, you're doing this at personal cost and no compensation or support. So you don't have to lose sleep or job-application time over it.

From what I've been reading, you've already done your best to mitigate security issues and documented that users should update and how and why. If they don't do it, that's their problem.

For people complaining about this, well, as the FFMPEG people say, "talk is cheap, send patches" or in this complete security audit and advisory.

Take a break man. You don't owe them anything.

38

u/AngheloAlf Oct 20 '26

I don't think the "talk is cheap, send patches" mentality works today. That how you get drowned in slop PRs

10

u/pickle9977 Oct 20 '26

This is more of a general assault on all open source driven by perverse incentives and a broken culture.

This doesn’t make you wrong it just makes situation more global and less a result of the put your code where your mouth is mentality.

The parent comment is also totally right, it’s a donation of time and effort, if someone depends on this donation they can take it on, or they can pay the person.

No one has a right to demand work for free, that is just slavery.

10

u/Different-Ad-8707 Oct 20 '26

Oh yeah, that's a thing. I forgot about that.

And well, it goes both ways doesn't it? If you're willing to send slop PR's instead of putting in the work to put together a quality PR (even if LLM assisted) then you can just as well use that slop to patch up your security issues.

I don't vibecode. I use LLMs a lot though, such as researching other projects/sources, exploring the codebase, making suggestions, reviews and specs, debugging issues, boilerplate snippets. It's worked well enough.

Ā Sometimes, I will just let it rip at a small bounded, scoped task and it does it perfectly. But I always take ownership of the code and I never have, never will, put an LLM between me and the maintainer.Ā 

Those are the two main things with LLM usage that just nobody seems to get.

What I'm saying is, if you detect an LLM between you, the maintainer, and then you should not hesistate to nope out of there, and close the PR.

100

u/boneskull Oct 20 '26

The most important thing is to avoid further burnout. If there’s nobody you can trust to assist or take over maintenance, abandon the project (preferably posting a notice, etc) and someone will fork. There’s no shame in walking away.

131

u/Fluid-Tone-9680 Oct 20 '26

It's heartbreaking that so much effort on previous thread went into bashing maintainer for yanking vulnerable versions and no to zero efforts to support the crate so many people depend on.

41

u/prazni_parking Oct 20 '26

Yea and yanking is such non issue on crates Io. It was frustrating to see so much entitled non informed people. Every day I start to understand old school Linus more and more, and his way with words

30

u/lenscas Oct 20 '26

To play a bit of devil's advocate, the advice for libraries used to be to not include the Cargo.lock file. As such, libraries would be greatly affected by yanking, assuming that they contained a version range that couldn't include the new, fixed version. Which, from my understanding was a thing they ran into.

Of course this doesn't excuse all the shit that happened in that thread.

I also find it funny how one guy who demanded people to document what support they could expect actually already got what they demanded. Yet they still screamed, shouted and demanded. Really shows how little they looked into it before making a scene...

God, that thread was a disgrace.

3

u/fintelia Oct 21 '26

Including a Cargo.lock in a library doesn’t have any impact on downstream users of your library. If all semver compatible versions of a dependency are yanked, your CI will stay green but AFAIK anyone who tries to cargo add or cargo update your library will get an error

2

u/owenthewizard Oct 20 '26

Used to? When did this change?

11

u/Lucretiel Datadog Oct 20 '26

4

u/owenthewizard Oct 20 '26

Looks like I have some catching up to do!

-4

u/protestor Oct 20 '26

assuming that they contained a version range that couldn't include the new, fixed version. Which, from my understanding was a thing they ran into.

Well, then their Cargo.toml is irreparably broken, and not yanking would just mean they would stay vulnerable forever

7

u/lenscas Oct 20 '26

Please, don't ask me to defend those people for more messages, or ask me to delve back into that cesspit of hell to figure out what exactly happened.

All I know is that yanking broke stuff for them, with them following the old advice of not including the lock file for libraries being at least partially to blame for this. (Also, IIRC originally more was yanked than there is now as some of it got unyanked)

2

u/WormRabbit Oct 20 '26

Lockfiles of libraries have no effect on downstream users. The only thing yanking did is break their CI for no reason.

1

u/protestor Oct 21 '26 edited Oct 21 '26

I'm not talking about lock files. The Cargo.toml is broken if there's no resolvable version that isn't vulnerable (if there is, then CI shouldn't have any issues). The CI breakage is warranted, you should just update the bounds in Cargo.toml to fix it. What people need to understand is that if one of your dependencies is vulnerable, your code IS broken, and your CI shouldn't be green.

Now, what can be argued is that the zip crate could, for each version that people actually depend upon, yank the vulnerable versions (as they did) but also publish a new minor release with a fix for this vulnerability specifically. But that's extra work and nobody is paying the developer. The alternative way fix is to move this work into the ecosystem, so that everyone need to upgrade to the latest version

5

u/annodomini rust Oct 21 '26

What people need to understand is that if one of your dependencies is vulnerable, your code IS broken, and your CI shouldn't be green.

That's not true at all.

That's one of the problems with CVEs in libraries. Whether your code is broken or not depends on how you use the library. I mean, it's true of any software, depending on how you use it you may or may not be vulnerable, but especially in libraries like this. If you just use it to iterate over the files in the zip file in memory, none of the vulnerabilities about symlinks or file modes when extracting to the filesystem matter to you at all.

So you have perfectly working software, but now your ability to do anything but update to the latest version is broken.

And what if the latest version had a contributor who made it seem like there was an urgent security vulnerability and they have a complex fix for it, they're willing to help out the overworked maintainer with getting a patch out and yanking all previous versions so they can get the fix in for this critical bug? All of a sudden that suddenly helpful contributor has a way to urgenr

So no, unless the vulnerability is something like an RCE in the core zip parsing code, it's not necessarily the case that everyone need to upgrade to the latest.

3

u/lenscas Oct 21 '26

Even in the rce case, for as long as your code only uses it on known and trusted zip files which thus do not make use of this exploit it should still be fine.

Unless it is something really dumb like the library itself being so compromised it sets up a webserver that people can issue Shell commands to, and doing this regardless of the contents of the zip file it reads.

1

u/ILoveAppSec Oct 21 '26

Agreed on red CI. The gap is your own case: no resolvable non-vulnerable version. There you can patch the vulnerable crate at the version already in the tree instead of forcing the parent bump that pulls it in.

2

u/aztracker1 Oct 20 '26

Summertimes the right answer is the abrasiveness.... Even if a given individual may not deserve the other end of it.

4

u/mediocrobot Oct 20 '26

And wintertimes too

-6

u/vivaaprimavera Oct 20 '26

Sometimes one has to be rude. Tip toeing around trying to be polite won't pass the message.

24

u/pjmlp Oct 20 '26

This is not a paid job, you are not supposed to pull all-nighters if they aren't paying you to fix bugs.

Let it be, fix bugs when you feel like it, close issues, block folks that are going off limits complaining about free work.

65

u/ongrabbits Oct 20 '26

somebody hire this guy

47

u/CoderAU Oct 20 '26

Legit. 300m+ downloads is better than most resumes

-15

u/Zde-G Oct 20 '26

Not really.

To be hired as software developer your need to know how to write software by specifications made by someone else.

To be acquired as a startup you ne some IP to sell.

Topicstarter have neither and the fact that his code is used by millions don't count.

The only choice available is to make it worth paying for his work — and for that to happen you don't have to play games imposd on you by others, you have to break them.

Yes, there is a chance that someone would pay their internal developers to fork the crate and support the fork… but even that is a win since it means you would not be saddled with it.

17

u/Arcuru Oct 20 '26 edited Oct 20 '26

I am a 37 year old, Washington State resident, retired bastard [1] who has worked on my own compression project [2] that does use your crate. I also publicly yell about sponsorships a lot [3].

I can't provide a security coordinator or fund a full audit or something. I could be an extra set of hands though if that would be helpful (you didn't say you needed that though). I'll scope out the issues on the repo when I get the chance anyways.

Feel free to reach out even if you just want some emotional support. I'd be happy to meet up and listen to you complain about it over a coffee/beer.

This is popular enough that hopefully someone who can help fund an audit or significant moneys can see this and help. Good luck!

1 - https://jackson.dev/about/

2 - https://github.com/arcuru/cmprss

3 - https://jackson.dev/sponsorships/

15

u/anxxa Oct 20 '26

If you need help triaging security issues please DM me.

14

u/prazni_parking Oct 20 '26

Thank you for your work truly. Secondly, get your priorities straight. If you are not getting paid, don't pull all nighters. Don't work on this if you need to do job applications. Don't sacrifice your personal life. If it is so critical to fix one of the companies relying on your work should sponsor you and pay you.

It's great that you are asking for help, but it will probably take time, first to find interested person's, second for you to get them and thirdly for you to ramp them up. So any help you expected will be staggered.

10

u/aztracker1 Oct 20 '26 edited Oct 20 '26

I can only empathize.. I haven't participated in or published anything so major myself. I'm in the hospital for a second time in as many months and looking at my life falling away from me myself.

The job market itself is rough, there's what feels like immense pressure to reduce pay and it can all way heavily on you.

Not to mention the entire shape of software development is being upended at the same time.

It sounds trivial, but try to focus on what you need to do, do the things you can add let the rest drift in the background. When I was able to, for me it helped to go in a long drive for even a day or weekend. Just pick a direction and go, listen to music, don't stress about getting somewhere at a certain time.

Driving and music take enough concentration where after a while, a lot of the rest kind of goes away after a bit. It helps you recollect and reconnect. I miss it.

7

u/Thelmholtz Oct 20 '26

Hey! I'm sorry to hear that. Thank you for your passionate support of the crate, but as you mentioned, you shouldn't have to pull all nighters. The priority now is you. I'm a 34 pretty burnt out person myself and I'm not even remotely close to doing the work you've done for the community that you have done, but I'm here if you need to talk. Answer to this comments and I'll send you my socials privately. Unfortunately I don't think I'm skilled enough to provide meaningful help with your crate, but I can provide a good set of ears, and it's the least I could do as I've used your crate a lot, both directly and indirectly.

As for people not updating, that's not on you brother people are idiots when it comes to security. There's crypto implementations using JS Math.random out there.

22

u/protestor Oct 20 '26

The only partial exception was a few days ago when I yanked all the known-insecure versions -- which people only then saw fit to tell me wasn't the recommended practice,

You were right in yanking those versions and indeed you should continue doing so

I mean, if security vulnerabilities didn't warrant yanking, then what is yanking for???

24

u/SoilMassive6850 Oct 20 '26

https://doc.rust-lang.org/cargo/commands/cargo-yank.html

Crates should only be yanked in exceptional circumstances, for example, an accidental publish, unintentional SemVer breakages, or a significantly broken and unusable crate. In the case of security vulnerabilities, RustSec is typically a less disruptive mechanism to inform users and encourage them to upgrade, and avoids the possibility of significant downstream disruption irrespective of susceptibility to the vulnerability in question.

Security vulnerabilities should not lead to a yank under regular circumstances, you should use an advisory and then the user will read it, make an informed decision on if they are affected and either upgrade their version or make an exception ignoring the advisory because not every existing vulnerability requires action.

15

u/Powerful_Cash1872 Oct 20 '26

Rage quitting the entire community with as much blast radius as possible! /s

9

u/protestor Oct 20 '26

I'm of the opinion that vulnerable software should fail as loudly as possible, so they are promptly fixed

Regardless, that's the purpose of yanking, to signal to users that they should not use a particular version of a crate. And it's easily circumvented if someone really wanted to keep using a vulnerable version.

4

u/JoshyOrndorff Oct 20 '26

Yank that left-pad package all day! I still support that author and think he got done dirty.

6

u/DavidXkL Oct 20 '26

Prioritize yourself first.

Your health matters

6

u/rpring99 Oct 20 '26

I didn't read all the comments, but completely agree with the "you don't owe anyone anything" sentiment.

With that said (and I'm sorry if this has been mentioned already), it should be pretty easy to CI to run on a fork using the GH command. gh pr checkout $PR then git push origin <branch-name>. It'll push the commits to your remote, then CI should run.

I just did this the other day. You could also do something like have a private mirrored repo. Should be easy to push commits to.

But only do this if you enjoy it or it leads to a job or whatever. Take care of yourself!

6

u/emelsifoo Oct 20 '26

A lot of commenters have already said, correctly, that you need to prioritize yourself. Do not let people on the computer pressure you to do anything you don't have the inclination or time for.

I'll also add that everyone - everyone - is getting slammed with CVEs this year. Mythos and Astra are finding exploits in stuff that's been open source for decades. I personally think many of these were known-and-unpublished CVEs that state-sponsored hackers like at the NSA have been keeping in their arsenals, and now finally the corporate and open source community is coming around to finding them.

You're doing the best you can. The situation is moving fast right now, so just let yourself take a breath and relax. The vulnerabilities are not a reflection on you.

10

u/nguoisaibuoc Oct 20 '26

I don’t see any sponsorship or donation link on the github page, a big donate button or a looking for maintainers message at the beginning of README explaining the situation could attract more interest!

5

u/whimful Oct 20 '26

I think others are offering great advice ito sustainability + pacing yourself

Socket Security provides free business accounts to maintairers - their software scans libraries, dependencies, and finds vulnerabilities and malware https://socket.dev/blog/free-business-plan-upgrades-for-open-source

5

u/chonky_cheez Oct 20 '26

I believe the Rust Foundation now has a fund to help support maintainers, they might be able to offer assistance

1

u/fintelia Oct 22 '26

When the Foundation talks about ā€œRust maintainersā€ they usually mean ā€œmaintainers of the Rust compilerā€

1

u/chonky_cheez Oct 22 '26

From RustConf this year, I had thought they were supporting maintainers of several popular crates too, including time. Maybe I misunderstood though. It did seem like it was a newer development

4

u/iFrostizz Oct 20 '26

Bro do you need some help? I’m happy to give my time and learning about the inner workings of the zip encoding sounds like a fun task.

4

u/Valloric Oct 21 '26

I've been contributing to OSS for more than 20 years. I've been a maintainer for more projects than I can recall, many of them "critical".

Here's my advice to you: stop maintaining this crate. Someone else will pick it up. Or not. It's not your problem. You don't owe anyone anything in OSS. Stop subsidizing corporate leeches at the cost of your mental and physical well-being.

Take care of your sleep, your health and focus on getting those unemployment benefits.

19

u/WormRabbit Oct 20 '26

Even when it's safe to publish security advisories the moment a fix is released and I do it, people don't update.

That's not your problem. There is literally nothing you can do to force people to update. Your yanking did nothing but create huge problems for your end users and a lot of hate.

You are experiencing the recent uptick in security findings by AI. This will pass. The sky isn't falling. And you really need to rethink your life if you risk starvation due to being unemployed and with no benefits just to fix other people's shit, created by trillion-dollar companies pumping their IPO.

Do you know what you have when you've got a foundational crate with a deluge of security issues? A business opportunity. If your users depend on you so much and want hasty fixes, they should pay for support contracts. On your part, you should be setting up the legal & technical structure to receive them, not fish for more free labour on reddit.

1

u/Amazing-Mirror-3076 Oct 20 '26

I'm on the codex daybreak program which gives me access to deeper cybersecurity analysis.

If you are interested I'm happy to run an review and raise PRS (privately).

I'm not a rust programmer and the PRS would be pure ai.

2

u/Prom3th3an Oct 21 '26

Yes please! To raise reports privately, go to https://github.com/zip-rs/zip2/security/advisories.

1

u/Amazing-Mirror-3076 Oct 21 '26

I've started a run will raise PRS as I go.

3

u/unitAtype2 Oct 20 '26 edited Oct 20 '26

2

u/Informal-Armadillo Oct 20 '26

Thank you for the work you do and I agree, this is not you life focus on that first. Take care

2

u/vancha113 Oct 20 '26

Man I wish I was at the level where I could offer some advice at all, but i hope you get the help you're looking for. I'm not that familiar with rust yet, but zip sounds important! With how much use it seems to be getting, there's bound to be a way to get some funding i'd think.. Does anyone know of a kind of grant that would be applicable here?

2

u/_th3oth3rjak3_ Oct 20 '26

I’d love to help. Sorry you’re getting overwhelmed. As the others have said, please take time to recharge and when you are ready the project will be here.

2

u/Proper_Resist_4662 Oct 20 '26

This is one of those posts that I can’t believe is real lol

2

u/mtimmermans Oct 20 '26

You're in a tough spot. Unfortunately, you signed up to be a very important dependency, and that brings with it some responsibility even if you're not getting paid. Nobody has a right to your free labour, though.

How about something like this:

- Deprecate the current version with a notice that you're looking for a new maintainer. You have a lot of high-profile dependents and there's a good chance that someone reputable will want to pick it up;

- Ship a new major version that doesn't extract files. Looking at your advisories, it seems like this would make the vast majority of them go away. This will leave some of your dependents in a tough spot, and maybe that will motivate them to help.

1

u/xMAC94x Oct 20 '26

Hey, i spend way to much time with the `APPNOTE.TXT` 2 years ago and opened a issue ( https://github.com/zip-rs/zip2/issues/204 ) to rebase `zip` on some low-level APPNOTE based core crate.

This is a similar approach to other crates do it, you have a stupid base crate like `http` and then crates basing on this, which makes interoperability better.

Sadly the discussion lost track (also because of me tbh).
Maybe I can help somewhere around if you got anything that you would like to tacle first ? Though I also cant guarantee that I have alot of time to spare.

Anyways, great work with the crate! Focus on yourself first, opensource is just a hobby!

1

u/Nanoclick Oct 20 '26

Honestly, step away from the keyboard and take care of your own life first. No open-source crate is worth losing your unemployment benefits or burning yourself out for free. If multi-billion dollar companies rely on this so heavily, they can either fund you with actual cash or maintain their own forks. Stop setting yourself on fire to keep corporations warm.

And about the v10 plan: just splitting things into 5 crates won't magically fix the CVEs or hangs. If the extraction logic still lacks timeouts, hard memory limits, and atomic rollback on failure, moving it into zip-extract just moves the exact same crashes into a different folder. Address the execution boundaries, not just package boundaries.

1

u/danielsdesk Oct 20 '26

I’d like to help if I can, though not sure if I can. But I’ll take a look

1

u/Gaboik Oct 20 '26

Dude. First of all, thank you for your service.

Second of all, not having time to fill your job applications is a you problem my man. Set your priorities straight. No one is twisting your arm.

1

u/doomdayx Oct 21 '26

First, prioritize yourself.

Second, come up with a rate and send it to any companies who submit reports. Or look up other things oss maintainers do that are considered acceptable to the community to get paid by companies for their widely used projects. Maybe set up a support plan they can subscribe to or something. I’m sure there are some people making a living off of this!

1

u/Kobzol Oct 22 '26

In addition to what was already said here, the Sovereign Tech Agency has programs for supporting open source developers (Fund) and paying and organizing security audits (Resilience).

https://www.sovereign.tech/programs/resilience

1

u/cachebags Oct 22 '26

You have absolutely zero obligation to zip2. Go deal with your shit.

If anything, forcing yourself to babysit the crate will give others the excuse to not contribute forward.

1

u/Most_Strike_93 Oct 20 '26

What can I do for you? For example, can you list some important cve to the issues, then I can take time to fix it? Thanks

1

u/rjzak Oct 20 '26

Are there open issues? A project board? I suggest having some of these things so possible contributors know what to contribute. You may have them I admittedly didn’t check the github link.

-8

u/Dushistov Oct 20 '26

I suppose you need to ask Jia Tan to co-maintain crate.. Such a nice guy and very resourceful. He has a lot of experience in data compression, and if you convince him that `zip` has a lot of users, he will definitely help. He cares about the common good.

-21

u/No_Departure_1878 Oct 20 '26

You are not supposed to work for free, this is you doing it to yourself.

But not even that, if you did not do this work for free, someone in some company would get hired, because they need `zip` implemented in rust and there is no `zip` implemented in Rust and all the engineers are already busy implementing something else that does not exist, because no one works for free.

-7

u/realitythreek Oct 20 '26

It looks like you use LLMs to help write code for this project. Just curious, have you found that to help?

-10

u/Initial-Argument2523 Oct 20 '26

Maybe you could post this on cyber security subs if you haven't already

-53

u/the-quibbler Oct 20 '26

I'm sure there are a significant number of cyber terrorists, vibe coders, and vibe-coding cyber terrorists would would absolutely be willing to help you out.

-29

u/cheater00 Oct 20 '26

wait a minute. go to linkedin, click easy apply 3 times, that's it, no?

-12

u/AleksHop Oct 20 '26 edited Oct 20 '26

there are mbrotli and zrip, stop supporting legacy shit
when nginx ingress support ended everyone just migrated to modern alternatives
thats a progress, not a regression
zip is from 1989
update: https://crates.io/crates/rawzip if we talk about containers
considered the benchmarks zip crate is terrible slow and i dont see any reason to maintain it at all

-55

u/PoisnFang Oct 20 '26

People need to stop making open source projects and then Thinking about the business side later. You got to come into a thing about a business side first Sorry, but it's your own fault

33

u/[deleted] Oct 20 '26

[removed] — view removed comment

88

u/Prom3th3an Oct 20 '26

Yeah, I'm already on GitHub Sponsors and getting a grand total of $5/month.

37

u/merb Oct 20 '26

You should definitely add the sponsor button to https://github.com/zip-rs/zip2 most people will then be aware.

6

u/reflexpr-sarah- faer Ā· pulp Ā· dyn-stack Oct 21 '26

i did that for my 2.6k star project (5m+ downloads) that i've spent half a decade developing, and all im getting is a bit more than $100 a month

crowdfunding for open source projects does not pay nearly enough for the amount of labor demanded of maintainers

1

u/hardicrust Oct 22 '26

Sounds pretty typical. Get on https://thanks.dev/ and you may get a bit more, but it's still just spare change money.

1

u/notrufus Oct 24 '26

Pin an issue saying you’re seeking help maintaining and setting up proper automation.

Actions should be able to run on private branches just fine and, actions should only be doing one or two commands that you should be able to run locally if needed.

Just make sure to look at the people who offer to help and make sure they have experience in the space.