@maxiaochao/pi-toolkit@0.9.3
Personal pi coding agent toolkit: /todos, /btw, /cache_export and apply_patch extensions, browser automation, and bundled theme/skills.
AI Security Review
scanned 12d ago · by lpm-firewall-aiThe postinstall hook writes bundled instructions into the user’s global AI-agent configuration without a consent guard. The instructions appear ordinary, but their content does not change the lifecycle hook’s broad control-surface mutation.
Decision evidence
public snapshot- package.json runs the agent setup script from a postinstall hook.
- The hook targets the global ~/.pi/agent/AGENTS.md file and loads the package’s bundled instructions.
- During installation, the hook writes those instructions whenever the existing file differs, without a consent check.
- The bundled file contains behavioral instructions for an AI coding agent.
- The bundled instructions describe coding practices and defer to project-specific instructions when they conflict.
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.9.3.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.9.3. 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.