← Field notes

Postmortem Insights, Tiny AI Models, and Open Source Developments

NPM Supply-Chain Compromise Postmortem

On May 11, 2026, an attacker exploited the pull_request_target event in GitHub Actions, leading to a supply-chain attack on the TanStack NPM packages. The attacker managed to publish 84 malicious versions across 42 packages by leveraging cache poisoning and extracting OIDC tokens from runner memory. This incident underscores the importance of securing CI/CD pipelines and highlights potential vulnerabilities when handling pull requests in open-source projects. For detailed insights, read the full postmortem.

Needle: A Tiny AI Model for Automation

Cactus Compute has introduced Needle, a distilled Gemini tool-calling model that operates efficiently on devices as small as phones and microcontrollers. With a model size ranging from 8 to 29 MB and utilizing 2-bit precision, Needle is designed for automation tasks such as tool calls, structured extraction, and embeddings. This development could be particularly useful for applications in smart homes and wearable tech, where lightweight and efficient models are essential. Check out the project on GitHub.

Open Source Challenges with Bambu Lab

A recent blog post has raised concerns about Bambu Lab's approach to open source, suggesting that the company may be abusing the open-source social contract. This situation serves as a reminder of the ethical and practical considerations that come with leveraging open-source software, especially for commercial purposes. For more context, read the detailed discussion here.

Bun's Rewrite in Rust

The Bun JavaScript runtime has undergone a significant transformation with its core now rewritten in Rust. This rewrite not only reduces the binary size by 3 to 8 MB but also addresses several memory leaks and flaky tests. Rewriting in Rust can be a strategic decision to enhance performance and safety in system-level applications. Explore the changes on GitHub.