@phnx-labs/agents-cli@1.22.51
One CLI for all your AI coding agents - versions, config, cloud dispatch, sessions, and teams (now with first-class Grok Build CLI support)
AI Security Review
scanned 1mo ago · by lpm-firewall-aiReadable source shows a real multi-agent CLI whose postinstall starts a first-party persistent daemon and writes its own shims, while user commands can adopt foreign agent homes. Scanner malware-similarity labels look noisy against that product structure, but dist/lib/session/discover.js is unreadable binary and the dual-use install-time daemon is enough for a warn rather than a clean or block.
Decision evidence
public snapshot- npm postinstall always runs scripts/postinstall.js after install.
- On macOS and Linux that hook starts or restarts a persistent agents daemon, including launchd or systemd registration.
- The same hook writes shims under ~/.agents and can add PATH entries or local bin links.
- The user command agents setup can move existing agent homes such as ~/.claude and replace them with symlinks.
- dist/lib/session/discover.js is binary or non-UTF8, so that module could not be inspected as source.
- User-facing features include unsandboxed shell monitors and a computer-control helper with LaunchAgents.
- package.json has no runtime self-dependency on @phnx-labs/agents-cli.
- Readable postinstall does not write foreign agent configs such as ~/.claude; that happens only in agents setup.
- Shell rc edits are TTY-prompted or gated on AGENTS_INIT_SHELL=1.
- Inspected command modules match a multi-agent CLI product rather than a dropper.
- No eval or Function constructors, and no reviewer-directed social engineering, were found in inspected files.
- prepare is a TypeScript build, not a hidden payload.
Source & flagged code
26 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
Findings
Affected versions and remediation
This report applies to @phnx-labs/agents-cli@1.22.51.
See all versions of @phnx-labs/agents-cli for other recorded verdicts.
- Review the evidence and your use of @phnx-labs/agents-cli@1.22.51 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.