AI Security Review
scanned 7h ago · by lpm-firewall-aiReview flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.
Decision evidence
public snapshot- src/domain/fileOps.ts exposes authenticated bash exec and writeFile handlers within a session cwd.
- src/relay/relay.ts registers relay RPC handlers over socket.io to the Joy/Happy server and receives encrypted RPC requests.
- src/domain/registry.ts launches claude in tmux with --dangerously-skip-permissions by default for created sessions.
- src/cli.ts explicit install command writes user systemd/launchd autostart service; update runs pnpm add -g @fny/joy-tmux@latest.
- package.json has no preinstall/install/postinstall lifecycle scripts.
- bin/joy.mjs only registers tsx and imports src/cli.ts as the explicit joy CLI entrypoint.
- src/cli.ts service install/update paths are user-invoked commands, not npm install-time persistence.
- src/transports/http.ts binds localhost and requires X-Joy-Token for POST/DELETE with host checks.
- src/domain/fileOps.ts validates file paths to session cwd or a per-session media root before file reads/writes.
- src/relay/relay.ts uses ~/.happy credentials and package-aligned endpoints rather than hardcoded credential exfiltration.
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/claude/session.tsView on unpkg