@maxiaochao/pi-toolkit@0.10.14
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 package's automatic postinstall hook replaces a user-wide AI-agent instruction file without an explicit consent step. This meets the policy for blocking unconsented install-time mutation of a broad agent control surface.
Decision evidence
public snapshot- package.json runs scripts/install-agents.mjs automatically after installation.
- The hook targets the user-wide ~/.pi/agent/AGENTS.md and replaces it with the package's bundled file when contents differ.
- The hook also installs the pi-worktree command and shell completion into user-wide ~/.local paths.
- The bundled AGENTS.md supplies behavioral instructions for an AI coding agent.
- The bundled instructions are described as general coding guidance, but the hook still replaces the global file without an explicit consent step.
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.14.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.10.14. 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.