Remote code execution in Homebrew by compromising the official Cask repository

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • HomeBrew

    🍺 The missing package manager for macOS (or Linux)

  • It does warn about it before sending anything though https://github.com/Homebrew/brew/blob/3e0f14083aa983c136a375...

  • CocoaPods

    The Cocoa Dependency Manager.

  • Not brew, but a very similar set of issues were faced by the GitHub team with the CocoaPods project, which at the time worked similar to Homebrew in that they used github as a CDN/host in a somewhat uncommon way:

    https://blog.cocoapods.org/Master-Spec-Repo-Rate-Limiting-Po...

    https://github.com/CocoaPods/CocoaPods/issues/4989#issuecomm...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • diff.rs

    An LCS based slice and string diffing implementation.

  • I would have used a library that parsed the diff properly - or better yet one that applied the diff algorithm natively without going through a patch file format. E.g. something like this in Rust: https://github.com/utkarshkukreti/diff.rs (there are similar libraries for other languages).

  • nixpkgs

    Nix Packages collection & NixOS

  • - if you have an M1 mac, it does not work (https://github.com/NixOS/nixpkgs/issues/95903)

  • stripe-js

    Loading wrapper for Stripe.js

  • https://github.com/stripe/stripe-js strikes perhaps the most realistic balance possible, recognizing that NPM is an insecure place for their core JS logic that creates a PCI compliant iFrame, and so their NPM package is just a loader for a script tag hosted securely. And yet they encourage people to use NPM for the wrapper itself. Which is just as vulnerable to supply chain attacks as anything else on NPM. If this isn't tacit acknowledgement of a "new standard" I don't know what is. I absolutely agree that it's problematic.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts