@maxiaochao/pi-toolkit@0.10.13
Personal pi coding agent toolkit: scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.
AI Security Review
scanned 14d ago · by lpm-firewall-aiThe postinstall hook makes an unprompted global agent instruction change, which is a concrete control-surface mutation. The bundled text appears benign and no network activity is established in this install path, but the automatic global overwrite warrants blocking under the install control-surface policy.
Decision evidence
public snapshot- package.json runs scripts/install-agents.mjs automatically after installation.
- The hook replaces the user's global Pi AGENTS.md with the bundled file whenever they differ.
- The bundled file supplies instructions to the global Pi agent, making the postinstall write a change to an agent control surface.
- The same hook installs a pi-worktree executable under the user's home directory.
- The code shows no network behavior in this install path.
- The bundled agent instructions are general coding guidelines, not an apparent payload.
- The worktree installer copies a package-provided CLI and shell completion file.
Source & flagged code
14 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
packages/worktree/tests/extension.test.mjsView on unpkg · L57Findings
Affected versions and remediation
This report applies to @maxiaochao/pi-toolkit@0.10.13.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.10.13. 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.