@maxiaochao/pi-toolkit@0.7.0
Personal pi coding agent toolkit: /todos, /btw, /cache_export extensions, browser automation, and bundled theme/skills.
AI Security Review
scanned 12d ago · by lpm-firewall-aiThe postinstall lifecycle automatically replaces a user's global Pi agent instructions when they differ from the bundled copy, without a consent guard. This is an unconsented install-time mutation of an AI-agent control surface, so the package should be blocked.
Decision evidence
public snapshot- The postinstall hook automatically runs the agent setup script during package installation.
- The script targets the user's global Pi agent directory and replaces its AGENTS.md whenever its contents differ from the bundled file, without a consent check.
- The script also initializes missing settings and installs a CLI and shell completion in the user's home directory.
- The browser test uses child processes and network primitives as part of a real-browser end-to-end test.
- The browser automation scripts use configurable local debugging endpoints and browser process management; these findings do not establish package-install-time credential theft.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
extensions/cache-export/tests/e2e-browser.mjsView on unpkg · L12Findings
Affected versions and remediation
This report applies to @maxiaochao/pi-toolkit@0.7.0.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.7.0. 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.