@p4code/cli@0.8.22
⚠ Under reviewP4 Code coding agent server and command-line client
AI Security Review
scanned 4d ago · by lpm-firewall-aiInspected source did not establish a concrete attack, and the flagged socket and history-worker behavior has package-aligned explanations. A clean disposition requires citations for 205 distinct paths, above the schema limit of 128, so this review remains unresolved.
Decision evidence
public snapshot- The manifest identifies a CLI entrypoint and dependencies; the inspected manifest has no install lifecycle hook.
- The CLI dispatches ACP bridge commands explicitly and otherwise loads its main command implementation.
- The history worker handles session-message retrieval or session forking and writes the result to standard output.
- The history path loads records using a project key and session ID, then applies requested limits and offsets.
- The inspected SOCKS proxy binds to 127.0.0.1 and refuses destinations that resolve to local addresses.
- The matched server code sends an HTTP upgrade response and installs an upgrade handler, consistent with WebSocket server support.
- The runtime target describes settings.mcpServers and settings.plugins entries in the imported .mcp.json shape.
- The inspected agent-configuration excerpts do not resolve all callers or configuration effects.
Source & flagged code
15 flagged · loading sourcePackage contains a possible secret pattern.
dist/runtime-BQydA64s.mjsView on unpkg · L7859Package source references child process execution.
dist/AcpMcpStdioBridge-BuIIHL4p.mjsView on unpkg · L4Findings
Affected versions and remediation
This report applies to @p4code/cli@0.8.22.
See all versions of @p4code/cli for other recorded verdicts.
- Review the evidence and your use of @p4code/cli@0.8.22 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.