@maxiaochao/pi-toolkit@0.11.5
Personal pi coding agent toolkit: scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.
AI Security Review
scanned 10d ago · by lpm-firewall-aiThe postinstall hook performs an unconsented write to a global agent instruction file and replaces differing user content. This is a concrete agent control-surface hijack, so publication should be blocked.
Decision evidence
public snapshot- package.json runs scripts/install-agents.mjs during postinstall.
- The script targets the user's global Pi agent directory and loads the package's bundled AGENTS.md.
- If the target file differs, the script replaces it without a consent check.
- The replacement is a global agent instruction file, so the install hook can replace user-defined agent instructions.
Source & flagged code
12 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.11.5.
See all versions of @maxiaochao/pi-toolkit for other recorded verdicts.
- Avoid installing @maxiaochao/pi-toolkit@0.11.5. 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.