@maxiaochao/pi-toolkit@0.10.20
Personal pi coding agent toolkit: scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.
AI Security Review
scanned 13d ago · by lpm-firewall-aiThe package automatically writes to its own Pi agent configuration and installs its own command during postinstall, creating a guarded package-owned agent setup risk. The inspected source does not establish a concrete attack or justify blocking publication.
Decision evidence
public snapshot- package.json runs scripts/install-agents.mjs automatically during postinstall.
- The hook targets ~/.pi/agent/AGENTS.md and settings.json; it writes the bundled agent guidance when the file is missing or differs, and sets a default theme when none is configured.
- The hook also installs this package’s pi-worktree command and shell completion into the user’s local bin and completion directories.
- The named test, benchmark, browser, and subagent files contain test setup, caller-supplied command handling, local browser configuration, or subagent navigation behavior; the inspected excerpts show no concrete attack behavior.
- The hook’s agent configuration write is scoped to this package’s own ~/.pi/agent location; inspected source does not show credential collection, exfiltration, or a remote payload.
- The worktree test creates a temporary repository and removes it on exit; inspected code does not establish a malicious payload.
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.20.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Review the evidence and your use of @maxiaochao/pi-toolkit@0.10.20 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.