All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Critical Vulnerability Discovery in Nix Package Manager Ecosystem

By

SuperShibe

7mo ago· 5 min readenInsight

Summary

The article details how the author and a colleague discovered a critical vulnerability in the Nix package manager ecosystem that could have allowed attackers to compromise the entire Nix infrastructure and inject malicious code into nixpkgs. The vulnerability was found in GitHub Actions workflows used by Nix, where they identified security flaws that could be exploited to gain unauthorized access and control over the package repository. The discovery was made quickly (within a day) and responsibly disclosed, leading to prompt fixes. The article serves as a technical write-up explaining their methodology and findings.

Key quotes

· 4 pulled
we found a vulnerability in nixpkgs that would have allowed us to pwn pretty much the entire nix ecosystem and inject malicious code into nixpkgs
it only took us about a day from starting our search to reporting it and getting it fixed
github actions: the easy target
github actions is a ci/cd system by github
Snippet from the RSS feed
ptrpaws's blog on reverse engineering, programming, vr finds and miscellaneous stuff.

You might also wanna read