@p4code/cli@0.7.5
P4 Code coding agent server and command-line client
AI Security Review
scanned 10d ago · by lpm-firewall-aiThe inspected credential-related flow sends hashes of service account identifiers as product telemetry, not raw credentials, and the flagged UI assets perform preview or rendering work. The manifest has no install hook, and the reviewed source does not establish a malicious attack surface.
Decision evidence
public snapshot- package.json exposes a CLI binary and declares no install lifecycle hook.
- Telemetry hashes a Codex account ID or Claude user ID before using it as an identifier; the traced send contains event properties and host metadata, not raw authentication values.
- Telemetry defaults to the PostHog host and sends batches there; its events include aggregate startup counts.
- The flagged browser asset location maps filenames such as claude.md and compose files to icon types; it does not write agent configuration.
- The Node and Bun PTY adapters handle terminal process operations and node-pty helper permissions.
- The other flagged assets implement icon, diagram, markdown, and document preview functionality.
- Default-on telemetry reads third-party service account identifiers and sends their hashes with host metadata to a configurable PostHog endpoint.
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.5.
See all versions of @p4code/cli for other recorded verdicts.
- Review the evidence and your use of @p4code/cli@0.7.5 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.