@xzy-ai/pi-c2
PI extension: delegate work to isolated in-process subagents through model-callable tools
This report shows the evidence for @xzy-ai/pi-c2@0.0.4. 1 of 2 known versions is blocked or flagged. The newest version, 0.84.2-1.821.2026, is flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe source confirms an automatic postinstall overwrite of a foreign Pi coding-agent host, expanding its extension API. This is a concrete unconsented AI-agent control-surface mutation.
Decision evidence
public snapshot- npm postinstall executes scripts/postinstall.mjs.
- Postinstall locates the globally installed @earendil-works/pi-coding-agent host.
- It applies a bundled patch and writes changed files into that foreign host package.
- Patch exposes command-context creation to extensions, expanding the host agent control surface.
- No install-time network request or credential collection was found.
- The script creates a backup and attempts rollback on failure.
- The bundled patch is static and scoped to the named Pi host.
Source & flagged code
7 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 unpkgFindings
Affected versions and remediation
This report applies to @xzy-ai/pi-c2@0.0.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing @xzy-ai/pi-c2@0.0.4. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.