AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malicious attack surface; the package is an explicit CLI/daemon for running Claude Code sessions in tmux with relay-controlled operations. It does expose powerful remote session operations when the user starts/authenticates the daemon.
Decision evidence
public snapshot- src/domain/fileOps.ts exposes relay/HTTP session bash and writeFile handlers within session cwd.
- src/relay/relay.ts connects to https://api.cluster-fluster.com using ~/.happy access.key bearer credentials.
- src/cli.ts has explicit joy install/update commands that write systemd/launchd user services and run pnpm add -g.
- src/claude/hooks.ts writes a package-owned Claude settings file and hook script under joy state dir.
- package.json has no preinstall/install/postinstall lifecycle hooks.
- bin/joy.mjs only registers tsx and imports src/cli.ts; no hidden install-time behavior.
- Service setup is only activated by explicit joy install, not npm installation or import.
- Network traffic is package-aligned relay/push functionality and uses local daemon auth for localhost API.
- File/shell RPCs are scoped to user-created sessions and path validation limits file ops to session cwd or per-session media dir.
- No credential harvesting beyond reading the documented Happy/Joy credentials needed for relay auth.
Source & flagged code
7 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/cli.tsView on unpkg · L10Package source invokes a package manager install command at runtime.
src/cli.tsView on unpkg · L10Source writes installer persistence such as shell profile or service configuration.
src/cli.tsView on unpkg · L10Package source references dynamic require/import behavior.
bin/joy.mjsView on unpkg · L15This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/relay/relay.tsView on unpkg