@maxiaochao/pi-toolkit@0.12.2
Personal pi coding agent toolkit: scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe postinstall automatically replaces differing global Pi agent instructions, leaving a real agent-configuration lifecycle risk. The bundled text is ordinary guidance, so the inspected behavior supports a warning rather than a block.
Decision evidence
public snapshot- package.json runs scripts/install-agents.mjs automatically during postinstall.
- The hook targets the global ~/.pi/agent/AGENTS.md file and replaces it when its contents differ from the bundled copy.
- The bundled file supplies instructions for the user's agent, so the automatic replacement changes a global agent control surface.
- The same hook installs the package's pi-worktree command into the user's local bin directory.
- The bundled agent instructions are ordinary coding guidance and defer to project-specific instructions.
- The hook seeds only a default theme setting when it is absent; it preserves an existing nonempty theme.
Source & flagged code
15 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.12.2.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Review the evidence and your use of @maxiaochao/pi-toolkit@0.12.2 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.