@p4code/cli@0.7.9
P4 Code coding agent server and command-line client
AI Security Review
scanned 10d ago · by lpm-firewall-aiThe manifest has no install hook, and the cited high-risk paths resolve to frontend assets, PTY adapters, or directly invoked CLI runtime behavior. Runtime analytics is enabled by default and uses a hashed account identifier, but the inspected payloads contain usage metadata rather than credentials or user input.
Decision evidence
public snapshot- The manifest maps the command to a runtime entrypoint and declares no install lifecycle hook.
- The flagged client assets are frontend rendering, diagram, and Markdown bundles; the indicated Claude filename entry is a language mapping.
- The command runs when the entrypoint is invoked directly, and the PTY adapters import the package’s shared adapter.
- Telemetry hashes a Codex or Claude account identifier before using it as an analytics identifier.
- The inspected analytics events send provider and usage metadata, such as whether input exists and the attachment count, to the configured PostHog host.
Source & flagged code
21 flagged · loading sourceSource archives sensitive local configuration and publishes encoded chunks through an authenticated package-registry request.
dist/bin.mjsView on unpkg · L3Source appears to send environment or credential material to an external endpoint.
dist/bin.mjsView on unpkg · L3A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/bin.mjsView on unpkg · L3Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/bin.mjsView on unpkgSource combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/bin.mjsView on unpkg · L3Source exposes local file and command tools to a remote model endpoint.
dist/bin.mjsView on unpkg · L23A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/bin.mjsView on unpkg · L3A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/bin.mjsView on unpkgPackage contains source files above the normal full-analysis size ceiling.
dist/bin.mjsView on unpkgPackage contains an oversized executable-looking CLI entrypoint.
dist/bin.mjsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/mdx-host-ykYobBl4.jsView on unpkgPackage source references dynamic require/import behavior.
dist/client/assets/mdx-host-ykYobBl4.jsView on unpkg · L1Package ships native binary artifacts.
dist/resource-monitor/darwin-arm64/p4-resource-monitorView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/NodePtyAdapter-BQAnH2v0.mjsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/BunPtyAdapter-CLDq7yr1.mjsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/chunk-4I5QYGJK-CYvb6li-.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/chunk-5RXB4S5H-BzE89W2t.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/chunk-JQJVKLGR-oHxUxbQ4.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/chunk-WRU74C26-C2Rb3ATV.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/diagram-Q27KOJAE-Dp_H6G_V.jsView on unpkgFindings
Affected versions and remediation
This report applies to @p4code/cli@0.7.9.
See all versions of @p4code/cli for other recorded verdicts.
- Review the evidence and your use of @p4code/cli@0.7.9 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.