Scan your whole stack
Are you using buninu?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.7.4
buninu was last scanned on 24 Nov 2026 at version 0.7.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
BUNinu Is Not Unix 🐮
幫你牛 🐂 ・ Bunに入魂 🔥
![]()
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.jsonsettings 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:
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
Buninu requires Bun. On Android, install Bun in Termux:
npm install -g bun
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.
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.
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.
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.
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.
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 cwdcatfancy — Pretty print a file with JSON, YAML, TOML, Markdown and JS/TS coloredlsfancy — List a directory with emoji, aware of the terminal widthserve — Serve a directory over HTTPcurl — Fetch an HTTP URL or download it to a file, built on Bun's fetchpspa / pspac — List processes, plain or colored as shell syntaxkill — Signal a process, on Windows as well as POSIXEverything 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 ....
jsmdcui — Run interactive Markdown applications in both TUI & WebUIjsmdcui --demo-reader — Text-to-speech ebook readerjsmdcui --demo-imgtool — Image processor with table-based UI based on Bun.Imagejsmdcui --demo-imgtool-zh — The same processor in Traditional Chinesejsmdcui --demo-maze — Maze gamejsmdcui --cdp-maze — The same maze game, started with a local Chrome DevTools
Protocol server and solved by the bundled solver three seconds laterjmi — Edit files in the js micro editorglow — View file contents with syntax highlightingbun pm diff ./dir1 ./dir2 — diff 2 foldersTerminal and file transfer
jsgotty — Run a browser-accessible terminalshowimg — Show an image in the terminalrz — Upload a file over ZMODEMsz — Download a file over ZMODEMThese 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.
xclip — X11-style clipboard tool; -selection clipboard/-clip bridges
to the system clipboardtts — Speak text and wait for it to finish (-a to not wait)xdg-open — Open a file or URL with the platform's default handlernative-bridge — Call the Android host app (toast, clipboard, speak,
WebViews) over PKG_BRIDGE_SOCKbun — Run the bundled Bun, falling back to one already on PATHbunx — Globally install a package with bun, then exec its matching binarymusl-la — Launch AArch64 ELF programs with the bundled musl loaderbuninu-help — Render README.md with glow, then show icon.png with showimgrz [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.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.