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

anhappy

Latest version: v1.2.4-beta.35

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: anlife
35 Versions
1.0K Downloads

Scan summary

anhappy was last scanned on 29 Nov 2026 at version 1.2.4-beta.35. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 35 versions; the latest 2 were published on 29 Nov 2026.
  • Findings: No rules fired in version 1.2.4-beta.35.
  • Downloads: 1,033 downloads.

Versions

35 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.4-beta.35 LATEST 29 Nov 2026 No rules fired
1.2.4-beta.34 29 Nov 2026 No rules fired
1.2.4-beta.33 7 Nov 2026 No rules fired
1.2.4-beta.32 7 Nov 2026 Not shown
1.2.4-beta.31 7 Nov 2026 Not shown

No rules fired in 1.2.4-beta.35

Findings

Findings for v1.2.4-beta.35. 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 1.2.4-beta.35; other versions have their own rules, not their own score.

README

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

AnHappy

AnHappy is the self-hosted fork of Happy. See release setup; the first beta has not been published yet. Use Node.js 24 LTS. Stop the old happy daemon stop before switching; retain ~/.happy and HAPPY_HOME_DIR.

Code on the go — control AI coding agents from your phone, browser, or terminal.

Free. Open source. Code anywhere.

Installation

npm install -g anhappy@beta

Usage

Claude Code (default)
anhappy
# or
anhappy claude

This will:

  1. Start a Claude Code session
  2. Display a QR code to connect from your mobile device or browser
  3. Allow real-time session control — all communication is end-to-end encrypted
  4. Start new sessions directly from your phone or web while your computer is online
More agents
anhappy codex
anhappy agy        # Antigravity CLI (Gemini's successor)
anhappy gemini     # deprecated — use `anhappy agy`
anhappy openclaw

# or any ACP-compatible CLI
anhappy acp opencode
anhappy acp -- custom-agent --flag

Note on agy permissions: the agy backend runs agy --print, which is one-shot and has no interactive approval surface — tool calls proceed automatically without ever prompting you. The permission mode you pick in Happy only chooses which flag is passed to agy: the default modes use --sandbox, and the bypass/yolo-style modes (including acceptEdits) use --dangerously-skip-permissions. Neither adds a per-tool approval gate inside Happy, so selecting "default" for an agy session does not give you an approval prompt the way it does for Claude Code.

Daemon

The daemon is a background service that stays running on your machine. It lets you spawn and manage coding sessions remotely — from your phone or the web app — without needing an open terminal.

anhappy daemon start
anhappy daemon stop
anhappy daemon status
anhappy daemon list

The daemon starts automatically when you run anhappy, so you usually don't need to manage it manually.

Keeping the daemon running across reboots

If you want the daemon to come back automatically after a reboot — without opening a anhappy session first — start it from your shell profile so it inherits your normal user session context (PATH, keychain access, OAuth credentials):

# ~/.zshrc or ~/.bashrc
if [[ -o interactive ]] && [[ -z "$HAPPY_DAEMON_CHECKED" ]]; then
    export HAPPY_DAEMON_CHECKED=1
    () {
        local state=$HOME/.happy/daemon.state.json
        local pid=$(grep -oE '"pid"[[:space:]]*:[[:space:]]*[0-9]+' "$state" 2>/dev/null | grep -oE '[0-9]+')
        if [[ -z "$pid" ]] || ! kill -0 "$pid" 2>/dev/null; then
            anhappy daemon start >/dev/null 2>&1
        fi
    } &!
fi

The first interactive shell after a reboot triggers the start; subsequent shells short-circuit because the daemon is already running.

macOS users: prefer this shell-init approach over a launchd LaunchAgent. A LaunchAgent runs in an agent domain that is detached from your GUI/Aqua login session, which means the bundled claude-agent-sdk cannot reach the macOS keychain and silently fails authentication ("Failed to authenticate. API Error: 401 terminated", duration_api_ms: 0). If you must use launchd, your wrapper has to read the OAuth access token from ~/.claude/.credentials.json and export it as CLAUDE_CODE_OAUTH_TOKEN before exec'ing the daemon — and you'll need to handle token rotation yourself.

Authentication

anhappy auth login
anhappy auth logout

Happy uses cryptographic key pairs for authentication — your private key stays on your machine. All session data is end-to-end encrypted before leaving your device.

To connect third-party agent APIs:

anhappy connect gemini
anhappy connect claude
anhappy connect codex
anhappy connect status

Commands

Command Description
anhappy Start Claude Code session (default)
anhappy codex Start Codex mode
anhappy agy Start agy (Antigravity CLI) session
anhappy gemini Start Gemini CLI session (deprecated — use anhappy agy)
anhappy openclaw Start OpenClaw session
anhappy acp Start any ACP-compatible agent
anhappy resume <id> Resume a previous session
anhappy notify Send push notification to your devices
anhappy doctor Diagnostics & troubleshooting

Advanced

Environment Variables
Variable Description
HAPPY_SERVER_URL Custom server URL (default: https://api.cluster-fluster.com)
HAPPY_WEBAPP_URL Custom web app URL (default: https://app.happy.engineering)
HAPPY_HOME_DIR Custom home directory for Happy data (default: ~/.happy)
HAPPY_DISABLE_CAFFEINATE Disable macOS sleep prevention
HAPPY_EXPERIMENTAL Enable experimental features
Sandbox (experimental)

Happy can run agents inside an OS-level sandbox to restrict file system and network access.

anhappy sandbox configure
anhappy sandbox status
anhappy sandbox disable
Building from source
git clone https://github.com/AnLifeX/happy
cd happy
pnpm install
pnpm --filter anhappy build
node packages/happy-cli/bin/happy.mjs --help

Requirements

  • Node.js >= 20.0.0
  • For Claude: claude CLI installed & logged in
  • For Codex: codex CLI installed & logged in
  • For agy: install the Antigravity CLI (agy) and log in
  • For Gemini (deprecated — use agy): npm install -g @google/gemini-cli + anhappy connect gemini

License

MIT

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 anhappy

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229