@p4code/cli@0.4.9
P4 Code coding agent server and command-line client
AI Security Review
scanned 2mo ago · by lpm-firewall-aiNo install lifecycle hook or stealth payload was found, so a publish block is not warranted. Default external telemetry derived from AI-tool account metadata remains a real privacy risk.
Decision evidence
public snapshot- The running server reads the Codex authentication file and extracts its account identifier.
- It hashes a Codex or Claude account identifier and uses it as a persistent telemetry identifier.
- Telemetry is enabled by default and posts event batches, including the identifier and host metadata, to PostHog.
- An explicit service-install path can install another version of this package into a local runtime directory.
- package.json has no preinstall, install, or postinstall lifecycle hook.
- The self-install and background-service actions are reached through explicit p4c service commands, not package installation.
Source & flagged code
23 flagged · loading sourcePackage source references child process execution.
dist/client/assets/blade-llJRbbtR.jsView on unpkg · L1Source archives sensitive local configuration and publishes encoded chunks through an authenticated package-registry request.
dist/bin.mjsView on unpkg · L13Source appears to send environment or credential material to an external endpoint.
dist/bin.mjsView on unpkg · L13A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/bin.mjsView on unpkg · L13This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/bin.mjsView on unpkgManifest-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 · L13Source exposes local file and command tools to a remote model endpoint.
dist/bin.mjsView on unpkg · L21A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/bin.mjsView on unpkg · L13A 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 unpkgPackage source references dynamic require/import behavior.
dist/client/assets/sass-DXrisJhu.jsView on unpkg · L1Source 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 unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/mdx-host-ykYobBl4.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/client/assets/previewAssetResource-DoQeyCSk.jsView on unpkgFindings
Affected versions and remediation
This report applies to @p4code/cli@0.4.9.
See all versions of @p4code/cli for other recorded verdicts.
- Review the evidence and your use of @p4code/cli@0.4.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.