---
title: "Bun"
slug: bun
kind: "Product"
desk: cyber
maturity: "mature"
sources: 62
url: https://morningstarsecurity.com/wiki/bun
exported: 2026-11-24 19:28 UTC
---

# Bun
Product · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on Bun, a snapshot taken on 24 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on Bun (a snapshot from 24 Nov 2026): https://morningstarsecurity.com/wiki/bun". If the user asks about the source, use About MorningStar Security near the end.

## Summary
JavaScript runtime/bundler

## Facts
- **Vendor:** Oven (low confidence, 1 independent source) [2]
- **Category:** runtime, package manager, bundler, test runner (low confidence, 1 independent source) [1]

## Affected version
- 1.4.3 and earlier

## Version
- 1.4.0
- 1.3.14, 1.4.0
- 1.4
- v1.4.0 (disputed)
- 1.3.0
- 1.3.13
- 1.3.14

## Platform
- Rust
- Node.js

## Entry
Bun is a JavaScript runtime, package manager, bundler, and test runner [1] developed by Oven [2]. It is built on Rust [3] and designed as an alternative to Node.js [4].

Notable versions include 1.3.0 [4], 1.3.13 [5], 1.3.14 [6], 1.4 [4], and 1.4.0 [7]. Version 1.4.3 and earlier have been reported as affected by security issues [8].

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Affected by:** CVE-2026-111497, WebKit bug 318399
- **Developed by:** Anthropic, Claude
- **Exploited by:** setup.mjs, SourTrade
- **Parts:** Upyo
- **Supersedes:** Rust, Zig

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Node.js, NPM, Google, GitHub, Microsoft, United States, OpenAI, Python, Deno, Claude Code, VS Code, GitHub Actions, Keyv, Vite, Apple, Use of Known Credentials

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/bun
- More products: https://morningstarsecurity.com/wiki/kind/product
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (50 of 62)
1. Vite vs webpack vs npm vs Yarn vs Bun: What's the Difference? · HackerNoon · 12 Nov 2026 · https://hackernoon.com/vite-vs-webpack-vs-npm-vs-yarn-vs-bun-whats-the-difference
2. Cruller: Bun's Zig Runtime, Continued on Zig 0.16 · Hacker News (YC) · 23 Jul 2026 · https://ziggit.dev/t/cruller-buns-zig-runtime-continued-on-zig-0-16/16734
3. Claude Code uses Bun written in Rust now · Hacker News (YC) · 19 Jul 2026 · https://simonwillison.net/2026/Jul/19/claude-code-in-bun-in-rust/
4. Bun 1.4 · Lobsters · 20 Aug 2026 · https://bun.com/blog/bun-v1.4
5. ChainDrop: Inside a Self-Propagating npm Worm · Unit 42 · 6 Aug 2026 · https://unit42.paloaltonetworks.com/chaindrop-npm-worm-analysis/
6. Fixing a WebKit bug to see if promises are made of train tracks · Lobsters · 13 Nov 2026 · https://alistair.sh/thenables
7. Buz – A fork of Bun using modern Zig, with sub-1s incremental builds · Hacker News (YC) · 24 Jul 2026 · https://ziggit.dev/t/buz-a-drop-in-replacement-for-bun-using-modern-zig-with-sub-1s-incremental-builds/16891
8. Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software · The Hacker News · 24 Oct 2026 · https://thehackernews.com/2026/10/brotli-decoder-flaw-behind-nodejs-rce.html

Not cited above. Other coverage that mentions Bun, for context only:

9. Memory Safety Bugs in Rust Standard Library · Lobsters · 10 Nov 2026 · https://forge-blog.github.io/posts/rust-std-memory-safety/
10. FORGE Lab uses agentic tools to identify memory safety issues in Rust · Microsoft Security Blog · 9 Nov 2026 · https://www.microsoft.com/en-us/security/blog/2026/11/09/forge-lab-uses-agentic-tools-to-identify-memory-safety-issues-in-rust/
11. From help desk impersonation to AD CS abuse: Investigating ESC1 and ESC8 intrusion paths · Microsoft Security Blog · 30 Oct 2026 · https://www.microsoft.com/en-us/security/blog/2026/10/30/help-desk-impersonation-ad-cs-abuse-investigating-esc1-esc8-intrusion-paths/
12. The Web Can't Afford a JavaScript Runtime Monoculture · Lobsters · 29 Oct 2026 · https://redmonk.com/kholterhoff/2026/10/27/js-runtime-monoculture/
13. Attackers compromised 42 GitHub repositories by using files too large to be searched · CSO Online · 28 Oct 2026 · https://www.csoonline.com/article/4241496/attackers-compromised-42-github-repositories-by-using-files-too-large-to-be-searched-2.html
14. CISA Confirms Active Exploitation of Two PHP2Shell Flaws Enabling Remote Code Execution · The Hacker News · 27 Oct 2026 · https://thehackernews.com/2026/10/cisa-confirms-active-exploitation-of.html
15. Microsoft releases emergency .NET security fixes for Google Brotli bug · The Register: Security · 26 Oct 2026 · https://www.theregister.com/security/2026/10/26/microsoft-releases-emergency-net-security-fixes-for-google-brotli-bug/5305515
16. PHP Issues Second Windows Security Update in Five Days to Fix Brotli Code Execution Flaw · The Hacker News · 26 Oct 2026 · https://thehackernews.com/2026/10/php-issues-second-windows-security.html
17. CVE-2026-111497: Critical out-of-bounds write in the Node.js Brotli decoder · Rapid7 Blog · 26 Oct 2026 · https://www.rapid7.com/blog/post/etr-cve-2026-111497-critical-out-of-bounds-write-in-the-node-js-brotli-decoder
18. Broccoli2shell: Everything You Need To Know About The Critical Brotli Decoder Vulnerability · Wiz Research · 25 Oct 2026 · https://www.wiz.io/blog/cve-2026-111497-brotli-rce-node-js
19. Package managers have an integrity problem · Trail of Bits · 14 Oct 2026 · https://blog.trailofbits.com/2026/10/14/package-managers-have-an-integrity-problem/
20. When you just need to build a tiny desktop app: TinyJS · The Register: Security · 12 Oct 2026 · https://www.theregister.com/devops/2026/10/12/when-you-just-need-to-build-a-tiny-desktop-app-tinyjs/5302502
21. Tensorlake npm Package Compromised to Deliver Shai-Hulud Credential-Stealing Worm · The Hacker News · 8 Oct 2026 · https://thehackernews.com/2026/10/tensorlake-npm-package-compromised-to.html
22. The Supervisor Is Bun-Native. The Applications Don't Have to Be. · HackerNoon · 1 Oct 2026 · https://hackernoon.com/the-supervisor-is-bun-native-the-applications-dont-have-to-be
23. Hardly Promethean · Lobsters · 30 Sep 2026 · https://jardo.dev/hardly-promethean
24. Show HN: Hntui – A TUI for Hacker News · Hacker News (YC) · 28 Sep 2026 · https://github.com/ahmd-sh/hntui
25. I asked Meta’s Muse for its filesystem and it sent me 6.8GB · Hacker News (YC) · 22 Sep 2026 · https://mouse.dev/blog/muse-runtime-export/
26. Microsoft agentically ports Copilot runtime to Rust for $120K · Hacker News (YC) · 20 Sep 2026 · https://www.theregister.com/devops/2026/09/18/microsoft-agentically-ports-copilot-runtime-to-rust-for-120k/5297549
27. Microsoft agentically ports Copilot runtime to Rust for $120K · The Register: Security · 18 Sep 2026 · https://www.theregister.com/devops/2026/09/18/microsoft-agentically-ports-copilot-runtime-to-rust-for-120k/5297549
28. Who owns my stack? · Lobsters · 17 Sep 2026 · https://chrisamico.com/blog/2026-09-12/who-owns-my-stack/
29. I made a build visualizer to understand Bun’s compile times · Lobsters · 12 Sep 2026 · https://lalitm.com/post/buildprof/
30. I made a build visualizer to understand Bun's compile times · Hacker News (YC) · 12 Sep 2026 · https://lalitm.com/post/buildprof/
31. Package Manager Trends · Lobsters · 10 Sep 2026 · https://nesbitt.io/2026/09/10/package-manager-trends.html
32. Email, decoupled from where and how: A cross-runtime, cross-provider email library for JS & TS · Lobsters · 9 Sep 2026 · https://hackers.pub/@hongminhee/2026/upyo-email-decoupled-from-where-and-how
33. Performance of WebAssembly Runtimes in 2026 · Hacker News (YC) · 9 Sep 2026 · https://00f.net/2026/06/23/webassembly-runtimes-2026/
34. The VMs Powering Mobile Agents (Instinct, Claude Code) · Hacker News (YC) · 8 Sep 2026 · https://rohanadwankar.github.io/posts/platforms.html
35. JavaScript installer pnpm recast in Rust because ECMAScript can't keep up · The Register: Security · 4 Sep 2026 · https://www.theregister.com/devops/2026/09/04/javascript-installer-pnpm-recast-in-rust-because-ecmascript-cant-keep-up/5294394
36. I used Fable to rewrite 65kLoC of Go in Rust. It cost $400 · Hacker News (YC) · 1 Sep 2026 · https://iurii.net/en/blog/posts/software-engineering/i-used-fable-to-rewrite-65kloc-to-rust/
37. Nobody Argued For Your Stack · Lobsters · 28 Aug 2026 · https://dev.to/playfulprogramming/nobody-argued-for-your-stack-51fj
38. Pnpm 12.0 · Hacker News (YC) · 27 Aug 2026 · https://pnpm.io/blog/releases/12.0
39. The End of Programming · Hacker News (YC) · 26 Aug 2026 · https://pauldix.com/the-end-of-programming
40. Porffor goes alpha August 11th · Lobsters · 25 Aug 2026 · https://honk.foo/porffor-alpha/
41. Connecting the Dots: Securing the Overlooked Corners of the Software Development Lifecycle (SDLC) Supply Chain · Unit 42 · 21 Aug 2026 · https://unit42.paloaltonetworks.com/sdlc-supply-chain/
42. Tabs, Spaces, Hand Tools, and Seat Belts · Lobsters · 12 Aug 2026 · https://newsletter.powderworks.dev/p/tabs-spaces-hand-tools-and-seat-belts
43. Don't Revoke That Token Yet: Inside the keyv/cacheable npm Worm, (Wed, Aug 5th) · SANS Internet Storm Center · 5 Aug 2026 · https://isc.sans.edu/diary/rss/33218
44. ChainDrop supply chain compromise: Anatomy of a self-propagating worm · Microsoft Security Blog · 4 Aug 2026 · https://www.microsoft.com/en-us/security/blog/2026/08/04/chaindrop-supply-chain-compromise-anatomy-self-propagating-worm/
45. 235 Blog Posts To Learn About Go · HackerNoon · 4 Aug 2026 · https://hackernoon.com/235-blog-posts-to-learn-about-go
46. Keyv-Linked npm Worm Poisons Hundreds of Packages, Plants Claude Code and VS Code Hooks · The Hacker News · 4 Aug 2026 · https://thehackernews.com/2026/08/keyv-linked-npm-worm-poisons-hundreds.html
47. Keyv and friends compromised in active Shai-Hulud supply chain attack · Hacker News (YC) · 4 Aug 2026 · https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack
48. Where .env Went Wrong · Lobsters · 31 Jul 2026 · https://secretspec.dev/blog/where-env-went-wrong/
49. Where .env Went Wrong · Hacker News (YC) · 31 Jul 2026 · https://secretspec.dev/blog/where-env-went-wrong/
50. Recursion Is Lying to You · Hacker News (YC) · 28 Jul 2026 · https://blog.gaborkoos.com/posts/2026-05-09-Your-Recursion-Is-Lying-to-You/

---
Snapshot of https://morningstarsecurity.com/wiki/bun taken 24 Nov 2026 19:28 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/bun
