Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

buninu

Latest version: v0.7.4

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: drxiaozhi
6 Stars
2 Forks
40 Versions
1.6K Downloads
JavaScript Repo language

Scan summary

buninu was last scanned on 24 Nov 2026 at version 0.7.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 40 versions; the latest 2 were published within 3 days (22–24 Nov 2026).
  • Findings: No rules fired in version 0.7.4.
  • Downloads: 1,626 downloads.

Versions

40 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.4 LATEST 24 Nov 2026 No rules fired
0.7.3 22 Nov 2026 No rules fired
0.7.1 7 Nov 2026 No rules fired
0.7.0 25 Oct 2026 Not shown
0.6.0 25 Oct 2026 Not shown

No rules fired in 0.7.4

Findings

Findings for v0.7.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.7.4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Buninu

BUNinu Is Not Unix 🐮

幫你牛 🐂 ・ Bunに入魂 🔥

icon

Buninu is a portable, self-bootstrapping Unix-like userspace built on Bun. One command gives you a working shell — in a browser tab, or straight in the terminal you are already in — on Android, Linux, Windows, and macOS, with nothing to compile and nothing installed system-wide.

npx buninu

Status: Buninu is still under active development. The browser terminal, the install-and-update flow, and the bundled commands are the settled parts — Android and Linux first, with Windows working the same way and macOS support newer. Still moving: package.json settings and command-line flags can change between releases, and the local shell (--local, bunmsh) has no job control yet, so use the browser terminal when you need to background a job.

  • Homepage: https://buninu.org

  • Source: github.com/jjtseng93/buninu

  • Core components:

    • jsgotty: Remote shell from a Browser or Terminal
    • jsmdcui: Both a text editor and Markdown execution runtime (not static rendering), based on bunmicro
    • bunmsh: Bun Modern Shell — a dependency-free, mksh-inspired command shell with a JavaScript mode, and builtins that answer the same way on Windows as on POSIX systems
  • Why Buninu exists

  • Table of contents

  • ARCHITECTURE.md: the complete architecture, portability model, and self-bootstrapping design

  • Commands inside the shell: the reference for a session you are already in

Install Bun

Buninu requires Bun. On Android, install Bun in Termux:

npm install -g bun

Start

Start a remote shell in a Browser

To try it, run the npm package. This runs Buninu from the npx cache, which is a fine place to look around in and a bad place to keep anything:

npx buninu

To keep it, install it somewhere of your own first, and start it from there from then on. That directory becomes BUNINU_HOME: the installation's own root, yours to edit and to carry to another machine. See Install and update:

# Creates ~/somewhere/buninu, which is now BUNINU_HOME
npx buninu --install ~/somewhere

# Start it from there from now on
bun ~/somewhere/buninu/bin/init.js

Or run it from a source checkout:

bun ./bin/init.js

The launcher automatically chooses a free TCP port and detects an available shell for the current platform. Other arguments are forwarded to jsgotty:

# Serve on port 9000 instead of picking a free one
npx buninu --port 9000

# Ask for a username and password before handing over the terminal
npx buninu --credential user:pass

# Accept connections from other machines, not just this one. By default the
# terminal is reachable only from the computer it runs on; this opens it to
# anything that can reach this machine over the network, and the terminal is
# a working shell, so give it a password at the same time.
npx buninu -a 0.0.0.0 --credential user:pass

Read Security before using that last one.

Buninu's own options are listed under Command-line usage.

Start a local shell in a Terminal (experimental)

Drops you straight into bunmsh (Bun Modern Shell), a dependency-free, mksh-inspired command shell that runs on Bun, without going through the browser/jsgotty flow.

It is marked experimental for one reason above the rest: bunmsh has no job control yet. There is no jobs, bg or fg, and no suspending a command that is already running — a foreground command holds the terminal until it finishes on its own. Everything else a session needs is there: pipelines and redirection, functions and compound commands, history, completion with ghost suggestions, and a JavaScript mode. Reach for the browser terminal when you need to park a job and come back to it.

To try it:

npx buninu --local

To keep it, install it the same way as above and pass --local to the installed copy from then on. See Install and update:

# Creates ~/somewhere/buninu, which is now BUNINU_HOME
npx buninu --install ~/somewhere

# Start bunmsh from there from now on
bun ~/somewhere/buninu/bin/init.js --local

Command history is kept in your own home directory either way, so it survives npx. What does not is anything you add to the installation itself — commands of your own under apps/, edits to its .bashrc — since that lives in the package, and under npx the package is a cache directory. See Data & Persistence.

Or run it from a source checkout:

bun ./bin/init.js --local

Buninu's own tools (glow, jmi, xclip, tts, xdg-open, etc.) stay available inside this shell too, same as in the browser session.

Unlike the shells the browser terminal starts, bunmsh does not read .bashrc. It does not claim complete POSIX behavior yet, so a startup file written for a full shell can fail part way through — and a startup file that fails is a shell you cannot get into. Nothing is read automatically until that is no longer a risk. Source it yourself when you want it:

. ./.bashrc

The shell starts in BUNINU_HOME, so that path works as written at first; after moving elsewhere, use . "$BUNINU_HOME/.bashrc".

There is no setting that does this for you yet, and buninu.command is not it: --local does not run it at all, and the browser terminal, which does, runs it in a subshell before starting a fresh shell — so aliases and functions a startup command defines are gone by the time you reach a prompt either way. Until bunmsh reads a startup file of its own, sourcing it by hand is the way.

Security

Buninu (when starting a remote shell) binds its terminal server to 127.0.0.1, so out of the box it only accepts connections from the machine it runs on. It is not reachable from other devices on the network unless you explicitly opt in.

Within that machine, the terminal is writable (-w) and unauthenticated by default: only the loopback binding and jsgotty's random URL path (-r) stand between a local process and a shell with Buninu's permissions.

To listen on another interface, pass --address <value> (see Start). Arguments you give on the command line override the defaults the package ships in its scripts.start entry, the loopback binding included, so pass --credential user:pass at the same time — a random port and URL path are not a substitute for authentication once the server is reachable from outside the machine.

Command-line usage

These are flags to bin/init.js itself, resolved before Buninu starts. Everything else on the command line is forwarded to jsgotty.

Init options:
  --local
    Start Buninu in this terminal
      instead of a Remote Shell
      reached from a browser
      (via jsgotty, the default)

  -h, --help
    Show this help and exit
  -V, --version
    Show version & runtime info, then exit

  --readme
    Render README.md in the terminal and exit
  --changelog
    Render CHANGELOG.md in the terminal and exit

  --readme-tui
    Open README.md as a Terminal UI
  --readme-wui
    Serve README.md as a Web UI

  --export [output.tgz]
    Export this Buninu installation
    (default: ./buninu.tgz)

  --export-config [output.json]
    Export Buninu's package.json
    (default: ./buninu.json)

Install options:
  -i, --install [dir]
    Install this package into <dir>/buninu
    (default: .)

  -si, --strip-install [dir]
    Install into <dir> directly
    Without a top-level directory of its own

  (--install --help for full options)

Remote Shell options:
  --shell <path|name>
    Override buninu.shell for this run
  --command <command>
    Override buninu.command for this run

--local is the one flag here that changes what Buninu starts rather than what it reports; Start a local shell in a Terminal covers what that session can and cannot do, and Start covers the browser route it replaces.

--readme-tui and --readme-wui hand README.md to jsmdcui, so its headings and its table of contents become links you can follow rather than text you scroll past — the first in this terminal, the second at a URL it prints for a browser. Opening a Markdown file that way makes jsmdcui write five generated files beside it, so Buninu copies README.md into a directory under TMPDIR first and runs it there: an installation stays yours, and nothing generated ends up in an --export or outliving an update.

--export and --export-config are described under Export, which also covers what an archive made through npx contains and what one made from your own installation does instead.

--install --help lists the install options in full, including --force and --yes; see Install and update for what an update does with files you changed.

--shell and --command override for one run what Shell selection and Startup command set in package.json.

Launching a bundled app directly

As the first argument, --jsgotty, --jsmdcui, --bunmsh, or --musl-la bypasses the shell and startup-command flow entirely: it spawns that app with every remaining argument forwarded to it, and exits with its exit code.

  --jsgotty [args...]
    Spawn jsgotty directly,
      forwarding remaining arguments,
      and exit with its exit code
  (--jsgotty --help = jsgotty options)

  --jsmdcui [args...]
    Spawn jsmdcui directly,
      same forwarding behavior

  --bunmsh [args...]
    Spawn bunmsh directly,
      same forwarding behavior

  --musl-la [args...]
    Spawn musl-la directly,
      same forwarding behavior

Use it to reach an app's own options, which Buninu would otherwise interpret as its own — npx buninu --jsgotty --help shows jsgotty's flag reference rather than this one.

Commands inside the shell

Once you are inside a running Buninu shell, these are available (the validated source list is apps/cmdlist; see Add a command for how it works):


  • Bun Modern Shell & its builtins

    • bunmsh — Bun Modern Shell supports multi-tabs cwd
    • catfancy — Pretty print a file with JSON, YAML, TOML, Markdown and JS/TS colored
    • lsfancy — List a directory with emoji, aware of the terminal width
    • serve — Serve a directory over HTTP
    • curl — Fetch an HTTP URL or download it to a file, built on Bun's fetch
    • pspa / pspac — List processes, plain or colored as shell syntax
    • kill — Signal a process, on Windows as well as POSIX

    Everything below bunmsh is one of its builtins, so they are there once you are inside a bunmsh session, and every one of them documents itself with --help. From any other shell, reach them with bunmsh -cc builtin <name> argv1 argv2 ....


  • Markdown applications
    • jsmdcui — Run interactive Markdown applications in both TUI & WebUI
    • jsmdcui --demo-reader — Text-to-speech ebook reader
    • jsmdcui --demo-imgtool — Image processor with table-based UI based on Bun.Image
    • jsmdcui --demo-imgtool-zh — The same processor in Traditional Chinese
    • jsmdcui --demo-maze — Maze game
    • jsmdcui --cdp-maze — The same maze game, started with a local Chrome DevTools Protocol server and solved by the bundled solver three seconds later

  • Editing and viewing
    • jmi — Edit files in the js micro editor
    • glow — View file contents with syntax highlighting
    • bun pm diff ./dir1 ./dir2 — diff 2 folders
      • Can also diff against npm registry packages

  • Terminal and file transfer

    • jsgotty — Run a browser-accessible terminal
    • showimg — Show an image in the terminal
    • rz — Upload a file over ZMODEM
    • sz — Download a file over ZMODEM

    These three work in the browser route, a minapk WebView included, but not necessarily under --local: they speak the Kitty graphics protocol and ZMODEM, which a plain terminal emulator need not support. They are equivalent to jsgotty --viu, --rz and --sz.


  • System integration
    • xclip — X11-style clipboard tool; -selection clipboard/-clip bridges to the system clipboard
    • tts — Speak text and wait for it to finish (-a to not wait)
    • xdg-open — Open a file or URL with the platform's default handler
    • native-bridge — Call the Android host app (toast, clipboard, speak, WebViews) over PKG_BRIDGE_SOCK

  • Running programs
    • bun — Run the bundled Bun, falling back to one already on PATH
    • bunx — Globally install a package with bun, then exec its matching binary
    • musl-la — Launch AArch64 ELF programs with the bundled musl loader

  • Help
    • buninu-help — Render README.md with glow, then show icon.png with showimg
Details for the above commands

rz [target-dir] (upload into target-dir, default: cwd) and sz <file> [more files...] (download one or more files) are thin bin/-only wrappers around apps/jsgotty/rz.js/sz.js, transferring files over ZMODEM through the same terminal connection jsgotty already renders in a browser or WebView.


xclip [-o] [-selection primary|clipboard] [-clip] is a small X11-xclip- compatible clipboard tool. -selection primary (the default) never touches the system clipboard, matching real X11 semantics. -selection clipboard/-clip reaches the real system clipboard on Android, macOS, Windows, and Linux/Wayland. jsmdcui picks this up automatically once it's on PATH, so its middle-click paste and copy/paste commands just work.


tts <text> [-f|--flush] [-a|--async] [--timeout <ms>] [--pitch <n>] [--speed <n>] speaks text and, by default, blocks until it finishes — no timeout unless you pass --timeout. Works on Android, macOS, Windows, and Linux (via espeak-ng/espeak). --pitch/--speed fall back to $TTS_PITCH/$TTS_SPEED when not given explicitly, so jsmdcui's own pitch/speed setting is honored automatically.


glow and jmi are the same program under two names: both run the bundled jsmdcui, glow with its --cat mode, which renders a file to stdout and exits, and jmi with no mode of its own, which opens the editor because this jsmdcui is configured editor-first through MDCUI_DEFAULT_EDIT. Neither is the Go program called glow — glow --help and jmi --help both print jsmdcui's own reference, and jsmdcui's options are the ones that apply.


bun is the installation's own Bun rather than whatever the machine has. On Android it runs androidNativeLibs/libbun.so when an APK supplies one; otherwise it picks the binary for the machine — bun-la, bun-lx, or bun-wx.exe — and extracts it from apps/bun/bunBin.tgz first whenever that archive is newer than the binary already sitting there. Only when none of those is available does it fall back to a Bun on PATH, skipping its own directory on the way so the bun symlink beside it cannot call itself. This is what lets an installation carry the runtime it needs with it.


OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm buninu

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229