@maxiaochao/pi-toolkit@0.10.22
Personal pi coding agent toolkit: scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe postinstall hook performs automatic, package-aligned pi agent setup by syncing global instructions, initializing a theme, and installing the toolkit's own command. This warrants a warning for agent extension lifecycle risk, but the inspected source does not establish malicious behavior or a publish-blocking attack.
Decision evidence
public snapshot- The package runs scripts/install-agents.mjs automatically after installation.
- The hook writes bundled instructions to the global pi agent directory when its existing file differs.
- The hook initializes the agent theme and installs this package's pi-worktree command.
- The worktree test uses a temporary repository and removes it on exit.
- The report generator defines explicit checks, the browser test exercises dashboard interactions, and the browser launcher gates profile copying behind a command-line option.
- The benchmark utilities validate a supplied source revision and run a caller-provided command; the subagent file defines request interfaces.
- The inspected sources show package-aligned pi setup and testing behavior; they do not establish credential collection, exfiltration, or a remote payload chain.
- The postinstall settings change fills in a missing theme and preserves an existing nonempty theme value.
Source & flagged code
13 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.22.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Review the evidence and your use of @maxiaochao/pi-toolkit@0.10.22 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.