frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

OSS Rebuild: open-source, rebuilt to last

https://security.googleblog.com/2025/07/introducing-oss-rebuild-open-source.html
92•tasn•6h ago

Comments

bgwalter•5h ago
Thanks that the OSS value is $12 trillion, but only packagers, security experts and SaaS companies get any of that.

Rebuilt to Last? It is a Google project, so I give it two years.

esafak•4h ago
1. That is two years better than nothing.

2. It will likely be well architected.

3. It is open source, so others can fork it when Google abandons it. https://github.com/google/oss-rebuild

gostsamo•4h ago
> 1. That is two years better than nothing.

This means two migrations in two years.

ezekg•3h ago
There are some initiatives to help change that: https://osspledge.com
blitzar•2h ago
Once there are as many private jets available for open source devs as there are for google employees then we are making progress.
ezekg•23m ago
I think that's the wrong way to frame it. OSS is not meant to make you rich, and expecting that is going to bring more pain than joy. However, I do think businesses should use their success to fund their dependencies in a way that makes sense for them.
pessimizer•1m ago
> businesses should use their success to fund their dependencies in a way that makes sense for them.

They already do, and always have. It doesn't make any sense to most of them to fund their OSS dependencies at all, because they're available for free. They should do more than what makes sense for them, and they should have to pay professional consequences if they don't.

Programmers should have enough unity to bring pressure against companies that make a lot of money from software they don't pay for. Or rather, should have had, because LLMs have changed anything.

chubot•2h ago
At first I thought this might be promising, given

without burden on upstream maintainers

Then I see

This is not an officially supported Google product

on https://github.com/google/oss-rebuild

And then I also see

oss-rebuild uses a public Cloud KMS key to validate attestation signatures. Anonymous authentication is not supported so an ADC credential must be present.

    $ gcloud init
    $ gcloud auth application-default login
I would not use this with a dependency on Google Cloud, or the gcloud command line tool.

Mainly because Google has horrible customer support.

It would be more interesting if they came up with something hosted on third party infrastructure. Last I heard, Google Cloud is run by Oracle executives

---

e.g. in particular the Unisuper incident led me to believe that a lot of operational stuff is being outsourced, and is of poor quality

UniSuper members go a week with no account access after Google Cloud misconfig

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

Google accidentally deleted a $125 billion pension fund's account

https://qz.com/google-cloud-pension-fund-unisuper-1851472990

I would not say this is unrelated, because operations in the underlying cloud can be a weak link in security

Although I'd certainly be interested in an argument otherwise

Weethet•4h ago
nixpkgs already has 107158 packaged libraries/executables. Nix has infrastructure to support arbitrary build systems and can create docker images. I fail to see any advantages of creating a more narrow version of it that has fewer uses and has to start from scratch
hollerith•4h ago
The Nix community has a poor record on security and supply-chain integrity in particular [1] whereas Google has a great record on security, and this announcement (of OSS Rebuild) was written by a member of the "Google Open Source Security Team".

[1]: "it means effectively a decision was made for NixOS to be a hobby distro not suitable for any targeted applications or individuals. It really sucks, because I love everything else about nix design. Instead I am forced to bootstrap high security applications using arch and debian toolchains which are worse than nix in every way but supply chain integrity given that all authors directly sign package sources with their personal well verified keys."

https://news.ycombinator.com/item?id=36268776

Weethet•3h ago
This is an issue with nixpkgs not nix. Google could've just bootstrapped their own nixpkgs from scratch if they wanted to, see Guix (not a perfect example but still). Creating a whole new tool is still completely unnecessary
carlhjerpe•3h ago
One could argue that creating Nix from scratch would be beneficial at some point. There's a lot of legacy hardcoded weirdness, Nix doesn't setup the containers with standard state of the art tools, the language is evaluated in a single thread and using values from derivations means a build blocks evaluation so it doesn't properly parallelise (nixpkgs bans "IFD" but it is useful for meta packaging).

Nixpkgs is more valuable than Nix at this point, but also quite vulnerable. In practice it has worked out reasonably well so far, I don't know of anyone who got "owned" because of Nix.

woile•3h ago
Well, Google is using nix and nixpkgs...

https://firebase.google.com/docs/studio#how-does-it-work

lrvick•2h ago
Encouraging the use of Nix in production is wildly irresponsible. I am really surprised to see Google do this given their generally high security bar. Maybe this team operates in a bubble and gets to prioritize developer experience above all else.
ChocolateGod•3h ago
Nix/NixOS files often break due to Nix pkg maintainers not caring about keeping support for existing configuration formats. I experience a breakage roughly every 2 weeks when a variable/package gets renamed or changed.
0x457•2h ago
At least it breaks during evaluation most of the time, and rolling back is super easy if it broke after activation.

Also, it seems like you're using unstable if you're having that many breakages, sooo kinda asking for it?

lrvick•2h ago
Since writing the post you link, I finally threw my hands up and made a new distro with some security engineer peers that prioritizes supply chain security and mandates 100% full source bootstrapping and determinism: https://stagex.tools

It does not even try to be a workstation distro so we can get away with a small number of packages, focusing on building software with high accountability.

Thankfully OCI build tooling is mature enough now that we can build using standards and do not need a custom build framework and custom languages like nix/guix does anymore.

arianvanp•1h ago
They could've contributed SLSA attestations support to nix instead. There's a few people working on bringing SLSA build provenance to nix(pkgs) including me. But limited time and resources unfortunately. Would love to see Google contribute to nix in this space :)

E.g.:

https://talks.nixcon.org/nixcon-2024/talk/AS373H/

https://GitHub.com/arianvp/nix-attest

msuozzo•9m ago
Author here!

> could've contributed SLSA attestations support to nix

That sounds like a great idea! However one important consideration is that while an artifact on nixpkgs may aim to replicate the function of the upstream package, it must adhere to and interoperate with the rest of the distribution. Ultimately, its 'ecosystem' is nix. Work that goes into writing and maintaining the nix build does not generally filter back upstream to impact the build integrity of, say, its associated PyPI package. So if users continue to consume from PyPI, improving nix won't serve them.

This is not to say that the long-term source of truth for packaging will remain the language registries. Just that today's reality demands we meet users where they are.

> Would love to see Google contribute to nix in this space :)

Same :)

msuozzo•3h ago
Author here!

Both nix and guix are exciting projects with a lot of enviable security properties. Many here can attest that using them feels like, and perhaps is, the future. I see OSS Rebuild as serving more immediate needs.

By rebuilding packages from the registries people already use, we can bring some of those security properties to users without them needing to change the way they get their software.

Y_Y•2h ago
Why not help them help bring their packages to users, rather than borrowing and circumventing the existing effort?
kam•2h ago
Nixpkgs pulls source code from places like pypi and crates.io, so verifying the integrity of those packages does help the Nix ecosystem along with everyone else.
nicce•3h ago
Corporation with the size of Google must be in control by themselves.
ChrisArchitect•4h ago
Obligatory xkcd: Dependency https://xkcd.com/2347/

This fit in somewhere here?

msuozzo•1h ago
Author here!

OSS Rebuild should give that Nebraskan the peace of mind to continue their everyday heroism without being pulled away to set up security configs or debug release CI. The rest of the blocks on top can contribute the support to assure themselves and the community that those critical builds are trustworthy.

Flux159•4h ago
So this seems to be a build definition and some form of attestation system? Does this require builds are done via CI systems instead of on adhoc developer machines?

I find that for many npm packages, I don't know how builds were actually published to the registry and for some projects that I rebuilt myself in docker, I got vastly different sizes of distribution artifacts.

Also, it seems like this is targeting pypi, npm, and crates at first - what about packages in linux distro repositories (debian, etc.)?

candiddevmike•4h ago
The industry has been coalescing around third-party attestation for open source packages since COVID. The repercussions of this will be interesting to watch, but I don't see any benefits (monetary or otherwise) for the poor maintainers dealing with them.

There's probably a lot of people that see GenAI as the solution to Not Invented Here: just have it rewrite your third party dependencies! What could go wrong. There will also be some irony of this situation with third party dependencies being more audited/reviewed than the internal code they get integrated into.

jpalomaki•3h ago
Two fold: AI makes it easier to find "issues" in existing software and automate the CVE process. This means more "critical" vulnerabilities that require attention from developers using these packages.

At the same time rolling your own implementation with GenAI will be quick and easy. Outsiders are checking these, so no CVEs for these. Just sit back and relax.

Y_Y•3h ago
I don't mind if the "third parties" are other trusted developers of the same project, for example. But please let's not centralise it. We're just going to get Robespierre again.
msuozzo•2h ago
Author here!

> Does this require builds are done via CI

Nope! One use for OSS Rebuild would be providing maintainers that have idiosyncratic release processes with an option for providing strong build integrity assurances to their downstream users. This wouldn't force them into any particular workflow, just require their process be reproducible in a container.

> for some projects that I rebuilt myself in docker, I got vastly different sizes of distribution artifacts.

Absolutely. OSS Rebuild can serve to identify cases where there may be discrepancies (e.g. accidentally included test or development files) and publicize that information so end-users can confidently understand, reproduce, and customize their dependencies.

> what about packages in linux distro repositories (debian, etc.)

OSS Rebuild actually does have experimental support for Debian rebuilds, not to mention work towards JVM and Ruby support, although no attestations have been published yet. There is also no practical impediment to supporting additional ecosystems. The existing support is more reflective of the size of the current team rather than the scope of the project.

lrvick•2h ago
IMO you need an immutable appliance-like OS that is deterministic and full source bootstrapped to do reproductions with minimized trusting-trust attack risk.

We built ReprOS to solve this problem: https://codeberg.org/stagex/repros

"Git push" to it and it will do a build in a throw-away VM then have the host sign the artifact results and push signatures to the same or a different repo.

0cf8612b2e1e•1h ago
This is a great idea. Less boil the ocean than getting everything into Nix. Are any notable projects using this?
lrvick•1h ago
Not yet, although Turnkey and Stagex are in the process of integrating it for automated reproductions as part of their CI for everything.

It will no doubt mature a fair bit more through this process

simonw•39m ago
I'm very excited about this project, but it could really do with a web UI of some sort! Having to build a Go CLI tool in order to access it is a massive amount of friction.

I reverse-engineered it a tiny bit, looks like you can get a list of all builds so far like this:

  gsutil ls -r 'gs://google-rebuild-attestations/**'
I ran that and got back 9,507 - here's that list as a Gist: https://gist.github.com/simonw/9287de5900d5b76969e331d9b4ad9...
msuozzo•25m ago
Author here!

> I'm very excited about this project

Thank you!

> but it could really do with a web UI of some sort!

Couldn't agree more! The terminal UI exists (`./tools/ctl tui`) but is oriented towards developers on the project or to those who wish to run their own instance. Making the system and data more accessible to general users is a big priority.

simonw•14m ago
I got a basic web UI working here: https://storage.googleapis.com/rebuild-ui/index.html

It's using that fixed list from the Gist though, I haven't set it up to update and reflect new listed projects.

Fixed point thm in metric spaces and its application to the Collatz conjecture

https://arxiv.org/abs/2502.20642
1•fabrizio_italia•2m ago•0 comments

Unsafe and Unpredictable: My Volvo EX90 Experience

https://www.myvolvoex90.com/
2•prova_modena•2m ago•0 comments

Building Fast UPDATEs for ClickHouse

https://clickhouse.com/blog/updates-in-clickhouse-1-purpose-built-engines
1•saisrirampur•3m ago•0 comments

"Zero Trust Is Dead": Tailscale's Survey on Secure Networks

https://tailscale.com/blog/zero-trust-report-2025-secure-networks-survey
1•OrderlyTiamat•4m ago•0 comments

Raku: First Programming Language?

https://wayland.github.io/blog/raku/ReachingOut/Raku-First-Language.xml
1•TheWiggles•6m ago•0 comments

Disconnecting phone from internet creates mood boost on par with antidepressants

https://www.npr.org/2025/02/24/nx-s1-5304417/smartphone-break-digital-detox-screen-addiction
3•JumpCrisscross•9m ago•0 comments

Space-Based Missile Interceptors for Golden Dome Being Tested by Northrop

https://www.twz.com/space/space-based-missile-interceptors-for-golden-dome-being-tested-by-northrop
3•ironyman•10m ago•0 comments

Scientists Are Planning for Life After Finding Aliens

https://www.universetoday.com/articles/scientists-are-planning-for-life-after-finding-aliens
2•bookofjoe•10m ago•0 comments

I built an AI plant identifier app

1•nathancarter•10m ago•0 comments

iOS 26 beta 4 adds more 'liquid' back to Liquid Glass design

https://9to5mac.com/2025/07/22/ios-26-beta-4-adds-more-liquid-back-to-liquid-glass-design/
1•spenvo•13m ago•0 comments

The Twelve-Factor App

https://12factor.net/
1•wompapumpum•14m ago•0 comments

Show HN: Port – an open source, identifier-less, E2EE messaging app

https://github.com/Numberless-Inc/port-mobile
1•labadal•15m ago•0 comments

RIP Ozzy

https://www.the-sun.com/entertainment/14789276/ozzy-osbourne-dead-black-sabbath-parkinsons/
3•SirLJ•15m ago•1 comments

Quarterly Publication of Individuals Who Have Chosen to Expatriate [pdf]

https://public-inspection.federalregister.gov/2025-13831.pdf
1•impish9208•17m ago•0 comments

Musk Allies to Raise Up to $12B for XAI Chips

https://www.wsj.com/tech/ai/elon-musk-x-ai-funding-feecede1
1•JumpCrisscross•18m ago•0 comments

Approximate First Principal Component

https://30fps.net/pages/approximate-first-pc/
2•Bogdanp•18m ago•0 comments

Wild Vanilla and pollinators at risk of spatial mismatch in a changing climate

https://www.frontiersin.org/journals/plant-science/articles/10.3389/fpls.2025.1585540/full
1•PaulHoule•20m ago•0 comments

Video Taken by Migrant Shows Overcrowded ICE Holding Cell in Manhattan

https://www.nytimes.com/2025/07/22/nyregion/video-immigration-holding-cells-overcrowded-unsanitary.html
1•perihelions•20m ago•0 comments

Designing a Composable Rate Limiter

https://clipperhouse.com/composable-rate-limiter/
1•mwsherman•21m ago•0 comments

UK border officials to use AI to verify ages of child asylum seekers

https://www.theguardian.com/uk-news/2025/jul/22/uk-border-officials-to-use-ai-to-verify-ages-of-child-asylum-seekers
4•chrisjj•22m ago•3 comments

Reading QR codes without a computer

https://qr.blinry.org/
3•cinntaile•24m ago•0 comments

Brave blocks Microsoft Recall by default

https://brave.com/privacy-updates/35-block-recall/
3•dotcoma•25m ago•0 comments

NASA, Oxford Discover Warmer Uranus Than Once Thought Science

https://science.nasa.gov/centers-and-facilities/goddard/nasa-oxford-discover-warmer-uranus-than-once-thought/
1•rbanffy•25m ago•0 comments

Heavyweight: An Art Project About Lawyer Vibes

https://kendraalbert.com/2025/07/21/lawyer-letters-without-lawyers.html
1•paulgb•26m ago•0 comments

Ozzy-osbourne–dies-aged-76

https://www.theguardian.com/music/2025/jul/22/ozzy-osbourne-black-sabbath-frontman-and-icon-of-british-heavy-metal-dies-aged-76
5•blufish•27m ago•1 comments

The Metamorphosis of Shaun Maguire, a Prominent Sequoia VC

https://www.businessinsider.com/shaun-maguire-silicon-valleys-most-maga-firebrand-sequoia-mamdani-2025-7
3•bhouston•28m ago•1 comments

A Type House Divided (2014)

https://nymag.com/news/features/jonathan-hoefler-tobias-frere-jones-2014-6/
2•Michelangelo11•31m ago•0 comments

Day War, Part II: Iran's Missile Force Performance

https://horsdoeuvresofbattle.blog/2025/07/22/the-12-day-war-part-ii-irans-missile-force-performance/
2•xrayarx•33m ago•0 comments

Ozzy Osbourne Has Died

https://www.nytimes.com/2025/07/22/arts/music/ozzy-osbourne-dead.html
4•scapecast•35m ago•1 comments

Anthropic CEO admits compromising with authoritarian regimes to get AI funding

https://the-decoder.com/anthropics-ceo-admits-compromising-with-authoritarian-regimes-to-secure-ai-funding/
6•alwillis•36m ago•2 comments